Acceleration sensor control and basic vision framework
[mardrone] / mardrone / navdata.h
index 8707766..f46ed61 100644 (file)
@@ -6,6 +6,15 @@
 #include <navdata_common.h>
 #include "config.h"
 
+struct tag_t {
+    unsigned int type;
+    unsigned int xc;
+    unsigned int yc;
+    unsigned int width;
+    unsigned int height;
+    unsigned int dist;
+};
+
 class NavData : public QObject
 {
     Q_OBJECT
@@ -34,6 +43,7 @@ public:
     int pwm_motor2;
     int pwm_motor3;
     int pwm_motor4;
+    tag_t tags[4];
 signals:
     void navDataUpdated();
     void stateUpdated();