BenBenBotKernal/Software/ROS_Driver/ROS1-driver/hoverboard_driver/config/controllers.yaml

52 lines
1.7 KiB
YAML

hoverboard_joint_publisher:
type: "joint_state_controller/JointStateController"
publish_rate: 50
left_wheel : 'left_wheel'
right_wheel : 'right_wheel'
hoverboard_velocity_controller:
type : "diff_drive_controller/DiffDriveController"
left_wheel : 'left_wheel'
right_wheel : 'right_wheel'
publish_rate: 50.0 # default: 50
pose_covariance_diagonal : [0.001, 0.001, 1000000.0, 1000000.0, 1000000.0, 1000.0]
twist_covariance_diagonal: [0.001, 0.001, 1000000.0, 1000000.0, 1000000.0, 1000.0]
# Wheel separation and diameter. These are both optional.
# diff_drive_controller will attempt to read either one or both from the
# URDF if not specified as a parameter
wheel_separation : 0.32
wheel_radius : 0.0825
# Wheel separation and radius multipliers
wheel_separation_multiplier: 1.0 # default: 1.0
wheel_radius_multiplier : 1.0 # default: 1.0
# Velocity commands timeout [s], default 0.5
cmd_vel_timeout: 0.5
# Base frame_id
base_frame_id: base_footprint #default: base_link
allow_multiple_cmd_vel_publishers: true
odom_frame_id: '/raw_odom'
enable_odom_tf: false
# Velocity and acceleration limits
# Whenever a min_* is unspecified, default to -max_*
linear:
x:
has_velocity_limits : true
max_velocity : 1.0 # m/s
has_acceleration_limits: true
max_acceleration : 0.8 # m/s^2
has_jerk_limits : false
max_jerk : 0.0 # m/s^3
angular:
z:
has_velocity_limits : true # was true
max_velocity : 6.28 # rad/s
has_acceleration_limits: true # was true
max_acceleration : 3.14 # rad/s^2
has_jerk_limits : true
max_jerk : 3.14 # rad/s^3