updated razor imu config
authorErik Andresen <erik@vontaene.de>
Mon, 23 Jan 2017 12:25:32 +0000 (13:25 +0100)
committerErik Andresen <erik@vontaene.de>
Mon, 23 Jan 2017 12:25:32 +0000 (13:25 +0100)
config/razor.yaml

index c8a3611..cd29f07 100644 (file)
@@ -4,32 +4,32 @@ port: /dev/ttyUSB0
 
 ##### Calibration ####
 ### accelerometer
-accel_x_min: -275
-accel_x_max: 290
-accel_y_min: -295
-accel_y_max: 275
-accel_z_min: -295
-accel_z_max: 215
+accel_x_min: -285
+accel_x_max: 280
+accel_y_min: -293
+accel_y_max: 273
+accel_z_min: -298
+accel_z_max: 218
 
 ### magnetometer
 # standard calibration
-magn_x_min: -470
-magn_x_max: 542
-magn_y_min: -767
-magn_y_max: 523
-magn_z_min: -417
-magn_z_max: 596
+magn_x_min: -259
+magn_x_max: 848
+magn_y_min: -448
+magn_y_max: 565
+magn_z_min: -954
+magn_z_max: 150
 
 
 # extended calibration
 calibration_magn_use_extended: true
-magn_ellipsoid_center: [281.573, 61.3150, -400.087]
-magn_ellipsoid_transform: [[0.862755, 0.0531029, 0.0318686], [0.0531029, 0.944888, 0.0445345], [0.0318686, 0.0445345, 0.899048]]
+magn_ellipsoid_center: [273.816, 45.5562, -410.533]
+magn_ellipsoid_transform: [[0.913987, 0.0421156, 0.0394039], [0.0421156, 0.953725, 0.0238406], [0.0394039, 0.0238406, 0.909422]]
 
 # AHRS to robot calibration
 imu_yaw_calibration: 0.0
 
 ### gyroscope
-gyro_average_offset_x: -29.0
-gyro_average_offset_y: -21.0
-gyro_average_offset_z: 4.0
+gyro_average_offset_x: -42.24
+gyro_average_offset_y: -24.73
+gyro_average_offset_z: -21.86