Function grid_map::getBufferIndexFromIndex
Defined in File GridMapMath.hpp
Function Documentation
-
Index grid_map::getBufferIndexFromIndex(const Index &index, const Size &bufferSize, const Index &bufferStartIndex)
Retrieve the index of the buffer from a unwrapped index (reverse from function above).
- Parameters:
index – the unwrapped index.
bufferSize – the map buffer size.
bufferStartIndex – the map buffer start index.
- Returns:
the buffer index.