Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gripper mimic joint control (for review before upstream PR) #1

Open
wants to merge 2 commits into
base: ros2
Choose a base branch
from

Conversation

fabid
Copy link

@fabid fabid commented Aug 15, 2023

Fix for the broken mimic joint where only 1 of the 2 gripper finger would move.

The support for mimic has been fixed for some time with this PR ros-controls/gazebo_ros2_control#107 and it show that the mimic joint specification was missing from the ros2_control specification.
This is the first commit

However, while the gripper works with moveit2 after this first commit, a bunch of error messages are generated at runtime:
[move_group-3] [ERROR] [1692102600.709104192] [moveit_robot_model.robot_model]: Joint 'crane_x7_gripper_finger_b_joint_mimic' not found in model 'crane_x7'

The second commit adds a dummy joint to prevent this, but this is only a workaround (suggested here: ).

There might be some more elegant solution and possible resolution is still discussed

Copy link

@azazdeaz azazdeaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so good!!! 🤩 Thank you, @fabid!!!

@@ -78,6 +78,11 @@
</inertial>
</link>

<joint name="${name_joint_gripper_finger_b}_mimic" type="fixed">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add a comment with a link to the issue where they explain this fix?

[move_group-3] [ERROR] [1692102600.709104192] [moveit_robot_model.robot_model]: Joint 'crane_x7_gripper_finger_b_joint_mimic' not found in model 'crane_x7'

See ros-controls/gazebo_ros2_control#173
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants