Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: IMU MODSERIAL Servo mbed
Fork of RTOS_Controller_v2 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
