Browse Source

updates for new DCM code

G_Dt is no longer needed by the DCM
mission-4.1.18
Andrew Tridgell 14 years ago
parent
commit
0425f4be54
  1. 2
      ArduCopter/ArduCopter.pde
  2. 2
      ArduCopter/test.pde

2
ArduCopter/ArduCopter.pde

@ -1209,7 +1209,7 @@ static void read_AHRS(void) @@ -1209,7 +1209,7 @@ static void read_AHRS(void)
hil.update();
#endif
dcm.update_DCM_fast(G_Dt);//, _tog);
dcm.update_DCM_fast();
omega = dcm.get_gyro();
}

2
ArduCopter/test.pde

@ -362,7 +362,7 @@ test_adc(uint8_t argc, const Menu::arg *argv) @@ -362,7 +362,7 @@ test_adc(uint8_t argc, const Menu::arg *argv)
while(1){
for(int i = 0; i < 9; i++){
Serial.printf_P(PSTR("%d,"),adc.Ch(i));
Serial.printf_P(PSTR("%u,"),adc.Ch(i));
}
Serial.println();
delay(20);

Loading…
Cancel
Save