Guillaume Chauvon
/
Asserve12
asser1
Diff: main.cpp
- Revision:
- 1:0690cf83f060
- Parent:
- 0:6ca63d45f0ee
- Child:
- 2:5764f89a27f6
diff -r 6ca63d45f0ee -r 0690cf83f060 main.cpp --- a/main.cpp Tue Dec 11 19:12:55 2018 +0000 +++ b/main.cpp Wed Dec 12 20:03:07 2018 +0000 @@ -11,9 +11,31 @@ init_odometrie(); init_hardware(); - test_ligne_droite(1000000, 900); + + wait(3); + + test_ligne_droite(162000, 600); + test_rotation_rel(90,100); + test_ligne_droite(74000,300); + + /*while(1) + { + for (int i =0; i<4; i++) + { + test_ligne_droite(30000,500); - + test_rotation_rel(90,100); + } + test_rotation_abs(0,100); + + for (int i =0; i<4; i++) + { + test_ligne_droite(150000, 600); + test_rotation_rel(180,100); + } + test_rotation_abs(0,100); + }*/ + return 0; }