aaa

Fork of Move by 涼太郎 中村

move.h

Committer:
sakanakuuun
Date:
2016-09-06
Revision:
5:0e18cf25291a
Parent:
4:4c574be6325c
Child:
6:0aa97a99c9cb

File content as of revision 5:0e18cf25291a:

#define ALLOW_RAD   0.005
#define CW          true
#define CCW         false

#define X_PLUS        1
#define Y_PLUS        2
#define X_MINUS       -1
#define Y_MINUS       -2             

void initmotor();

void move(int left,int right);

void turn_cw();

void turn_ccw();

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

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

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

void back(int x, int y);