with class
Dependencies: ISR_Mini-explorer mbed
Fork of VirtualForces by
Diff: Map.hpp
- Revision:
- 35:68f9edbb3cff
- Parent:
- 34:c208497dd079
- Child:
- 36:b59d56d0b3b4
--- a/Map.hpp Fri Jun 09 14:30:21 2017 +0000 +++ b/Map.hpp Sun Jun 11 22:40:37 2017 +0000 @@ -48,21 +48,22 @@ //Updates map value void update_cell_value(int widthIndice,int heightIndice ,float proba); + + //fill initialLogValues with the values we already know (here the bordurs) + void fill_initialLogValues(); //returns the probability [0,1] that the cell is occupied from the log valAue lt float log_to_proba(float lt); //returns the log value that the cell is occupied from the probability value [0,1] float proba_to_log(float p); - - //fill initialLogValues with the values we already know (here the bordurs) - void fill_initialLogValues(); - + + /* + float robot_x_coordinate_in_world(float robot_x, float robot_y); float robot_y_coordinate_in_world(float robot_x, float robot_y); - /* void print_final_map(); void print_final_map_with_robot_position(float robot_x,float robot_y);