Robot's source code
Dependencies: mbed
Diff: main.cpp
- Revision:
- 87:e8b64b4174b8
- Parent:
- 82:3581a768f2db
- Child:
- 88:77d6ced9977e
diff -r 3581a768f2db -r e8b64b4174b8 main.cpp --- a/main.cpp Tue Apr 14 18:33:18 2015 +0000 +++ b/main.cpp Sat Apr 18 08:29:42 2015 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" -#define PLAN_B +#define PLAN_A #include "defines.h" @@ -115,6 +115,7 @@ motorR.setSpeed(0.08+(phi_r/phi_max)); motorL.setSpeed(0.06+(phi_l/phi_max)); +//#define test #ifdef test if(state == 0 && instanceAsserv.isArrivedRho()) {