mirror of https://github.com/ArduPilot/ardupilot
added better default value for longitude scaling
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1490 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
521d7ab424
commit
8423ab6364
|
@ -168,8 +168,8 @@ PID pid_sonar_throttle (EE_GAIN_10);
|
|||
// -------------
|
||||
byte ground_start_count = 5; // have we achieved first lock and set Home?
|
||||
const float t7 = 10000000.0; // used to scale GPS values for EEPROM storage
|
||||
float scaleLongUp; // used to reverse longtitude scaling
|
||||
float scaleLongDown; // used to reverse longtitude scaling
|
||||
float scaleLongUp = 1; // used to reverse longtitude scaling
|
||||
float scaleLongDown = 1; // used to reverse longtitude scaling
|
||||
boolean GPS_light = false; // status of the GPS light
|
||||
|
||||
// Location & Navigation
|
||||
|
@ -526,7 +526,7 @@ void medium_loop()
|
|||
//-------------------
|
||||
case 2:
|
||||
medium_loopCounter++;
|
||||
|
||||
|
||||
// Read Baro pressure
|
||||
// ------------------
|
||||
read_barometer();
|
||||
|
@ -613,6 +613,10 @@ void medium_loop()
|
|||
flight_lights();
|
||||
#endif
|
||||
|
||||
#if ENABLE_xx
|
||||
do_something_usefull();
|
||||
#endif
|
||||
|
||||
|
||||
if (millis() - perf_mon_timer > 20000) {
|
||||
if (mainLoop_count != 0) {
|
||||
|
|
Loading…
Reference in New Issue