mirror of https://github.com/ArduPilot/ardupilot
AP_Declination: Added new config value to allow the user to have the declination overwritten on every 3D fix.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
parent
c390db5d92
commit
566bbed7ad
|
@ -90,3 +90,5 @@
|
|||
// #define MOT_7 CH_7
|
||||
// #define MOT_8 CH_8
|
||||
|
||||
// Enabling this will use the GPS lat/long coordinate to get the compass declination
|
||||
//#define AUTOMATIC_DECLINATION ENABLED
|
|
@ -425,6 +425,10 @@
|
|||
# define GROUND_START_DELAY 3
|
||||
#endif
|
||||
|
||||
#ifndef AUTOMATIC_DECLINATION
|
||||
#define AUTOMATIC_DECLINATION DISABLED
|
||||
#endif
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -39,3 +39,6 @@
|
|||
#define AIRSPEED_CRUISE 25
|
||||
#define THROTTLE_FAILSAFE ENABLED
|
||||
*/
|
||||
|
||||
// Enabling this will use the GPS lat/long coordinate to get the compass declination
|
||||
//#define AUTOMATIC_DECLINATION ENABLED
|
||||
|
|
|
@ -418,6 +418,9 @@
|
|||
# define GROUND_START_DELAY 0
|
||||
#endif
|
||||
|
||||
#ifndef AUTOMATIC_DECLINATION
|
||||
#define AUTOMATIC_DECLINATION DISABLED
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// ENABLE_AIR_START
|
||||
|
|
Loading…
Reference in New Issue