From cd0b002c49e71be459f4e9f0a063b97fed195b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Mon, 10 Jun 2024 10:05:36 +0200 Subject: [PATCH] Rename variable in launch file (#327) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alejandro Hernández Cordero --- gz_ros2_control_demos/launch/tricycle_drive_example.launch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gz_ros2_control_demos/launch/tricycle_drive_example.launch.py b/gz_ros2_control_demos/launch/tricycle_drive_example.launch.py index 5fe7bd6d..9b2d31b6 100644 --- a/gz_ros2_control_demos/launch/tricycle_drive_example.launch.py +++ b/gz_ros2_control_demos/launch/tricycle_drive_example.launch.py @@ -61,7 +61,7 @@ def generate_launch_description(): output='screen' ) - load_joint_trajectory_controller = ExecuteProcess( + load_tricycle_controller = ExecuteProcess( cmd=['ros2', 'control', 'load_controller', '--set-state', 'active', 'tricycle_controller'], output='screen' @@ -93,7 +93,7 @@ def generate_launch_description(): RegisterEventHandler( event_handler=OnProcessExit( target_action=load_joint_state_broadcaster, - on_exit=[load_joint_trajectory_controller], + on_exit=[load_tricycle_controller], ) ), node_robot_state_publisher,