手動b足回り

Dependents:   kobayashi_rei

Committer:
THtakahiro702286
Date:
Mon Jul 08 08:45:38 2019 +0000
Revision:
0:0d52f303ac08
Child:
1:3c9eaf598f21
syudou b wheel control

Who changed what in which revision?

UserRevisionLine numberNew contents of line
THtakahiro702286 0:0d52f303ac08 1 #ifndef WHEELUNIT_H
THtakahiro702286 0:0d52f303ac08 2 #define WHEELUNIT_H
THtakahiro702286 0:0d52f303ac08 3
THtakahiro702286 0:0d52f303ac08 4 #define PI 3.1415926535
THtakahiro702286 0:0d52f303ac08 5
THtakahiro702286 0:0d52f303ac08 6 #include "mbed.h"
THtakahiro702286 0:0d52f303ac08 7 //#include "config.h"
THtakahiro702286 0:0d52f303ac08 8 #include "ikarashiMDC.h"
THtakahiro702286 0:0d52f303ac08 9 #include "omni_wheel.h"
THtakahiro702286 0:0d52f303ac08 10
THtakahiro702286 0:0d52f303ac08 11 class WheelUnit
THtakahiro702286 0:0d52f303ac08 12 {
THtakahiro702286 0:0d52f303ac08 13 public:
THtakahiro702286 0:0d52f303ac08 14 WheelUnit(Serial* serial);
THtakahiro702286 0:0d52f303ac08 15 void move(float x,float y,float turnPower);
THtakahiro702286 0:0d52f303ac08 16 void stop();
THtakahiro702286 0:0d52f303ac08 17
THtakahiro702286 0:0d52f303ac08 18 private:
THtakahiro702286 0:0d52f303ac08 19 OmniWheel omni;
THtakahiro702286 0:0d52f303ac08 20 ikarashiMDC **md;
THtakahiro702286 0:0d52f303ac08 21 Serial pc;
THtakahiro702286 0:0d52f303ac08 22 float print;
THtakahiro702286 0:0d52f303ac08 23 };
THtakahiro702286 0:0d52f303ac08 24
THtakahiro702286 0:0d52f303ac08 25 #endif