aaa
Fork of Move by
Diff: move.h
- Revision:
- 22:eed10c0b7fe0
- Parent:
- 18:4c812a3c7411
- Child:
- 24:d041fc34d846
--- a/move.h Sat Sep 10 13:07:50 2016 +0000 +++ b/move.h Sat Sep 10 17:04:45 2016 +0000 @@ -9,29 +9,36 @@ void initmotor(); +//指定速度で動く void move(int left,int right); +//角度の微調整 void hosei_turn(float pt, bool cw, float rad); //好きな向きに回転 void turnrad(float rad); +//反時計周り void turnrad_cw(float rad); +//時計周り void turnrad_ccw(float rad); //好きな場所へ行く void pmove(int x, int y); +//斜め移動版 void pmove2(int x, int y); void back300(); void nxback300(); +void pyback300(int team); + +void nyback300(int team); + //都合のいいpi*nを返す float nearPi(float rad); -float giveatan(int, int); - -//void back(int x, int y); \ No newline at end of file +float giveatan(int x, int y); \ No newline at end of file