ros-simulation / gazebo_ros_pkgs

Wrappers, tools and additional API's for using ROS with Gazebo
http://wiki.ros.org/gazebo_ros_pkgs
760 stars 772 forks source link

[gazebo_ros_control] Allow for selecting controlled joints #1509

Open EtienneAr opened 11 months ago

EtienneAr commented 11 months ago

Hi, It seems like many people/projects care for selecting which joint is controlled by the plugin. For example, here are two public repos that implement this same feature, and there are probably more as I didn't look much for it :

Currently, the standard default_robot_hw_sim grabs all transmissions available in the model.

Integrating this feature in the current package would take around ~10 basic lines of C++ and wouldn't break backward compatibility (e.g. if a list of joint or transmission is specified, then only this list is controlled, and if not, then all available transmission are grabbed).

Would it make sense to integrate it ? I would be willing to do it.

Best