-
Notifications
You must be signed in to change notification settings - Fork 86
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
Why don't you remove _mimic suffix? #96
Comments
Sounds like a fair point. |
Nope it doesn't :D
The reason for adding this is not to intervene with URDF joint description used by Rviz and I don't understand in which case MoveIt gives you this error. Can you explain a bit more? If you have defined your proper joint name, i.e., You got the cause correctly. As I remember, I have added this joint so that the plugin for simulation works correctly. You can try removing this (not only the suffix – then you will get issues with Rviz and |
I also ran into this (and created https://robotics.stackexchange.com/questions/25107/ros2-moveit-cant-find-mimic-joint before finding this issue). The MoveIt error is from https://github.com/ros-planning/moveit2/blob/92ca89dca4fee679bc63a53bde9a992415a4d29e/moveit_core/robot_model/src/robot_model.cpp#L1301, and although I don't know the mechanism or reason, my best guess is that MoveIt is looking up all the controller interfaces by name, and one is not found because of the |
For reference, this issue has similarly been a pain point in the ROS2 Control Plugins for Gazebo Classic: ros-controls/gazebo_ros2_control#173 I appreciate the idea that adding the Edit:
Apologies, I missed the comment about RViz and robot_state_publisher conflicts. I'm trying to remember my initial use-case when I ran into this issue - it has been a long time since I was working on that project, but if memory serves the goal was to use Moveit to plan to move a mimicked joint to a given state in cases where this was more convenient or intuitive than indirectly directly planning for the controlled joint, hence needing the mimic joint to not be ignored by Moveit, and needing the URDF to match the controller manager's hardware list. In any case, I would guess that there would be a way to avoid publishing duplicate joint state information while keeping the joint names consistent with the URDF |
@destogl - now that I have a bit more time to think about this, could you elaborate on what the My understanding is that For Please correct me if I'm wrong or missing something obvious |
MoveIt error was reported with gazebo_ros2_control as well ros-controls/gazebo_ros2_control#173 I also can't see any issues with removing _mimic suffix and rviz, see changes with #276 |
Currentry mimic joint impelemtation causes following error:
Actual the joint name in my URDF is
crane_x7_gripper_finger_b_joint
yet the controller outputs states of thecrane_x7_gripper_finger_b_joint_mimic
joint.Maybe the reason why this happend is here:
gz_ros2_control/ign_ros2_control/src/ign_system.cpp
Line 290 in e2a4751
Could you remove the
_mimic
suffix?The text was updated successfully, but these errors were encountered: