4 #include "../../src/core/maps/grid_map.h" 5 #include "../../src/tiny_slam/tiny_grid_cells.h" 9 MapParams (
int height = 0,
int width = 0,
int map_center_x = 0,
int map_center_y = 0) :
30 int x0 = is_center_x_shifted ? 0 :
32 int y0 = is_center_y_shifted ? 0 :
36 for (i = x0; i < map.
width(); ++i) {
37 for (j = y0; j < map.
height(); ++j) {
double cell_value(const DiscretePoint2D &cell_coord) const
int width() const
Returns the width of the map.
int height() const
Returns thr height of the map.
An occupancy grid implementation.
MapParams(int height=0, int width=0, int map_center_x=0, int map_center_y=0)
friend bool operator==(const MapParams &left, const MapParams &right)
bool test_CellValueNotChange(GridMap map)