YUTA WATANABE / wheelUnit
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers wheelUnit.h Source File

wheelUnit.h

00001 #ifndef WHEELUNIT_H
00002 #define WHEELUNIT_H
00003 
00004 #define PI 3.1415926535
00005 
00006 #include "mbed.h"
00007 #include "pin_config.h"
00008 #include "ikarashiMDC.h"
00009 #include "omni_wheel.h"
00010 
00011 class WheelUnit
00012 {
00013 public:
00014     WheelUnit(Serial* serial);
00015     void move(float x,float y,float turnPower);
00016     void stop();
00017 
00018 private:
00019     OmniWheel omni;
00020     ikarashiMDC **md;
00021     Serial pc;
00022     float print;
00023     float wheel[4];
00024 };
00025 
00026 #endif