mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Corrected default Magnetometer orientation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1106 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
21634dad19
commit
339845770c
@ -144,9 +144,9 @@
|
||||
// Magneto orientation and corrections.
|
||||
// If you don't have magneto activated, It is safe to ignore these
|
||||
//#ifdef IsMAG
|
||||
//#define MAGORIENTATION APM_COMPASS_COMPONENTS_UP_PINS_FORWARD // This is default solution for ArduCopter
|
||||
#define MAGORIENTATION APM_COMPASS_COMPONENTS_UP_PINS_FORWARD // This is default solution for ArduCopter
|
||||
//#define MAGORIENTATION APM_COMPASS_COMPONENTS_UP_PINS_BACK // Alternative orientation for ArduCopter
|
||||
#define MAGORIENTATION APM_COMPASS_COMPONENTS_DOWN_PINS_FORWARD // If you have soldered Magneto to IMU shield in WIki pictures shows
|
||||
//#define MAGORIENTATION APM_COMPASS_COMPONENTS_DOWN_PINS_FORWARD // If you have soldered Magneto to IMU shield in WIki pictures shows
|
||||
|
||||
// To get Magneto offsets, switch to CLI mode and run offset calibration. During calibration
|
||||
// you need to roll/bank/tilt/yaw/shake etc your ArduCopter. Don't kick like Jani always does :)
|
||||
@ -158,7 +158,7 @@
|
||||
// Declination is a correction factor between North Pole and real magnetic North. This is different on every location
|
||||
// IF you want to use really accurate headholding and future navigation features, you should update this
|
||||
// You can check Declination to your location from http://www.magnetic-declination.com/
|
||||
#define DECLINATION 0.00
|
||||
#define DECLINATION 0.0
|
||||
|
||||
//#define DECLINATION 0.61
|
||||
|
||||
@ -509,4 +509,4 @@ void loop()
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -518,4 +518,4 @@ float readFloatSerial() {
|
||||
return atof(data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user