Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
52:b4dddb28dffa
Parent:
39:1acea80563cf
Child:
54:fc7c8b5d4d41
--- a/handle/mavcommands.h	Wed Apr 23 04:09:06 2014 +0000
+++ b/handle/mavcommands.h	Sat Apr 26 03:35:53 2014 +0000
@@ -54,13 +54,22 @@
 } MAV_MISSION_ITEM;
 
 typedef struct MAV_DATA_STREAM_S{
+    uint16_t rate; // Hz
     uint8_t targSys;
     uint8_t targComp;
     uint8_t streamID;
-    uint16_t rate; // Hz
     uint8_t start; // Set to 1 to start and 0 to stop
 } MAV_DATA_STREAM;
 
+typedef struct MAV_LOCDATA_S{
+    uint32_t lat;
+    uint32_t lon;
+    uint32_t alt;
+    uint16_t x;
+    uint16_t y;
+    uint16_t z;
+}MAV_LOCDATA;
+
 class MavCmd{
 private:
     MAV_REQUEST_LIST req;
@@ -70,6 +79,7 @@
     MAV_MISSION_ITEM issueItem;
     MAV_MISSION_ITEM issueStart;
     MAV_MISSION_ITEM issueTakeOff;
+    MAV_DATA_STREAM issueStreamReq;
     
     // Local variables
     bool startSetup;    // Set to true to initiate startup sequence