ros-controls / gz_ros2_control

Connect the latest version of Gazebo with ros2_control.
https://gazebosim.org
Apache License 2.0
92 stars 70 forks source link

Harden behavior if a joint is not found in the model (backport #325) #326

Closed christophfroehlich closed 3 weeks ago

christophfroehlich commented 3 weeks ago

As reported with https://github.com/ros-controls/gz_ros2_control/issues/323, the plugin crashes if there is a wrong config.

I suggest skipping if it the joint is not in the enableJoints map.

This is a manual backport, because of the changed namespaces.