tianyun ma / Mbed 2 deprecated omni

Dependencies:   QEI mbed

Revision:
0:5d1c1999d61d
diff -r 000000000000 -r 5d1c1999d61d Omni/Omni.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Omni/Omni.h	Mon May 07 06:58:54 2018 +0000
@@ -0,0 +1,16 @@
+#ifndef OMNI_H_
+#define OMNI_H_
+#include "Motor_3.h"
+#include "mbed.h"
+#include "math.h"
+class Omni{
+public:
+    Omni():_Vx(0),_Vy(0),_argular(0){}
+    void mv_x(double speed);
+    void mv_y(double speed);
+protected:
+    double _Vx;
+    double _Vy;
+    double _argular;
+};
+#endif;
\ No newline at end of file