2016-12-26 15:05:06 +11:00
|
|
|
#
|
|
|
|
|
# Sensor corrections in SI-unit form for the voted sensor
|
|
|
|
|
#
|
|
|
|
|
|
2018-08-07 01:30:05 +01:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
|
|
2016-12-26 15:05:06 +11:00
|
|
|
# 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
|
2017-01-20 21:40:46 +11:00
|
|
|
# corrections for uORB instance 0
|
|
|
|
|
float32[3] gyro_offset_0 # gyro XYZ offsets in the sensor frame in rad/s
|
|
|
|
|
float32[3] gyro_scale_0 # gyro XYZ scale factors in the sensor frame
|
|
|
|
|
|
|
|
|
|
# corrections for uORB instance 1
|
|
|
|
|
float32[3] gyro_offset_1 # gyro XYZ offsets in the sensor frame in rad/s
|
|
|
|
|
float32[3] gyro_scale_1 # gyro XYZ scale factors in the sensor frame
|
|
|
|
|
|
|
|
|
|
# corrections for uORB instance 2
|
|
|
|
|
float32[3] gyro_offset_2 # gyro XYZ offsets in the sensor frame in rad/s
|
|
|
|
|
float32[3] gyro_scale_2 # gyro XYZ scale factors in the sensor frame
|
2016-12-26 15:05:06 +11:00
|
|
|
|
2017-01-02 17:15:46 +01:00
|
|
|
# Corrections for acceleromter acceleration outputs where corrected_accel = raw_accel * accel_scale + accel_offset
|
2016-12-26 15:05:06 +11:00
|
|
|
# Note the corrections are in the sensor frame and must be applied before the sensor data is rotated into body frame
|
2017-01-20 21:40:46 +11:00
|
|
|
# corrections for uORB instance 0
|
|
|
|
|
float32[3] accel_offset_0 # accelerometer XYZ offsets in the sensor frame in m/s/s
|
|
|
|
|
float32[3] accel_scale_0 # accelerometer XYZ scale factors in the sensor frame
|
|
|
|
|
|
|
|
|
|
# corrections for uORB instance 1
|
|
|
|
|
float32[3] accel_offset_1 # accelerometer XYZ offsets in the sensor frame in m/s/s
|
|
|
|
|
float32[3] accel_scale_1 # accelerometer XYZ scale factors in the sensor frame
|
|
|
|
|
|
|
|
|
|
# corrections for uORB instance 2
|
|
|
|
|
float32[3] accel_offset_2 # accelerometer XYZ offsets in the sensor frame in m/s/s
|
|
|
|
|
float32[3] accel_scale_2 # accelerometer XYZ scale factors in the sensor frame
|
2017-01-02 17:15:46 +01:00
|
|
|
|
|
|
|
|
# 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
|
2017-01-20 21:40:46 +11:00
|
|
|
# corrections for uORB instance 0
|
|
|
|
|
float32 baro_offset_0 # barometric pressure offsets in the sensor frame in m/s/s
|
|
|
|
|
float32 baro_scale_0 # barometric pressure scale factors in the sensor frame
|
|
|
|
|
|
|
|
|
|
# corrections for uORB instance 1
|
|
|
|
|
float32 baro_offset_1 # barometric pressure offsets in the sensor frame in m/s/s
|
|
|
|
|
float32 baro_scale_1 # barometric pressure scale factors in the sensor frame
|
|
|
|
|
|
|
|
|
|
# corrections for uORB instance 2
|
|
|
|
|
float32 baro_offset_2 # barometric pressure offsets in the sensor frame in m/s/s
|
|
|
|
|
float32 baro_scale_2 # barometric pressure scale factors in the sensor frame
|
2017-01-17 11:55:20 +01:00
|
|
|
|
2017-01-20 21:40:46 +11:00
|
|
|
uint8 selected_gyro_instance # gyro uORB topic instance for the voted sensor
|
|
|
|
|
uint8 selected_accel_instance # accelerometer uORB topic instance for the voted sensor
|
|
|
|
|
uint8 selected_baro_instance # barometric pressure uORB topic instance for the voted sensor
|
2017-01-22 17:03:17 +11:00
|
|
|
|
|
|
|
|
# Mapping from uORB index to parameter index for each sensor type. For example accel_mapping[1] contains the
|
|
|
|
|
# compensation parameter system index for the sensor_accel uORB index 1 data.
|
|
|
|
|
uint8[3] gyro_mapping
|
|
|
|
|
uint8[3] accel_mapping
|
|
|
|
|
uint8[3] baro_mapping
|
2020-01-18 01:15:00 -05:00
|
|
|
|
|
|
|
|
uint32[3] gyro_device_ids
|
|
|
|
|
uint32[3] accel_device_ids
|
|
|
|
|
uint32[3] baro_device_ids
|