Skip to content

Commit 49fa073

Browse files
author
curt
committed
fix base controller command vel remappings
1 parent 6fd52ac commit 49fa073

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

curt_mini/bringup/robot_base.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def launch_robot():
116116
name="twist_mux",
117117
output="screen",
118118
parameters=[twist_mux_path, {"use_sim_time": False}],
119-
remappings=[("/cmd_vel_out", "/skid_steer_controller/cmd_vel_unstamped")],
119+
remappings=[("/cmd_vel_out", "/base_controller/cmd_vel")],
120120
)
121121

122122
imu_lpresearch = Node(

curt_mini/bringup/start_controller.launch.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ def generate_launch_description():
1717
"--param-file",
1818
param_file,
1919
"--controller-ros-args",
20-
"-r diff_drive_controller/odom:=/odometry/wheel",
20+
" ".join(
21+
[
22+
"-r diff_drive_controller/odom:=/odometry/wheel",
23+
"-r diff_drive_controller/cmd_vel:=/base_controller/cmd_vel",
24+
]
25+
),
2126
"diff_drive_controller",
2227
],
2328
output="screen",
24-
remappings=[("odom", "odometry/wheel")],
2529
)
2630

2731
joint_state_broadcaster_spawner = Node(

0 commit comments

Comments
 (0)