NHK2017 octopus robot
Dependencies: 2017NHKpin_config mbed FEP ikarashiMDC PID jy901 omni HMC6352 omni_wheel
Fork of KANI2017v2 by
Diff: bot/bot.cpp
- Revision:
- 5:bc5ba4f070ad
- Parent:
- 2:ea151e05033a
- Child:
- 15:9a2dce34b660
--- a/bot/bot.cpp Wed Aug 23 01:12:53 2017 +0000 +++ b/bot/bot.cpp Thu Aug 24 08:16:09 2017 +0000 @@ -7,12 +7,13 @@ void Bot::confirmAll() { receiveState(); + confirm(); if(vector2[1] > 0.5)setSetPoint(vector2[0]); } void Bot::controllDrive() { - goPolar(vector, co); + goXY(stick[0],stick[1], co); } void Bot::controllMech()