k
Dependents: 3rdcompfixstart 2ndcomp 4thcomp 6th33222_copy
Fork of Move by
Diff: move.h
- Revision:
- 0:d7ff86f25eaa
- Child:
- 1:405e28b64fdb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/move.h Fri Sep 02 12:40:45 2016 +0000 @@ -0,0 +1,24 @@ +#define ALLOW_RAD 0.01 + +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_direction(int rad); + +void pmovex(int length); + +void pmovey(int length); \ No newline at end of file