You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

Class slamcore::Map2DAccessInterface

class Map2DAccessInterface

Fetch interface to access 2D map updates

Subclassed by HeightMappingSubsystemInterface

Public Functions

virtual ~Map2DAccessInterface() = default
template<typename _Rep = int64_t, typename _Period = std::ratio<1>>
inline bool fetch(const std::chrono::duration<_Rep, _Period> &timeout = std::chrono::seconds(0))

Update the internal state with the most recent data.

virtual std::shared_ptr<const Map2DInterface> get() const = 0

Get the map data.