Skip to content

Commit

Permalink
Changed launch variable name (ros-controls#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
delipl authored and ksotebeer committed Jun 14, 2022
1 parent 99011d6 commit d221537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gazebo_ros2_control_demos/launch/diff_drive.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def generate_launch_description():
output='screen'
)

load_joint_trajectory_controller = ExecuteProcess(
load_diff_drive_base_controller = ExecuteProcess(
cmd=['ros2', 'control', 'load_controller', '--set-state', 'start',
'diff_drive_base_controller'],
output='screen'
Expand All @@ -78,7 +78,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_base_controller],
)
),
gazebo,
Expand Down

0 comments on commit d221537

Please sign in to comment.