Updated version with comments
Dependencies: IMU MODSERIAL Servo mbed
Fork of RTOS_Controller_v3 by
Diff: main.cpp
- Revision:
- 6:b45b74fd6a07
- Parent:
- 5:07bbe020eb65
- Child:
- 7:396fa2a8648d
--- a/main.cpp Tue Jul 26 17:22:33 2016 +0000 +++ b/main.cpp Wed Jul 27 02:45:45 2016 +0000 @@ -2,10 +2,10 @@ #include "mbed.h" #include "vessel.h" + int main() { Timer t; - wait(3); Vessel seagoat; //Starts the seagoat seagoat.SetYawPID(4,0,0); @@ -29,7 +29,7 @@ //seagoat.motorTest(); seagoat.update(); - + seagoat.updateCommand(); wait(0.01); } } \ No newline at end of file