Browse Source

GPS is disabled in this version to debug some bad behavior. If it doesn't stabilize well. Let me know.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1823 f9c3cf11-9bcb-44bc-f272-b75c42450872
master
jasonshort 14 years ago
parent
commit
2a4cb2095f
  1. 8
      ArduCopterMega/ArduCopterMega.pde
  2. 2
      ArduCopterMega/system.pde

8
ArduCopterMega/ArduCopterMega.pde

@ -448,9 +448,9 @@ void loop() @@ -448,9 +448,9 @@ void loop()
G_Dt = (float)delta_ms_fast_loop / 1000.f; // used by DCM integrator
mainLoop_count++;
if(delta_ms_fast_loop > 11){
Serial.println(delta_ms_fast_loop,DEC);
}
//if(delta_ms_fast_loop > 11){
// Serial.println(delta_ms_fast_loop,DEC);
//}
// Execute the fast loop
// ---------------------
fast_loop();
@ -524,7 +524,7 @@ void medium_loop() @@ -524,7 +524,7 @@ void medium_loop()
case 0:
medium_loopCounter++;
update_GPS();
//update_GPS();
//readCommands();
if(g.compass_enabled){

2
ArduCopterMega/system.pde

@ -193,7 +193,7 @@ void init_ardupilot() @@ -193,7 +193,7 @@ void init_ardupilot()
// read in the flight switches
//update_servo_switches();
//imu.init_gyro(IMU::WARM_START); // offsets are loaded from EEPROM
//imu.init_gyro(IMU::WARM_START);
startup_ground();

Loading…
Cancel
Save