mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 05:13:34 +08:00
Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers
This commit is contained in:
@@ -52,10 +52,16 @@
|
||||
* Output values are in gauss.
|
||||
*/
|
||||
struct mag_report {
|
||||
uint64_t timestamp;
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
uint64_t timestamp;
|
||||
float range_ga;
|
||||
float scaling;
|
||||
|
||||
uint16_t x_raw;
|
||||
uint16_t y_raw;
|
||||
uint16_t z_raw;
|
||||
};
|
||||
|
||||
/** mag scaling factors; Vout = (Vin * Vscale) + Voffset */
|
||||
|
||||
Reference in New Issue
Block a user