MCPcopy Create free account
hub / github.com/ANYbotics/elevation_mapping / move

Method move

elevation_mapping/src/ElevationMap.cpp:471–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471void ElevationMap::move(const Eigen::Vector2d& position)
472{
473 boost::recursive_mutex::scoped_lock scopedLockForRawData(rawMapMutex_);
474 std::vector<BufferRegion> newRegions;
475
476 if (rawMap_.move(position, newRegions)) {
477 ROS_DEBUG("Elevation map has been moved to position (%f, %f).", rawMap_.getPosition().x(), rawMap_.getPosition().y());
478 if (hasUnderlyingMap_) rawMap_.addDataFrom(underlyingMap_, false, false, true);
479 }
480}
481
482bool ElevationMap::publishRawElevationMap()
483{

Callers 2

fuseMethod · 0.80
updateMapLocationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected