ros-controls / gazebo_ros2_control

Wrappers, tools and additional API's for using ros2_control with Gazebo Classic
Apache License 2.0
199 stars 125 forks source link

Added logic for hardware interfaces #139

Closed ahcorde closed 2 years ago

ahcorde commented 2 years ago

Signed-off-by: ahcorde ahcorde@gmail.com

It might be related with this issues https://github.com/ros-controls/gz_ros2_control/issues/62

hardware interfaces now have state logic around them, so they need to be set in the active state. I tried the command added in the issue

ros2 service call controller_manager/set_hardware_component_state controller_manager_msgs/srv/SetHardwareComponentState '{name: 'GazeboSimSystem', target_state: {id: 3, label: ""}}'

and it works but these few lines have the same effect