forked from Archive/PX4-Autopilot
mpu9250 test command use correct mag units (#8313)
This commit is contained in:
parent
7608cec1ed
commit
3c252d973d
|
@ -370,9 +370,9 @@ test(enum MPU9250_BUS busid)
|
|||
err(1, "immediate mag read failed");
|
||||
}
|
||||
|
||||
warnx("mag x: \t% 9.5f\trad/s", (double)m_report.x);
|
||||
warnx("mag y: \t% 9.5f\trad/s", (double)m_report.y);
|
||||
warnx("mag z: \t% 9.5f\trad/s", (double)m_report.z);
|
||||
warnx("mag x: \t% 9.5f\tGa", (double)m_report.x);
|
||||
warnx("mag y: \t% 9.5f\tGa", (double)m_report.y);
|
||||
warnx("mag z: \t% 9.5f\tGa", (double)m_report.z);
|
||||
warnx("mag x: \t%d\traw", (int)m_report.x_raw);
|
||||
warnx("mag y: \t%d\traw", (int)m_report.y_raw);
|
||||
warnx("mag z: \t%d\traw", (int)m_report.z_raw);
|
||||
|
|
Loading…
Reference in New Issue