Browse Source

cleaning my branches for updates

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1807 f9c3cf11-9bcb-44bc-f272-b75c42450872
master
jphelirc 14 years ago
parent
commit
bf507ffe6d
  1. 4
      ArducopterNG/ArducopterNG.pde
  2. 4
      ArducopterNG/CLI.pde

4
ArducopterNG/ArducopterNG.pde

@ -146,9 +146,9 @@
// Magneto orientation and corrections. // Magneto orientation and corrections.
// If you don't have magneto activated, It is safe to ignore these // If you don't have magneto activated, It is safe to ignore these
//#ifdef IsMAG //#ifdef IsMAG
#define MAGORIENTATION AP_COMPASS_COMPONENTS_UP_PINS_FORWARD // This is default solution for ArduCopter //#define MAGORIENTATION AP_COMPASS_COMPONENTS_UP_PINS_FORWARD // This is default solution for ArduCopter
//#define MAGORIENTATION AP_COMPASS_COMPONENTS_UP_PINS_BACK // Alternative orientation for ArduCopter //#define MAGORIENTATION AP_COMPASS_COMPONENTS_UP_PINS_BACK // Alternative orientation for ArduCopter
//#define MAGORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD // If you have soldered Magneto to IMU shield in WIki pictures shows #define MAGORIENTATION AP_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 // 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 :) // you need to roll/bank/tilt/yaw/shake etc your ArduCopter. Don't kick like Jani always does :)

4
ArducopterNG/CLI.pde

@ -182,13 +182,13 @@ void CALIB_CompassOffset() {
// display all to user // display all to user
SerPri("Heading:"); SerPri("Heading:");
SerPri(ToDeg(AP_Compass.heading)); SerPri(ToDeg(AP_Compass.heading));
SerPri(" \t("); SerPri(" \t(");
SerPri(AP_Compass.mag_x); SerPri(AP_Compass.mag_x);
SerPri(","); SerPri(",");
SerPri(AP_Compass.mag_y); SerPri(AP_Compass.mag_y);
SerPri(","); SerPri(",");
SerPri(AP_Compass.mag_z); SerPri(AP_Compass.mag_z);
SerPri(")"); SerPri(") ");
// display offsets // display offsets
SerPri("\t offsets("); SerPri("\t offsets(");

Loading…
Cancel
Save