![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
with class
Dependencies: ISR_Mini-explorer mbed
Fork of VirtualForces by
Diff: MiniExplorerCoimbra.hpp
- Revision:
- 34:c208497dd079
- Parent:
- 33:814bcd7d3cfe
- Child:
- 35:68f9edbb3cff
diff -r 814bcd7d3cfe -r c208497dd079 MiniExplorerCoimbra.hpp --- a/MiniExplorerCoimbra.hpp Fri Jun 09 00:28:32 2017 +0000 +++ b/MiniExplorerCoimbra.hpp Fri Jun 09 14:30:21 2017 +0000 @@ -3,9 +3,8 @@ #include "Map.hpp" #include "Sonar.hpp" -#include "robot.h" -#include "mbed.h" -#include "math.h" +#include<math.h> + /* Robot coordinate system: World coordinate system: @@ -16,9 +15,9 @@ */ class MiniExplorerCoimbra { - + public: - + Map map; Sonar sonarLeft; Sonar sonarFront; @@ -85,7 +84,14 @@ > 0 if it is between 0 and PI */ void turn_to_target(float angleToTarget); + + void print_final_map(); + + void print_final_map_with_robot_position(float robot_x,float robot_y); + + void print_final_map_with_robot_position_and_target(float robot_x,float robot_y,float targetXWorld, float targetYWorld); }; + #endif