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

Method setWindowLength

grid_map_core/src/iterators/SlidingWindowIterator.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void SlidingWindowIterator::setWindowLength(const GridMap& gridMap, const double windowLength)
36{
37 windowSize_ = std::round(windowLength / gridMap.getResolution());
38 if (windowSize_ % 2 != 1) ++windowSize_;
39 setup(gridMap);
40}
41
42SlidingWindowIterator& SlidingWindowIterator::operator ++()
43{

Callers 1

updateMethod · 0.80

Calls 1

getResolutionMethod · 0.45

Tested by

no test coverage detected