Skip to content

Commit

Permalink
Update diff_drive_example.launch.py (#207)
Browse files Browse the repository at this point in the history
(cherry picked from commit e20382a)
  • Loading branch information
delihus authored and mergify[bot] committed Dec 27, 2023
1 parent 0a8d446 commit 6e7d6a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gz_ros2_control_demos/launch/diff_drive_example.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def generate_launch_description():
output='screen'
)

load_joint_trajectory_controller = ExecuteProcess(
load_diff_drive_controller = ExecuteProcess(
cmd=['ros2', 'control', 'load_controller', '--set-state', 'active',
'diff_drive_base_controller'],
output='screen'
Expand Down Expand Up @@ -98,7 +98,7 @@ def generate_launch_description():
RegisterEventHandler(
event_handler=OnProcessExit(
target_action=load_joint_state_controller,
on_exit=[load_joint_trajectory_controller],
on_exit=[load_diff_drive_controller],
)
),
node_robot_state_publisher,
Expand Down

0 comments on commit 6e7d6a4

Please sign in to comment.