As of now, the integration with Gazebo Ignition allows the simulation only of the torque (effort) interface.
Upon loading of simulation, the log reports
[INFO] [1745392837.005115761] [gz_ros2_control]: The position_proportional_gain has been set to: 0.1
however I have not been able to find a way to dynamically set it at runtime from URDF or config. file as specified here here.
Apparently, the loading of the parameter from the URDF is a recent change which has not been properly ported back to humble (the version I am using for testing).
Indeed, comparing the rolling plugin implementation with the humble branch, there are minor differences.
A solution could be the use of custom plugin for the interface with Ignition (as in the franka ros2 interface), but this requires some effort and testing.
With this premise, it is currently not possible to simulate, in ignition, using the position command interface. Possible strategies are:
- implementation of
pid controller to convert position references to effort to be sent to Gazebo;
- find a way to properly set the
position_proportional_gain parameter of the ROS2 control plugin
As of now, the integration with Gazebo Ignition allows the simulation only of the torque (effort) interface.
Upon loading of simulation, the log reports
however I have not been able to find a way to dynamically set it at runtime from URDF or config. file as specified here here.
Apparently, the loading of the parameter from the URDF is a recent change which has not been properly ported back to
humble(the version I am using for testing).Indeed, comparing the rolling plugin implementation with the humble branch, there are minor differences.
A solution could be the use of custom plugin for the interface with Ignition (as in the franka ros2 interface), but this requires some effort and testing.
With this premise, it is currently not possible to simulate, in ignition, using the
positioncommand interface. Possible strategies are:pidcontroller to convert position references to effort to be sent to Gazebo;position_proportional_gainparameter of the ROS2 control plugin