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?
|
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
|
const float t7 = 10000000.0; // used to scale GPS values for EEPROM storage
|
||||||
float scaleLongUp; // used to reverse longtitude scaling
|
float scaleLongUp = 1; // used to reverse longtitude scaling
|
||||||
float scaleLongDown; // used to reverse longtitude scaling
|
float scaleLongDown = 1; // used to reverse longtitude scaling
|
||||||
boolean GPS_light = false; // status of the GPS light
|
boolean GPS_light = false; // status of the GPS light
|
||||||
|
|
||||||
// Location & Navigation
|
// Location & Navigation
|
||||||
|
@ -613,6 +613,10 @@ void medium_loop()
|
||||||
flight_lights();
|
flight_lights();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLE_xx
|
||||||
|
do_something_usefull();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
if (millis() - perf_mon_timer > 20000) {
|
if (millis() - perf_mon_timer > 20000) {
|
||||||
if (mainLoop_count != 0) {
|
if (mainLoop_count != 0) {
|
||||||
|
|
Loading…
Reference in New Issue