![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
NHK2017 octopus robot
Dependencies: 2017NHKpin_config mbed FEP ikarashiMDC PID jy901 omni HMC6352 omni_wheel
Fork of KANI2017v2 by
Diff: bot/wheel_unit/wheel_unit.cpp
- Revision:
- 25:d199d621ecca
- Parent:
- 24:9a4ca5442717
- Child:
- 26:7258d5ad0bff
--- a/bot/wheel_unit/wheel_unit.cpp Wed Sep 13 23:27:17 2017 +0900 +++ b/bot/wheel_unit/wheel_unit.cpp Sat Sep 30 17:59:10 2017 +0900 @@ -3,10 +3,10 @@ WheelUnit::WheelUnit(DigitalOut* RS485Controller, Serial* RS485) : Omni(4), wheels({ - {RS485Controller, 0, 0, SM, RS485}, {RS485Controller, 0, 1, SM, RS485}, {RS485Controller, 0, 2, SM, RS485}, - {RS485Controller, 0, 3, SM, RS485} + {RS485Controller, 0, 3, SM, RS485}, + {RS485Controller, 0, 0, SM, RS485} }) { Omni::setWheelRadian(PI / 4.0, 3 * PI / 4.0, 5 * PI / 4.0, 7 * PI / 4.0);