version2

Dependencies:   BNO055_fusion mbed

Fork of DEMO2 by Antoine Laurens

Revision:
6:0602a9e8118b
Child:
15:7729da55873a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LOCOMOTION.h	Wed Mar 16 22:05:23 2016 +0000
@@ -0,0 +1,21 @@
+#ifndef LOCOMOTION_H
+#define LOCOMOTION_H
+
+#include "mbed.h"
+
+typedef struct {
+    uint8_t m1f;
+    uint8_t m1b;
+    uint8_t m2f;
+    uint8_t m2b;
+    bool    f1;
+    bool    f2;
+} LOCOMOTION_speed;
+
+class LOCOMOTION
+{
+public:
+    LOCOMOTION(PwmOut& motor1F, PwmOut& motor1B,PwmOut& motor2F, PwmOut& motor2B, DigitalOut& forward1, DigitalOut& forward2);
+    LOCOMOTION_speed _speed;
+};
+#endif
\ No newline at end of file