tianyun ma / Mbed 2 deprecated mecanum_4

Dependencies:   mbed

Revision:
0:b7d3adaffc0a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mecanum_4.h	Mon May 07 06:57:22 2018 +0000
@@ -0,0 +1,23 @@
+#ifndef MECANUM_4_H_
+#define MECANUM_4_H_
+#include "Motor_3.h"
+#include "mbed.h"
+
+
+class mecanum_4
+{
+public:
+//    mecanum_4:Motor_3 front_left(PB_3,PB_4,PB_1) {}
+//    mecanum_4:Motor_3 front_right(PA_12,PA_15,PB_0) {}
+//    mecanum_4:Motor_3 back_left(PB_13,PB_12,PA_6) {}
+//    mecanum_4:Motor_3 back_right(PB_15,PB_14,PA_7) {} 
+    void mv_x(float speed);//x
+    void mv_y(float speed);//y
+    void rotate(float speed);//rotate
+    void r_ob(float speed);//正斜向
+    void i_ob(float speed);//反斜向
+    void any_degree(float degree,float time);
+private:
+
+};
+#endif