mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
- checked register mechanism and simple watchdog
- driver checks for errors gradually and can reconfigure itself
- respect IMU_GYRO_RATEMAX at the driver level
- fixed sensor INT16_MIN and INT16_MAX handling (y & z axis are flipped before publishing)
- increased sensor_gyro_fifo max size (enables running the driver much slower, but still transferring all raw data)
- PX4Accelerometer/PX4Gyroscope remove unnecessary memsets
14 lines
567 B
Plaintext
14 lines
567 B
Plaintext
uint64 timestamp # time since system start (microseconds)
|
|
uint64 timestamp_sample
|
|
|
|
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
|
|
|
float32 dt # delta time between samples (microseconds)
|
|
float32 scale
|
|
|
|
uint8 samples # number of valid samples
|
|
|
|
int16[32] x # angular velocity in the NED X board axis in rad/s
|
|
int16[32] y # angular velocity in the NED Y board axis in rad/s
|
|
int16[32] z # angular velocity in the NED Z board axis in rad/s
|