![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
Diff: main.cpp
- Revision:
- 31:f7eb7c9fc8db
- Parent:
- 30:af136b83b202
- Child:
- 32:21229c96144a
--- a/main.cpp Tue Sep 04 23:03:50 2018 +0000 +++ b/main.cpp Tue Sep 04 23:09:52 2018 +0000 @@ -53,7 +53,10 @@ //シュート位置計算 int boxspace = CalPutPlace(work[worknum].color); //ボックスに行く(失敗(-1)したらcontinue) + //3のときだけ特別に速度下げる + if(worknum == 3) kServoVelocity_mm = 100; if(Go(shootingbox[boxspace]) != 0) continue; + kServoVelocity_mm = 300; //放す Open(); //上に持ち上げる