Robosub controller

Dependencies:   IMU MODSERIAL Servo mbed

Fork of RTOS_Controller by Marco Rubio

Committer:
gelmes
Date:
Mon Jul 04 18:56:23 2016 +0000
Revision:
3:5ffe7e9c0bb3
Parent:
2:aabc14a9a8c8
Child:
4:b37fd183e46a
Quaternions are holding me back

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gelmes 3:5ffe7e9c0bb3 1 // Continuously sweep the servo through it's full range
gelmes 3:5ffe7e9c0bb3 2 #include "mbed.h"
gelmes 3:5ffe7e9c0bb3 3 #include "vessel.h"
gelmes 3:5ffe7e9c0bb3 4
gelmes 3:5ffe7e9c0bb3 5 int main()
gelmes 3:5ffe7e9c0bb3 6 {
gelmes 3:5ffe7e9c0bb3 7 Vessel seagoat; //Starts the seagoat
gelmes 3:5ffe7e9c0bb3 8 seagoat.SetYawPID(1,1,1);
gelmes 3:5ffe7e9c0bb3 9 seagoat.SetRollPID(1,1,1);
gelmes 3:5ffe7e9c0bb3 10 seagoat.SetPitchPID(1,1,1);
gelmes 3:5ffe7e9c0bb3 11
gelmes 3:5ffe7e9c0bb3 12 while(1) {}
gelmes 3:5ffe7e9c0bb3 13 }