Gazebo | Ignition | Community
Ask Your Question
0

What's the right way to do mimic joints?

asked 2018-02-23 06:44:01 -0600

Airuno2L gravatar image

updated 2018-02-23 06:47:55 -0600

This question has been asked several times on this site (here and here) as well as on the ROS QA site (here and here) but its still not clear to me if mimic joints are supported in Gazebo. Or if they are, how they're suppose to be defined in a URDF.

If I use the mimic tag in the URDF joint and start Rviz, everything works as expected - if I move the parent joint, the child joint moves also. However, when I put the same model in Gazebo, it seems to ignore the mimic tag and only the parent joint moves.

I see that Gazebo has a gearbox type for it's joints, but I'm not sure how I would use that tag in a URDF since URDF joints don't have a gearbox type. If this is probably the right way to do things, could someone explain the basic idea of how to implement that?

Or, is the answer maybe that I should avoid URDF and use SDF for this portion of the robot? If so, can I include an SDF inside a URDF?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2023-04-13 23:33:31 -0600

syo gravatar image

Actually, I have met the same question like you.Did you solve this problem?Can your mimic joints follow the parent joint in gazebo?

edit flag offensive delete link more
0

answered 2019-05-19 21:14:12 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

My closed_loop_plugin is to solve the issue that URDF not support Closed loop chains.

https://github.com/wojiaojiao/pegasus...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-02-23 06:44:01 -0600

Seen: 3,775 times

Last updated: May 19 '19