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

Function getFunctionValues

grid_map_core/src/CubicInterpolation.cpp:290–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290bool getFunctionValues(const Matrix &layerData, const IndicesMatrix &indices, DataMatrix *data)
291{
292 data->topLeft_ = layerData(indices.topLeft_.x(), indices.topLeft_.y());
293 data->topRight_ = layerData(indices.topRight_.x(), indices.topRight_.y());
294 data->bottomLeft_ = layerData(indices.bottomLeft_.x(), indices.bottomLeft_.y());
295 data->bottomRight_ = layerData(indices.bottomRight_.x(), indices.bottomRight_.y());
296 return true;
297}
298
299void bindIndicesToRange(const GridMap &gridMap, IndicesMatrix *indices)
300{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected