ardupilot
ardupilot copied to clipboard
Feature Request: MAVLink Parameter for Compass Orientation
Please add new parameter to define the orientation of the Magnetometer for particular use with externally mounted Mag sensors. Currently, if the user sets a non-standard board orientation parameter, the compass orientation is also rotated within the code, as the magnetometer is mounted to the APM. However, if an external magnetometer is used, this rotation would likely be incorrect.
Currently the situation can be corrected with a #define for Mag Orientation, but it would be more convenient if this is settable with a parameter.
Done by tridge. I believe it's called COMPASS_ORIENT