|
1 | 1 | # controller_stopper |
2 | 2 |
|
3 | | -A small helper node that stops and restarts ROS controllers based on a boolean status topic. |
4 | | - |
5 | | -When the status goes to `false`, all running controllers except a set of predefined |
6 | | -*consistent_controllers* get stopped. If status returns to `true` the stopped controllers are |
7 | | -restarted. |
| 3 | +A small helper node that stops and restarts ROS controllers based on a boolean status topic. When the status goes to `false`, all running controllers except a set of predefined *consistent_controllers* get stopped. If status returns to `true` the stopped controllers are restarted. |
8 | 4 |
|
9 | 5 | ## Nodes |
| 6 | + |
10 | 7 | ### controller_stopper_node |
11 | 8 |
|
12 | 9 |
|
13 | 10 |
|
14 | 11 | #### Parameters |
15 | | - * **"consistent_controllers (list of strings)"** |
16 | 12 |
|
17 | | - Consistent controllers will not be stopped when the robot stops. Defaults to ["joint_state_controller"] |
| 13 | +##### consistent_controllers (default: ["joint_state_controller"]) |
| 14 | + |
| 15 | +Consistent controllers will not be stopped when the robot stops. Defaults to ["joint_state_controller"] |
18 | 16 |
|
19 | 17 | #### Service Clients |
20 | | - * **"controller_manager/list_controllers"** ([controller_manager_msgs::ListControllers](http://docs.ros.org/api/controller_manager_msgs/html/srv/ListControllers.html)) |
21 | 18 |
|
22 | | - Controller manager service to list controllers |
| 19 | +##### controller_manager/list_controllers ([controller_manager_msgs/ListControllers](http://docs.ros.org/api/controller_manager_msgs/html/srv/ListControllers.html)) |
23 | 20 |
|
24 | | - * **"controller_manager/switch_controller"** ([controller_manager_msgs::SwitchController](http://docs.ros.org/api/controller_manager_msgs/html/srv/SwitchController.html)) |
| 21 | +Controller manager service to list controllers |
25 | 22 |
|
26 | | - Controller manager service to switch controllers |
| 23 | +##### controller_manager/switch_controller ([controller_manager_msgs/SwitchController](http://docs.ros.org/api/controller_manager_msgs/html/srv/SwitchController.html)) |
| 24 | + |
| 25 | +Controller manager service to switch controllers |
27 | 26 |
|
28 | 27 | #### Subscribed topics |
29 | | - * **"robot_running"** ([std_msgs::Bool](http://docs.ros.org/api/std_msgs/html/msg/Bool.html)) |
30 | 28 |
|
31 | | - Subscribes to a robot's running state topic. Ideally this topic is latched and only publishes on changes. However, this node only reacts on state changes, so a state published each cycle would also be fine. |
| 29 | +##### robot_running ([std_msgs/Bool](http://docs.ros.org/api/std_msgs/html/msg/Bool.html)) |
| 30 | + |
| 31 | +Subscribes to a robot's running state topic. Ideally this topic is latched and only publishes on changes. However, this node only reacts on state changes, so a state published each cycle would also be fine. |
32 | 32 |
|
0 commit comments