AC_PID: fixed example build
This commit is contained in:
parent
495dfc30e6
commit
eb5ac90e12
@ -7,6 +7,7 @@
|
|||||||
#include <Arduino_Mega_ISR_Registry.h>
|
#include <Arduino_Mega_ISR_Registry.h>
|
||||||
#include <FastSerial.h>
|
#include <FastSerial.h>
|
||||||
#include <AP_Common.h>
|
#include <AP_Common.h>
|
||||||
|
#include <AP_Math.h>
|
||||||
#include <APM_RC.h> // ArduPilot RC Library
|
#include <APM_RC.h> // ArduPilot RC Library
|
||||||
#include <AC_PID.h> // ArduPilot Mega RC Library
|
#include <AC_PID.h> // ArduPilot Mega RC Library
|
||||||
|
|
||||||
@ -61,4 +62,4 @@ void loop()
|
|||||||
Serial.printf("radio: %d\t err: %d\t pid:%d\n", radio_in, error, control);
|
Serial.printf("radio: %d\t err: %d\t pid:%d\n", radio_in, error, control);
|
||||||
delay(50);
|
delay(50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user