2016-06-24 07:52:16 -03:00
# Sensor readings in SI-unit form.
# These fields are scaled and offset-compensated where possible and do not
# change with board revisions and sensor updates.
2015-04-26 00:44:54 -03:00
2018-08-07 10:42:32 -03:00
uint64 timestamp # time since system start (microseconds)
2018-08-06 21:30:05 -03:00
2018-08-07 10:42:32 -03:00
int32 RELATIVE_TIMESTAMP_INVALID = 2147483647 # (0x7fffffff) If one of the relative timestamps is set to this value, it means the associated sensor values are invalid
2016-07-07 05:35:03 -03:00
2016-06-25 07:28:02 -03:00
# gyro timstamp is equal to the timestamp of the message
2020-12-15 04:18:05 -04:00
float32[3] gyro_rad # average angular rate measured in the FRD body frame XYZ-axis in rad/s over the last gyro sampling period
uint32 gyro_integral_dt # gyro measurement sampling period in microseconds
2015-08-29 19:07:19 -03:00
2016-06-25 10:57:03 -03:00
int32 accelerometer_timestamp_relative # timestamp + accelerometer_timestamp_relative = Accelerometer timestamp
2020-12-15 04:18:05 -04:00
float32[3] accelerometer_m_s2 # average value acceleration measured in the FRD body frame XYZ-axis in m/s^2 over the last accelerometer sampling period
uint32 accelerometer_integral_dt # accelerometer measurement sampling period in microseconds
2020-04-07 21:11:08 -03:00
uint8 CLIPPING_X = 1
uint8 CLIPPING_Y = 2
uint8 CLIPPING_Z = 4
uint8 accelerometer_clipping # bitfield indicating if there was any accelerometer clipping (per axis) during the sampling period
2022-04-10 12:07:01 -03:00
uint8 accel_calibration_count # Calibration changed counter. Monotonically increases whenever accelermeter calibration changes.
uint8 gyro_calibration_count # Calibration changed counter. Monotonically increases whenever rate gyro calibration changes.