tianyun ma / Mbed 2 deprecated my_auto_mobi

Dependencies:   QEI mbed

Committer:
himarsmty
Date:
Thu May 10 04:44:46 2018 +0000
Revision:
0:528f6a3352b9
?

Who changed what in which revision?

UserRevisionLine numberNew contents of line
himarsmty 0:528f6a3352b9 1 #ifndef AUTO2WHEEL_H_
himarsmty 0:528f6a3352b9 2 #define AUTO2WHEEL_H_
himarsmty 0:528f6a3352b9 3 #include "mbed.h"
himarsmty 0:528f6a3352b9 4 #include "Motor_3.h"
himarsmty 0:528f6a3352b9 5 class auto2wheel{
himarsmty 0:528f6a3352b9 6 public:
himarsmty 0:528f6a3352b9 7 auto2wheel():_Vx1(0),_Vx2(0),_argular(0){}
himarsmty 0:528f6a3352b9 8 void mv_x(double speed1,double speed2);
himarsmty 0:528f6a3352b9 9 void spin(double argular);
himarsmty 0:528f6a3352b9 10 protected:
himarsmty 0:528f6a3352b9 11 double _Vx1;
himarsmty 0:528f6a3352b9 12 double _Vx2;
himarsmty 0:528f6a3352b9 13 double _argular;
himarsmty 0:528f6a3352b9 14 };
himarsmty 0:528f6a3352b9 15
himarsmty 0:528f6a3352b9 16 #endif