yei
Dependencies: interface mbed enc_1multi calPID motorout KondoServoLibrary
Fork of cat18_operate by
Diff: main.cpp
- Revision:
- 41:7e3b95c2fcac
- Parent:
- 40:583e65cf4fd2
diff -r 583e65cf4fd2 -r 7e3b95c2fcac main.cpp --- a/main.cpp Sat Sep 08 02:40:10 2018 +0000 +++ b/main.cpp Sat Sep 08 04:35:17 2018 +0000 @@ -13,7 +13,12 @@ #include "coordinate.h" //#define DEBUG_MODE const int kWait_ms = 500; -const double kServoOffsetDegreeInBox = 5; +const double kServoOffsetDegreeInBox = +#ifdef RIGHT + 7; +#elif defined LEFT + 7; +#endif int worknum = 0; int main() @@ -61,6 +66,6 @@ shootingbox[boxspace].is_exist = 1; shootingbox[boxspace].color = work[worknum].color; } - // SpiSetup(); + // SpiSetup(); //ManualMode(); } \ No newline at end of file