test morning

Dependencies:   ISR_Mini-explorer mbed

Fork of roboticLab_withclass_3_July by Georgios Tsamis

Committer:
Ludwigfr
Date:
Thu Jul 06 11:36:18 2017 +0000
Revision:
3:37345c109dfc
Parent:
2:11cd5173aa36
Child:
4:8132a0291c4b
test that

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 3:37345c109dfc 6 //middle arena ISR 60,40
Ludwigfr 3:37345c109dfc 7 MiniExplorerCoimbra myRobot(110,70,-3.14,120,80);//0,0,0 : lower left, facing right
geotsam 1:20f48907c726 8 //test lab1
Ludwigfr 3:37345c109dfc 9 //myRobot.go_to_point(70,50);//SELECT A TARGET BETWEEN (0,0) and(widthRealMap,heightRealMap)
Ludwigfr 3:37345c109dfc 10 //myRobot.go_to_line_first_lab(1,-2,4);//I think it works but it will always go the right
Ludwigfr 3:37345c109dfc 11 //myRobot.go_to_point_with_angle_first_lab(10,70,3.14/2);//SELECT A TARGET BETWEEN (0,0) and(widthRealMap,heightRealMap)
geotsam 1:20f48907c726 12
Ludwigfr 0:9f7ee7ed13e4 13 //test lab2
Ludwigfr 2:11cd5173aa36 14 //reminder for now the sonar is in debugged, if no problem,comment the right code for presentaiton
Ludwigfr 2:11cd5173aa36 15 //myRobot.test_sonars_and_map(25);
Ludwigfr 3:37345c109dfc 16 //myRobot.test_procedure_lab2(10);
geotsam 1:20f48907c726 17
Ludwigfr 0:9f7ee7ed13e4 18 //test lab3
Ludwigfr 3:37345c109dfc 19 myRobot.try_to_reach_target(10,40);//need to adjust the constants.
Ludwigfr 0:9f7ee7ed13e4 20 return 0;
Ludwigfr 0:9f7ee7ed13e4 21 }
Ludwigfr 0:9f7ee7ed13e4 22