ros-controls/gz_ros2_control

Missing Derivative Gain for Position Command

Tiz000 opened this issue · 4 comments

Currently, the gz_ros2_control package implements only a proportional gain control for position commands.
Is there a specific reason why only proportional gain is implemented without derivative gain in the position control strategy?

Afaik the proportional gain is just added to make the physics engine work. Control tasks should be implemented in your ros2_controller.
A different topic, PIDs for effort interfaces
#306

I understand that, but I don't want to add my control tasks into the plugin, I would like to implement a better way in which position commands are sent to the joints to simulate the internal dynamic of my motors and make the simulation more realistic. Thanks for your fast response.

I would like to implement a better way in which position commands are sent to the joints to simulate the internal dynamic of my motors and make the simulation more realistic.

That's exactly what the linked PR wants to achieve. Contributions are very welcome :)

Thank you so much