aaa

wheelUnit.h

Committer:
THtakahiro702286
Date:
2019-07-08
Revision:
0:0d52f303ac08
Child:
1:3c9eaf598f21

File content as of revision 0:0d52f303ac08:

#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