Robot's source code
Dependencies: mbed
Diff: main.cpp
- Revision:
- 68:1ef8b1a37252
- Parent:
- 67:0bdf181586b5
- Child:
- 69:6354497f9f59
diff -r 0bdf181586b5 -r 1ef8b1a37252 main.cpp --- a/main.cpp Thu Apr 09 18:09:01 2015 +0000 +++ b/main.cpp Thu Apr 09 21:13:35 2015 +0000 @@ -85,9 +85,15 @@ while(!testOdo) { + //Parametrage des coef par bluetooth + /*while(logger.readable()) { + char c = logger.getc(); + if(c=='a') Kp += 0.001; + else if(c=='z') Kp -= 0.001; + }*/ + //Asservissement : - odometry.update(t.read()); asserv.update(t.read()); t.reset();