gazebo_ros2_control icon indicating copy to clipboard operation
gazebo_ros2_control copied to clipboard

Kinematic chains with passive joints don't work with position interface

Open christophfroehlich opened this issue 1 year ago • 1 comments

As indicated with #172, passive joints not being part of a kinematic chain (a pendulum for example) do not work properly if anything except effort interface is used.

If the position or velocity command interface is used instead, the motion of the pendulum is not calculated correctly and does not move at all, see the following example. This also holds true if a mimicked joint with position or velocity interface is used.

christophfroehlich avatar Oct 09 '23 12:10 christophfroehlich

I'm not sure how gazebo with gz_ros2_control behaves with passive joints. But one suggestion for gazebo_ros2_control would be to implement a high-gain feedback on the effort or velocity interface from position commands, similar to the position interface of gz_ros2_control

But I'm not certain if this will end up in a stable simulation.

christophfroehlich avatar Oct 09 '23 15:10 christophfroehlich