Skip to content

Commit

Permalink
Update diff_drive_example.launch.py (#207) (#208)
Browse files Browse the repository at this point in the history
(cherry picked from commit e20382a)

Co-authored-by: Jakub Delicat <[email protected]>
  • Loading branch information
mergify[bot] and delihus authored Dec 27, 2023
1 parent f24c62a commit 0d72969
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 0d72969

Please sign in to comment.