手動b足回り

Dependents:   kobayashi_rei

Revision:
0:0d52f303ac08
Child:
1:3c9eaf598f21
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wheelUnit.h	Mon Jul 08 08:45:38 2019 +0000
@@ -0,0 +1,25 @@
+#ifndef WHEELUNIT_H
+#define WHEELUNIT_H
+
+#define PI 3.1415926535
+
+#include "mbed.h"
+//#include "config.h"
+#include "ikarashiMDC.h"
+#include "omni_wheel.h"
+
+class WheelUnit
+{
+public:
+    WheelUnit(Serial* serial);
+    void move(float x,float y,float turnPower);
+    void stop();
+
+private:
+    OmniWheel omni;
+    ikarashiMDC **md;
+    Serial pc;
+    float print;
+};
+
+#endif
\ No newline at end of file