Skip to content

Commit

Permalink
Update diff_drive_example.launch.py (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
delihus authored Dec 27, 2023
1 parent 8c822b3 commit e20382a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ign_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 e20382a

Please sign in to comment.