mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
35cddc7af0
That rotation is set for AP_COMPASS_TYPE_HMC5883L, because it's usually the compass from 3DR GPS+Compass kit, which has an arrow pointing the "correct" direction. That rotation should be done before rotate_field() as it represents the "standard" position for the kit. This patch also makes published values consistent with respect to rotation. Before this, raw fields used in calibration were published with a rotation different from the filtered field when _product_id is AP_COMPASS_TYPE_HMC5883L. |
||
---|---|---|
.. | ||
examples/AP_Compass_test | ||
AP_Compass_AK8963.cpp | ||
AP_Compass_AK8963.h | ||
AP_Compass_Backend.cpp | ||
AP_Compass_Backend.h | ||
AP_Compass_Calibration.cpp | ||
AP_Compass_HIL.cpp | ||
AP_Compass_HIL.h | ||
AP_Compass_HMC5843.cpp | ||
AP_Compass_HMC5843.h | ||
AP_Compass_LSM303D.cpp | ||
AP_Compass_LSM303D.h | ||
AP_Compass_PX4.cpp | ||
AP_Compass_PX4.h | ||
AP_Compass_qflight.cpp | ||
AP_Compass_qflight.h | ||
AP_Compass_QURT.cpp | ||
AP_Compass_QURT.h | ||
AP_Compass.cpp | ||
AP_Compass.h | ||
Compass_learn.cpp | ||
CompassCalibrator.cpp | ||
CompassCalibrator.h | ||
keywords.txt |