Guillaume Chauvon
/
Asserve12
asser1
main.cpp
- Committer:
- Coconara
- Date:
- 2018-12-12
- Revision:
- 1:0690cf83f060
- Parent:
- 0:6ca63d45f0ee
- Child:
- 2:5764f89a27f6
File content as of revision 1:0690cf83f060:
#include "mbed.h" #include "hardware.h" #include "odometrie.h" #include "reglages.h" #include "tests_moteurs.h" int main() { //init init_odometrie(); init_hardware(); 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; }