82 lines
2.8 KiB
YAML
82 lines
2.8 KiB
YAML
/**:
|
|
controller_manager:
|
|
ros__parameters:
|
|
update_rate: 100
|
|
|
|
joint_state_broadcaster:
|
|
type: joint_state_broadcaster/JointStateBroadcaster
|
|
drive_controller:
|
|
type: mecanum_drive_controller/MecanumDriveController
|
|
imu_broadcaster:
|
|
type: imu_sensor_broadcaster/IMUSensorBroadcaster
|
|
|
|
# IMU specification: https://www.phidgets.com/?tier=3&catid=10&pcid=8&prodid=1025#Tab_Specifications
|
|
imu_broadcaster:
|
|
ros__parameters:
|
|
sensor_name: <namespace>/imu
|
|
frame_id: <namespace>/imu_link
|
|
# orientation_stddev: 4.3e-2 rad determined experimentally
|
|
static_covariance_orientation: [1.8e-3, 0.0, 0.0, 0.0, 1.8e-3, 0.0, 0.0, 0.0, 1.8e-3]
|
|
# angular_velocity_stdev: 0.59 deg/s (0.01 rad/s) gyroscope white noise sigma, according to the manual
|
|
static_covariance_angular_velocity: [1.0e-4, 0.0, 0.0, 0.0, 1.0e-4, 0.0, 0.0, 0.0, 1.0e-4]
|
|
# linear_acceleration_stdev: 2.8 mg (0.0275 m/s^2) accelerometer white noise sigma, according to the manual
|
|
static_covariance_linear_acceleration: [7.6e-4, 0.0, 0.0, 0.0, 7.6e-4, 0.0, 0.0, 0.0, 7.6e-4]
|
|
|
|
drive_controller:
|
|
ros__parameters:
|
|
front_left_wheel_name: fl_wheel_joint
|
|
front_right_wheel_name: fr_wheel_joint
|
|
rear_left_wheel_name: rl_wheel_joint
|
|
rear_right_wheel_name: rr_wheel_joint
|
|
|
|
wheel_separation_x: 0.44
|
|
wheel_separation_y: 0.6785
|
|
wheel_radius: 0.1016
|
|
|
|
wheel_separation_x_multiplier: 1.0
|
|
wheel_separation_y_multiplier: 1.0
|
|
|
|
wheel_radius_multiplier: 1.0
|
|
|
|
publish_rate: 100.0
|
|
odom_frame_id: odom
|
|
base_frame_id: base_link
|
|
twist_covariance_diagonal: [5.4e-5, 5.4e-5, 0.0, 0.0, 0.0, 1.9e-4] # Selected intuitively based on WH01 results
|
|
|
|
# Whether to use feedback or commands for odometry calculations
|
|
open_loop: false
|
|
|
|
# Update odometry from velocity
|
|
# in sensor fusion only velocity is used and with this setting it is more accurate
|
|
position_feedback: false
|
|
# velocity computation filtering
|
|
velocity_rolling_window_size: 1
|
|
|
|
enable_odom_tf: false
|
|
|
|
cmd_vel_timeout: 0.2
|
|
publish_limited_velocity: false
|
|
|
|
# Velocity and acceleration limits
|
|
linear:
|
|
x:
|
|
max_velocity: 1.1 # m/s
|
|
min_velocity: -1.1 # m/s
|
|
max_acceleration: 1.5 # m/s^2
|
|
max_deceleration: -1.5 # m/s^2
|
|
max_acceleration_reverse: -1.5 # m/s^2
|
|
max_deceleration_reverse: 1.5 # m/s^2
|
|
max_jerk: .NAN # m/s^3
|
|
min_jerk: .NAN # m/s^3
|
|
|
|
angular:
|
|
z:
|
|
max_velocity: 2.2 # rad/s
|
|
min_velocity: -2.2 # rad/s
|
|
max_acceleration: 3.2 # rad/s^2
|
|
max_deceleration: -3.2 # rad/s^2
|
|
max_acceleration_reverse: -3.2 # rad/s^2
|
|
max_deceleration_reverse: 3.2 # rad/s^2
|
|
max_jerk: .NAN # rad/s^3
|
|
min_jerk: .NAN # rad/s^3
|