mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
I've added a queue depth of 4 for sensor_accel and sensor_gyro. This is initially added because it's not always possible for the `vehicle_acceleration` to keep up with every publication of the primary accelerator as it runs in the same thread as ekf2, various controllers, etc. Later this mechanism will be used in a few areas - rate limit `vehicle_angular_velocity` and `vehicle_acceleration` without missing any raw data - move IMU integration to `vehicle_imu` and out of the actual driver threads, eliminating the need for sensor_accel_integrated and sensor_gyro_integrated - integrate raw gyro synchronized with optical flow measurements
18 lines
418 B
Plaintext
18 lines
418 B
Plaintext
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
|
|
|
uint64 error_count
|
|
|
|
float32 temperature
|
|
|
|
uint8 rotation
|
|
|
|
uint32[3] clipping # clipping per axis
|
|
|
|
uint16 measure_rate
|
|
|
|
float32 full_scale_range
|
|
|
|
float32 vibration_metric # high frequency vibration level in the IMU delta velocity data (m/s)
|