mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
23 lines
1.4 KiB
Plaintext
23 lines
1.4 KiB
Plaintext
#
|
|
# Sensor corrections in SI-unit form for the voted sensor
|
|
#
|
|
|
|
# Corrections for gyro angular rate outputs where corrected_rate = raw_rate * gyro_scale + gyro_offset
|
|
# Note the corrections are in the sensor frame and must be applied before the sensor data is rotated into body frame
|
|
float32[3] gyro_offset # gyro XYZ offsets in the sensor frame in rad/s
|
|
float32[3] gyro_scale # gyro XYZ scale factors in the sensor frame
|
|
|
|
# Corrections for acceleromter acceleration outputs where corrected_accel = raw_accel * accel_scale + accel_offset
|
|
# Note the corrections are in the sensor frame and must be applied before the sensor data is rotated into body frame
|
|
float32[3] accel_offset # accelerometer XYZ offsets in the sensor frame in m/s/s
|
|
float32[3] accel_scale # accelerometer XYZ scale factors in the sensor frame
|
|
|
|
# Corrections for barometric pressure outputs where corrected_pressure = raw_pressure * pressure_scale + pressure_offset
|
|
# Note the corrections are in the sensor frame and must be applied before the sensor data is rotated into body frame
|
|
float32 baro_offset # barometric pressure offsets in the sensor frame in m/s/s
|
|
float32 baro_scale # barometric pressure scale factors in the sensor frame
|
|
|
|
uint8 gyro_select # gyro uORB index for the voted sensor
|
|
uint8 accel_select # accelerometer uORB index for the voted sensor
|
|
uint8 baro_select # barometric pressure uORB index for the voted sensor
|