with class
Dependencies: ISR_Mini-explorer mbed
Fork of VirtualForces by
Diff: Map.hpp
- Revision:
- 36:b59d56d0b3b4
- Parent:
- 35:68f9edbb3cff
- Child:
- 39:890439b495e3
--- a/Map.hpp Sun Jun 11 22:40:37 2017 +0000 +++ b/Map.hpp Sun Jun 11 22:53:59 2017 +0000 @@ -48,16 +48,18 @@ //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); + private: + + //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);