Files
ROS2_WS/simulation_ws/trolley/config/ros2_controllers.yaml
2026-02-24 22:09:19 +08:00

27 lines
727 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# joint_state_broadcaster发布 joint state
# diff_drive_controller订阅 cmd_vel输出轮子速度命令
controller_manager:
ros__parameters:
update_rate: 50
joint_state_broadcaster:
type: joint_state_broadcaster/JointStateBroadcaster
diff_drive_controller:
type: diff_drive_controller/DiffDriveController
diff_drive_controller:
ros__parameters:
left_wheel_names: ["front_left_wheel_joint", "rear_left_wheel_joint"]
right_wheel_names: ["front_right_wheel_joint", "rear_right_wheel_joint"]
wheel_separation: 0.3
wheel_radius: 0.05
base_frame_id: base_link
odom_frame_id: odom
enable_odom_tf: true
cmd_vel_timeout: 0.5
use_stamped_vel: false