@@ -3,8 +3,8 @@ controller_manager:
33 update_rate : 100
44 use_sim_time : false
55
6- skid_steer_controller :
7- type : skid_steer_controller/SkidSteerController
6+ diff_drive_controller :
7+ type : diff_drive_controller/DiffDriveController
88
99 joint_state_broadcaster :
1010 type : joint_state_broadcaster/JointStateBroadcaster
@@ -13,69 +13,45 @@ joint_state_broadcaster:
1313 ros__parameters :
1414 use_sim_time : false
1515
16- skid_steer_controller :
16+ diff_drive_controller :
1717 ros__parameters :
18- use_sim_time : false
19-
2018 left_wheel_names : ["front_left_motor", "back_left_motor"]
2119 right_wheel_names : ["front_right_motor", "back_right_motor"]
2220
2321 wheel_separation : 0.44
24- wheels_per_side : 1 # actually 2, but both are controlled by 1 signal
2522 wheel_radius : 0.13
2623
2724 wheel_separation_multiplier : 1.0
28- right_wheel_radius_multiplier : 1.0
2925 left_wheel_radius_multiplier : 1.0
26+ right_wheel_radius_multiplier : 1.0
3027
31- publish_rate : 50.0
3228 odom_frame_id : odom
3329 base_frame_id : base_link
30+ pose_covariance_diagonal : [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
31+ twist_covariance_diagonal : [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
3432
33+ position_feedback : true
3534 open_loop : false
3635 enable_odom_tf : false
3736
38- cmd_vel_timeout : 0.25
39- # publish_limited_velocity: true
40- use_stamped_vel : false
41- # velocity_rolling_window_size: 10
42-
43- # Preserve turning radius when limiting speed/acceleration/jerk
44- preserve_turning_radius : true
45-
46- # Publish limited velocity
47- publish_cmd : true
37+ cmd_vel_timeout : 0.25 # seconds
38+ publish_limited_velocity : true
39+ velocity_rolling_window_size : 10
4840
49- # Publish wheel data
50- publish_wheel_data : true
51-
52- linear.x.has_velocity_limits : true
53- linear.x.min_velocity : -1.5
5441 linear.x.max_velocity : 1.5
55- linear.x.has_acceleration_limits : true
56- linear.x.min_acceleration : -2.5
42+ linear.x.min_velocity : -1.5
5743 linear.x.max_acceleration : 2.5
44+ linear.x.max_deceleration : -2.5
45+ linear.x.max_acceleration_reverse : 2.5
46+ linear.x.max_deceleration_reverse : -2.5
47+ linear.x.max_jerk : .NAN
48+ linear.x.min_jerk : .NAN
5849
59- angular.z.has_velocity_limits : true
60- angular.z.min_velocity : -12.0
6150 angular.z.max_velocity : 12.0
62- angular.z.has_acceleration_limits : true
63- angular.z.min_acceleration : -15.0
51+ angular.z.min_velocity : -12.0
6452 angular.z.max_acceleration : 15.0
65-
66- angular_vel_pid.p : 0.0
67- angular_vel_pid.i : 1.0
68- angular_vel_pid.d : 0.0
69- angular_vel_pid.i_clamp_max : 0.7
70- angular_vel_pid.i_clamp_min : -0.7
71- angular_vel_pid.antiwindup : true
72- angular_vel_pid.max_time_diff : 1.0
73- control_loop_odometry_topic : " $(var odom_topic)"
74- filter_odometry : true
75- cut_off_frequency : 0.5
76- linear_vel_pid.p : 0.0
77- linear_vel_pid.i : 0.5
78- linear_vel_pid.d : 0.0
79- linear_vel_pid.i_clamp_max : 0.5
80- linear_vel_pid.i_clamp_min : -0.5
81- linear_vel_pid.antiwindup : true
53+ angular.z.max_deceleration : -15.0
54+ angular.z.max_acceleration_reverse : 15.0
55+ angular.z.max_deceleration_reverse : -15.0
56+ angular.z.max_jerk : .NAN
57+ angular.z.min_jerk : .NAN
0 commit comments