QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Committer:
stearnsc
Date:
Tue Apr 01 17:58:35 2014 +0000
Revision:
8:28b866df62cf
Child:
9:da906eeac51e
cs: move GPS parsing into handleGPS; initial flightControl implemented. Doesn't compile.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
stearnsc 8:28b866df62cf 1 class FlightControl{
stearnsc 8:28b866df62cf 2 public:
stearnsc 8:28b866df62cf 3 void startPWM();
stearnsc 8:28b866df62cf 4 //-500 means full back; 500 means full forward
stearnsc 8:28b866df62cf 5 void setPitch(int vel);
stearnsc 8:28b866df62cf 6
stearnsc 8:28b866df62cf 7 //-500 means full left; 500 means full right
stearnsc 8:28b866df62cf 8 void setRoll(int vel);
stearnsc 8:28b866df62cf 9
stearnsc 8:28b866df62cf 10 //0 means no throttle, 1000 means full throttle
stearnsc 8:28b866df62cf 11 void setThrottle(int throttle);
stearnsc 8:28b866df62cf 12
stearnsc 8:28b866df62cf 13 void setArmState(bool arm);
stearnsc 8:28b866df62cf 14
stearnsc 8:28b866df62cf 15 void setHoldAltitude(bool hold);
stearnsc 8:28b866df62cf 16 }