ESE350 project, Spring 2016, University of Pennsylvania

Dependencies:   Adafruit9-DOf Receiver mbed-rtos mbed

Revision:
6:6f3ffd97d808
Child:
7:f3f94eadc5b5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/quadcopter.cpp	Sat Apr 02 13:13:41 2016 +0000
@@ -0,0 +1,15 @@
+#include "quadcopter.h"
+ 
+// Date constructor
+Quadcopter::Quadcopter()
+{
+    SetState(0.0,0.0,0.0);
+}
+ 
+// Date member function
+void Quadcopter::SetState(double phi, double theta, double psi)
+{
+    state.phi = phi;
+    state.theta = theta;
+    state.psi = psi;
+}
\ No newline at end of file