Skip to content

Clarify teleop torque debug comments#5

Open
Arthuryingjin wants to merge 2 commits into
mainfrom
clarify-teleop-debug-comments
Open

Clarify teleop torque debug comments#5
Arthuryingjin wants to merge 2 commits into
mainfrom
clarify-teleop-debug-comments

Conversation

@Arthuryingjin

Copy link
Copy Markdown
Collaborator

This pull request makes minor improvements to the comments in the panthera_python/scripts/5_teleop_control.py script for better clarity, especially regarding the estimation and use of feedback torques in the teleoperation control logic. The code logic itself remains unchanged.

Key comment clarifications:

  • Clarified that the estimation of follower arm feedback torque (tor_diff) is currently only used for debugging output in the default mode.
  • Added comments to specify that the gripper control torque is the actual value sent to Leader.gripper_control_MIT(...), and that the modification of tor_diff with the gripper torque threshold only affects debugging output, not the actual gripper control.

- Leader joint2/3: lower bound 0.0 → -0.1 (allow small negative offsets)
- Follower gripper: lower bound 0.0 → -0.2 (match actual range)

Fixes joint limit violation warnings during IDLE_HOLD state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant