Controller for Seagoat in the RoboSub competition

Dependencies:   Servo mbed

Fork of ESC by Matteo Terruzzi

main.cpp

Committer:
gelmes
Date:
2016-07-04
Revision:
3:5ffe7e9c0bb3
Parent:
2:aabc14a9a8c8
Child:
4:b37fd183e46a

File content as of revision 3:5ffe7e9c0bb3:

// Continuously sweep the servo through it's full range
#include "mbed.h"
#include "vessel.h"

int main()
{  
    Vessel seagoat; //Starts the seagoat
    seagoat.SetYawPID(1,1,1);    
    seagoat.SetRollPID(1,1,1);    
    seagoat.SetPitchPID(1,1,1);    
    
    while(1) {}
}