fs

Dependents:   ARAI45th 3servotest 1stcomp

move.h

Committer:
sakanakuuun
Date:
2016-09-03
Revision:
1:405e28b64fdb
Parent:
0:d7ff86f25eaa
Child:
2:f25a09c5e113

File content as of revision 1:405e28b64fdb:

#define ALLOW_RAD   0.01
#define CW          true
#define CCW         false

void initmotor();

void move(int left,int right);

void movelength(int length);

void turncw();

void turnccw();

void turn_cw();

void turn_ccw();

void hosei_turn(float pt, bool cw, float rad);

//好きな向きに回転
void turn_abs_rad(float rad);

void pmovex(int length);

void pmovey(int length);

void pmove(int length);

//好きな場所へ行く
void pmovex_to(int x, int y);