
Robot's source code
Dependencies: mbed
Diff: main.cpp
- Revision:
- 16:6bd245b26423
- Parent:
- 11:5513638d3c13
- Child:
- 17:f360e21d3307
--- a/main.cpp Fri Oct 03 14:20:48 2014 +0000 +++ b/main.cpp Fri Oct 03 14:53:35 2014 +0000 @@ -59,7 +59,7 @@ /*desired State : (x y theta phiright phileft)*/ Mat<double> dX((double)0, nbrstate, 1); dX.set( (double)0, 1,1); - dX.set( (double)10, 2,1); + dX.set( (double)100, 2,1); dX.set( (double)0, 3,1); dX.set( (double)0, 4,1); dX.set( (double)0, 5,1); @@ -97,6 +97,7 @@ instance.computeCommand(dX, (double)dt, -1); pc.printf("command : \n phi_r = %f \n phi_l = %f \n", phi_r/phi_max*100, phi_l/phi_max*100); + instance.getX().afficher(); /*------------------------------------------------------------------------------------------*/