ESE350 project, Spring 2016, University of Pennsylvania
Dependencies: Adafruit9-DOf Receiver mbed-rtos mbed
Diff: quadcopter.h
- Revision:
- 6:6f3ffd97d808
- Child:
- 7:f3f94eadc5b5
diff -r f007542f1dab -r 6f3ffd97d808 quadcopter.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/quadcopter.h Sat Apr 02 13:13:41 2016 +0000 @@ -0,0 +1,26 @@ +#ifndef QUADCOPTER_H +#define QUADCOPTER_H + + +struct _state { + double phi; + double theta; + double psi; +}; + +class Quadcopter +{ +private: + _state state; + + +public: + Quadcopter(); + + void SetState(double phi, double theta, double psi); + + _state getState() { return state; } + +}; + +#endif \ No newline at end of file