MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / createMap

Function createMap

grid_map_core/test/test_helpers.cpp:180–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180grid_map::GridMap createMap(const grid_map::Length &length, double resolution,
181 const grid_map::Position &pos)
182{
183 grid_map::GridMap map;
184
185 map.setGeometry(length, resolution, pos);
186 map.add(testLayer, 0.0);
187 map.setFrameId("map");
188
189 return map;
190}
191
192std::vector<Point2D> uniformlyDitributedPointsWithinMap(const grid_map::GridMap &map,
193 unsigned int numPoints)

Callers 2

TESTFunction · 0.70
TESTFunction · 0.70

Calls 3

setGeometryMethod · 0.80
addMethod · 0.45
setFrameIdMethod · 0.45

Tested by

no test coverage detected