19 std::cout <<
"Inside of check map equal" << std::endl;
25 return mapConfig == _config;
32 return (mapLen(0) == _len(0)) &&
33 (mapLen(1) == _len(1)) &&
45 return (pos(0) == _x) && (pos(1) == _y);
56 if (std::isnan(gridMap.
at(
"ground", index)) || std::isnan(gridMap.
at(
"nonground", index)) ||
57 std::isnan(gridMap.
at(
"permanent", index)))
73 if (_map.
gridMap_.
at(_layer, index) != _answerMat(index(0), index(1)))
76 std::cerr <<
"Map: " << _map.
gridMap_[_layer] << std::endl;
77 std::cerr <<
"Answer Mat: " << _answerMat << std::endl;
92 if (_map.
gridMap_.
at(_layer, index) != _answerMat(index(0), index(1)))
const Length & getLength() const
bool TestMapCells(SensorMap &, std::string, Eigen::MatrixXi)
bool getPosition(const Index &index, Position &position) const
const std::string & getFrameId() const
grid_map::GridMap gridMap_
Mapping data storage container.
double getResolution() const
bool CheckNans(SensorMap &)
bool CheckGeometry(SensorMap &, grid_map::Length, double resolution)
float & at(const std::string &layer, const Index &index)
bool CheckMapsEqual(SensorMap &, grid_map::GridMap &)
bool CheckConfigEqual(SensorMap &, MapConfiguration &)
bool CheckPosition(SensorMap &, double x, double y)
bool CheckFrame(SensorMap &, std::string)