@@ -112,9 +112,9 @@ The *RRBot* URDF files can be found in the ``description/urdf`` folder.
112112
113113 .. code-block :: shell
114114
115- ros2 control load_controller position_trajectory_controller
115+ ros2 control load_controller joint_trajectory_position_controller
116116
117- what should return ``Successfully loaded controller position_trajectory_controller ``. Check the status
117+ what should return ``Successfully loaded controller joint_trajectory_position_controller ``. Check the status
118118
119119 .. code-block :: shell
120120
@@ -126,15 +126,15 @@ The *RRBot* URDF files can be found in the ``description/urdf`` folder.
126126
127127 joint_state_broadcaster[joint_state_broadcaster/JointStateBroadcaster] active
128128 forward_position_controller[forward_command_controller/ForwardCommandController] active
129- position_trajectory_controller [joint_trajectory_controller/JointTrajectoryController] unconfigured
129+ joint_trajectory_position_controller [joint_trajectory_controller/JointTrajectoryController] unconfigured
130130
131131 Configure the controller by setting it ``inactive `` by
132132
133133 .. code-block :: shell
134134
135- ros2 control set_controller_state position_trajectory_controller inactive
135+ ros2 control set_controller_state joint_trajectory_position_controller inactive
136136
137- what should give ``Successfully configured position_trajectory_controller ``.
137+ what should give ``Successfully configured joint_trajectory_position_controller ``.
138138
139139 .. note ::
140140
@@ -145,9 +145,9 @@ The *RRBot* URDF files can be found in the ``description/urdf`` folder.
145145
146146 .. code-block :: shell
147147
148- ros2 control load_controller position_trajectory_controller --set-state inactive
148+ ros2 control load_controller joint_trajectory_position_controller --set-state inactive
149149
150- You should get the result ``Successfully loaded controller position_trajectory_controller into state inactive ``.
150+ You should get the result ``Successfully loaded controller joint_trajectory_position_controller into state inactive ``.
151151
152152 See if it loaded properly with
153153
@@ -161,20 +161,20 @@ The *RRBot* URDF files can be found in the ``description/urdf`` folder.
161161
162162 joint_state_broadcaster[joint_state_broadcaster/JointStateBroadcaster] active
163163 forward_position_controller[forward_command_controller/ForwardCommandController] active
164- position_trajectory_controller [joint_trajectory_controller/JointTrajectoryController] inactive
164+ joint_trajectory_position_controller [joint_trajectory_controller/JointTrajectoryController] inactive
165165
166166 Note that the controller is loaded but still ``inactive ``. Now you can switch the controller by
167167
168168 .. code-block :: shell
169169
170170 ros2 control set_controller_state forward_position_controller inactive
171- ros2 control set_controller_state position_trajectory_controller active
171+ ros2 control set_controller_state joint_trajectory_position_controller active
172172
173173 or simply via this one-line command
174174
175175 .. code-block :: shell
176176
177- ros2 control switch_controllers --activate position_trajectory_controller --deactivate forward_position_controller
177+ ros2 control switch_controllers --activate joint_trajectory_position_controller --deactivate forward_position_controller
178178
179179 Again, check via
180180
@@ -188,7 +188,7 @@ The *RRBot* URDF files can be found in the ``description/urdf`` folder.
188188
189189 joint_state_broadcaster[joint_state_broadcaster/JointStateBroadcaster] active
190190 forward_position_controller[forward_command_controller/ForwardCommandController] inactive
191- position_trajectory_controller [joint_trajectory_controller/JointTrajectoryController] active
191+ joint_trajectory_position_controller [joint_trajectory_controller/JointTrajectoryController] active
192192
193193 Send a command to the controller using demo node, which sends four goals every 6 seconds in a loop:
194194
0 commit comments