mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
- remove all remaining IOCTLs for accel and gyro and handle all calibration entirely in sensors module with parameters
- sensor_accel and sensor_gyro are now always raw sensor data
- calibration procedures no longer need to first clear existing values before starting
- temperature calibration (TC) remove all scale (SCL) parameters
- gyro and baro scale are completely unused
- regular accel calibration scale can be used (CAL_ACC*_xSCALE) instead of TC scale
16 lines
631 B
Plaintext
16 lines
631 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 # acceleration in the NED X board axis in m/s/s
|
|
int16[32] y # acceleration in the NED Y board axis in m/s/s
|
|
int16[32] z # acceleration in the NED Z board axis in m/s/s
|
|
|
|
uint8 rotation # Direction the sensor faces (see Rotation enum)
|