test morning
Dependencies: ISR_Mini-explorer mbed
Fork of roboticLab_withclass_3_July by
Diff: main.cpp
- Revision:
- 2:11cd5173aa36
- Parent:
- 1:20f48907c726
- Child:
- 3:37345c109dfc
--- a/main.cpp Mon Jul 03 17:06:16 2017 +0000 +++ b/main.cpp Wed Jul 05 08:56:12 2017 +0000 @@ -1,14 +1,18 @@ #include "MiniExplorerCoimbra.hpp" int main(){ - MiniExplorerCoimbra myRobot(0,0,0); + + //defaultXWorld, defaultYWorld, defaultThetaWorld, widthRealMap, heightRealMap + MiniExplorerCoimbra myRobot(100,100,3.14/2,200,200);//0,0,0 : lower left, facing right //test lab1 - //myRobot.go_to_point(-45,-80); - myRobot.go_to_line_first_lab(-1,1,0); + //myRobot.go_to_point(-50,-80); + //myRobot.go_to_line_first_lab(-1,1,0); //myRobot.go_to_point_with_angle_first_lab(45,80,3.14); //test lab2 - //myRobot.randomize_and_map(); + //reminder for now the sonar is in debugged, if no problem,comment the right code for presentaiton + //myRobot.test_sonars_and_map(25); + //myRobot.test_procedure_lab2(25); //test lab3 //myRobot.try_to_reach_target(50,30);