test morning

Dependencies:   ISR_Mini-explorer mbed

Fork of roboticLab_withclass_3_July by Georgios Tsamis

Committer:
Ludwigfr
Date:
Wed Jul 05 08:56:12 2017 +0000
Revision:
2:11cd5173aa36
Parent:
1:20f48907c726
Child:
3:37345c109dfc
test 05 07 9:56

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Ludwigfr 0:9f7ee7ed13e4 1 #include "MiniExplorerCoimbra.hpp"
Ludwigfr 0:9f7ee7ed13e4 2
Ludwigfr 0:9f7ee7ed13e4 3 int main(){
Ludwigfr 2:11cd5173aa36 4
Ludwigfr 2:11cd5173aa36 5 //defaultXWorld, defaultYWorld, defaultThetaWorld, widthRealMap, heightRealMap
Ludwigfr 2:11cd5173aa36 6 MiniExplorerCoimbra myRobot(100,100,3.14/2,200,200);//0,0,0 : lower left, facing right
geotsam 1:20f48907c726 7 //test lab1
Ludwigfr 2:11cd5173aa36 8 //myRobot.go_to_point(-50,-80);
Ludwigfr 2:11cd5173aa36 9 //myRobot.go_to_line_first_lab(-1,1,0);
geotsam 1:20f48907c726 10 //myRobot.go_to_point_with_angle_first_lab(45,80,3.14);
geotsam 1:20f48907c726 11
Ludwigfr 0:9f7ee7ed13e4 12 //test lab2
Ludwigfr 2:11cd5173aa36 13 //reminder for now the sonar is in debugged, if no problem,comment the right code for presentaiton
Ludwigfr 2:11cd5173aa36 14 //myRobot.test_sonars_and_map(25);
Ludwigfr 2:11cd5173aa36 15 //myRobot.test_procedure_lab2(25);
geotsam 1:20f48907c726 16
Ludwigfr 0:9f7ee7ed13e4 17 //test lab3
Ludwigfr 0:9f7ee7ed13e4 18 //myRobot.try_to_reach_target(50,30);
Ludwigfr 0:9f7ee7ed13e4 19 return 0;
Ludwigfr 0:9f7ee7ed13e4 20 }
Ludwigfr 0:9f7ee7ed13e4 21