mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 01:41:36 +08:00
Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love
This commit is contained in:
@@ -57,9 +57,9 @@ struct accel_report {
|
||||
float z;
|
||||
float range_m_s2;
|
||||
float scaling;
|
||||
uint16_t x_raw;
|
||||
uint16_t y_raw;
|
||||
uint16_t z_raw;
|
||||
int16_t x_raw;
|
||||
int16_t y_raw;
|
||||
int16_t z_raw;
|
||||
};
|
||||
|
||||
/** accel scaling factors; Vout = (Vin * Vscale) + Voffset */
|
||||
|
||||
Reference in New Issue
Block a user