Skip to content

Commit cf85b8b

Browse files
destogllivanov93
authored andcommitted
Correct obsolete ros2controlcli flags (#141)
the `--state` flag became obsolete and `--set-state` should be used.
1 parent 9229bce commit cf85b8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ The most relevant arguments are the following:
110110

111111
**NOTE**: If controllers are not starting automatically, i.e., the robot state is not shown in rviz, you can start them manually:
112112
```
113-
ros2 control load_controller --state start joint_state_broadcaster
114-
ros2 control load_controller --state start joint_trajectory_controller
113+
ros2 control load_controller --set-state start joint_state_broadcaster
114+
ros2 control load_controller --set-state start joint_trajectory_controller
115115
```
116116

117117
To check the controllers' state use `ros2 control list_controllers` command.

0 commit comments

Comments
 (0)