Skip to content

Commit bafe879

Browse files
author
AndyZe
committed
Activate/start renaming
1 parent 59f9e34 commit bafe879

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ Now you should also see the *RRbot* represented correctly in `RViz`.
588588
589589
3. Now start the controller:
590590
```
591-
ros2 control switch_controllers --start forward_position_controller
591+
ros2 control switch_controllers --activate forward_position_controller
592592
```
593593
Check if controllers are activated:
594594
```
@@ -631,7 +631,7 @@ Now you should also see the *RRbot* represented correctly in `RViz`.
631631
632632
2. Now start the controller (and stop other running contorller):
633633
```
634-
ros2 control switch_controllers --stop forward_position_controller --start position_trajectory_controller
634+
ros2 control switch_controllers --deactivate forward_position_controller --activate position_trajectory_controller
635635
```
636636
Check if controllers are activated:
637637
```

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Let's switch controllers now to velocity
8787

8888
.. code-block:: bash
8989
90-
ros2 control switch_controllers --stop forward_position_controller --start forward_velocity_controller
90+
ros2 control switch_controllers --deactivate forward_position_controller --activate forward_velocity_controller
9191
9292
List hardware interfaces again to see that indeed position interfaces have been unclaimed while velocity is claimed now
9393

ros2_control_demo_bringup/launch/admittance_controller_demo.launch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,13 +310,13 @@ def launch_setup(context, *args, **kwargs):
310310
admittance_controller_spawner = Node(
311311
package="controller_manager",
312312
executable="spawner",
313-
arguments=["admittance_controller", "-c", "/controller_manager", "--stopped"],
313+
arguments=["admittance_controller", "-c", "/controller_manager", "--deactivateped"],
314314
)
315315

316316
joint_trajectory_controller_spawner = Node(
317317
package="controller_manager",
318318
executable="spawner",
319-
arguments=["joint_trajectory_controller", "-c", "/controller_manager", "--stopped"],
319+
arguments=["joint_trajectory_controller", "-c", "/controller_manager", "--deactivateped"],
320320
)
321321

322322
faked_forces_controller_spawner = Node(

using_admittance_controller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Start the demo using:
3333

3434
1. Activate the admittance controller:
3535
```
36-
ros2 control switch_controllers --start admittance_controller
36+
ros2 control switch_controllers --activate admittance_controller
3737
```
3838

3939
1. Start custom version of `teleop_twist_keyboard` to publish fake forces:

0 commit comments

Comments
 (0)