@@ -26,8 +26,8 @@ joystick_turbo_speed = 2.0; -- m/s
2626
2727-- Maximum steering angle in radians for joystick control
2828-- Formula: max_steering_angle = atan(wheelbase / desired_min_turning_radius)
29- -- Example: 0.286 rad (16.4 °) gives 1.1m turning radius with 0.324m wheelbase
30- max_steering_angle = 0.286 ; -- radians
29+ -- Example: 0.425 rad (24.35 °) gives 0.75m turning radius with 0.324m wheelbase
30+ max_steering_angle = 0.425 ; -- radians
3131
3232-- IMU fusion parameters
3333fuse_imu = true ; -- Set to true to fuse IMU data with odometry using EKF
@@ -36,3 +36,13 @@ calibrate_imu = true; -- Calibrate IMU on startup
3636imu_gyro_range = 0 ; -- 0=250, 1=500, 2=1000, 3=2000 deg/s
3737imu_accel_range = 0 ; -- 0=2g, 1=4g, 2=8g, 3=16g
3838imu_dlpf_bandwidth = 0 ; -- 0=260Hz, 1=184Hz, 2=94Hz, 3=44Hz, 4=21Hz, 5=10Hz, 6=5Hz
39+
40+ -- Debug EKF logging for drift analysis
41+ debug_ekf = true ; -- Set to true to log EKF data
42+ debug_log_path = " /home/orin/roboracer_ws/data/debug/ekf_debug.csv" ; -- Path to debug log file
43+
44+ -- IMU mounting orientation is configured in vesc_driver.cpp
45+ -- Common orientations:
46+ -- Standard (IMU +x forward, +y left): {1, 0, 1, 1, 1, 2}
47+ -- IMU +x rear, +y right: {-1, 0, -1, 1, -1, 0}
48+ -- IMU +x right, +y forward: {1, 1, -1, 0, 1, 2}
0 commit comments