手動b足回り

Dependents:   kobayashi_rei

wheelUnit.h

Committer:
THtakahiro702286
Date:
2019-07-10
Revision:
1:3c9eaf598f21
Parent:
0:0d52f303ac08
Child:
2:9017bbe177b7

File content as of revision 1:3c9eaf598f21:

#ifndef WHEELUNIT_H
#define WHEELUNIT_H

#define PI 3.1415926535

#include "mbed.h"
#include "pin_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