ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
When the controller manager loads a controller, it is in the stopped state. You need to explicitly start it to transition to a running state. You can check a controller's state by calling /controller_manager/list_controllers
This the usual flow:
Load a controller: Use the /controller_manager/load_controller
service
init(...)
method.Start a controller: Use the /controller_manager/switch_controller
service (start_controllers field)
starting(...)
methodStop a controller: Use the /controller_manager/switch_controller
service (stop_controllers field)
stopping(...)
methodUnload a controller: Use the /controller_manager/load_controller
service