ESE350 project, Spring 2016, University of Pennsylvania

Dependencies:   Adafruit9-DOf Receiver mbed-rtos mbed

quadcopter.h

Committer:
ivo_david_michelle
Date:
2016-04-02
Revision:
6:6f3ffd97d808
Child:
7:f3f94eadc5b5

File content as of revision 6:6f3ffd97d808:

#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