tianyun ma / Mbed 2 deprecated mecanum_4

Dependencies:   mbed

mecanum_4.h

Committer:
himarsmty
Date:
2018-05-07
Revision:
0:b7d3adaffc0a

File content as of revision 0:b7d3adaffc0a:

#ifndef MECANUM_4_H_
#define MECANUM_4_H_
#include "Motor_3.h"
#include "mbed.h"


class mecanum_4
{
public:
//    mecanum_4:Motor_3 front_left(PB_3,PB_4,PB_1) {}
//    mecanum_4:Motor_3 front_right(PA_12,PA_15,PB_0) {}
//    mecanum_4:Motor_3 back_left(PB_13,PB_12,PA_6) {}
//    mecanum_4:Motor_3 back_right(PB_15,PB_14,PA_7) {} 
    void mv_x(float speed);//x
    void mv_y(float speed);//y
    void rotate(float speed);//rotate
    void r_ob(float speed);//正斜向
    void i_ob(float speed);//反斜向
    void any_degree(float degree,float time);
private:

};
#endif