k
Dependents: 3rdcompfixstart 2ndcomp 4thcomp 6th33222_copy
Fork of Move by
move.h
- Committer:
- sakanakuuun
- Date:
- 2016-09-05
- Revision:
- 2:f25a09c5e113
- Parent:
- 1:405e28b64fdb
- Child:
- 3:cecaa0154f92
File content as of revision 2:f25a09c5e113:
#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 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 pmovex_minus(int); void pmove(int length); //好きな場所へ行く void pmove_to_dir(int direction, int x, int y);