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 #8

Merged
merged 2 commits into from
Aug 24, 2023
Merged

Conversation

fabid
Copy link

@fabid fabid commented Aug 15, 2023

What does this implement/fix?

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 shows that the mimic joint specification was missing from the ros2_control specification.
The first commit adds the specification and allows the gripper to be controlled properly

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. This is only a workaround (suggested here: ros-controls/gazebo_ros2_control#173.

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

ROBOTIS-GIT/turtlebot3_manipulation#66
ros-controls/gz_ros2_control#96

Does this close any currently open issues?

Fixes rt-net/crane_x7_ros#161

How has this been tested?

By running ros2 launch crane_x7_gazebo crane_x7_with_table.launch.py and planning arm/gripper control from RViz/Moveit

Any other comments?

The automatic test suite via github workflow seems to fail on our fork, however it looks unrelated to the change.

Checklists

[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
@Kuwamai
Copy link
Contributor

Kuwamai commented Aug 17, 2023

Thanks! We will check next week.

Copy link

@ShotaAk ShotaAk left a comment

Choose a reason for hiding this comment

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

Thanks! The gripper works fine without move_group errors.

After the mimic joint problem is solved, we would remove the dummy link and the mimic joint. 👍

mimic_joint-2023-08-24_14.49.51.mp4

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.

3 participants