ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Feature Request: MAVLink Parameter for Compass Orientation

Open R-Lefebvre opened this issue 13 years ago • 1 comments

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.

R-Lefebvre avatar Feb 26 '13 19:02 R-Lefebvre

Done by tridge. I believe it's called COMPASS_ORIENT

rmackay9 avatar May 15 '13 00:05 rmackay9