mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: Add accessor function for COMPASS_AUTODEC
This commit is contained in:
parent
e87e16cc0f
commit
db90cf5fb0
|
@ -202,6 +202,8 @@ public:
|
|||
void set_declination(float radians, bool save_to_eeprom = true);
|
||||
float get_declination() const;
|
||||
|
||||
bool auto_declination_enabled() const { return _auto_declination != 0; }
|
||||
|
||||
// set overall board orientation
|
||||
void set_board_orientation(enum Rotation orientation, Matrix3f* custom_rotation = nullptr) {
|
||||
_board_orientation = orientation;
|
||||
|
|
Loading…
Reference in New Issue