From 8b2beedb9a8290c42797216f378fb1fa9df2db41 Mon Sep 17 00:00:00 2001 From: Jakub Delicat <109142865+delihus@users.noreply.github.com> Date: Wed, 27 Dec 2023 11:39:37 +0100 Subject: [PATCH] Update diff_drive_example.launch.py --- ign_ros2_control_demos/launch/diff_drive_example.launch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ign_ros2_control_demos/launch/diff_drive_example.launch.py b/ign_ros2_control_demos/launch/diff_drive_example.launch.py index 64d521dd..70ba1f2d 100644 --- a/ign_ros2_control_demos/launch/diff_drive_example.launch.py +++ b/ign_ros2_control_demos/launch/diff_drive_example.launch.py @@ -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' @@ -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,