Go to the documentation of this file.
23 const std::string& name,
24 const std::string& providerName,
27 std::lock_guard g{writeMutex};
32 if (not result.success)
41 const auto entityID = providerId.withEntityName(name).withTimestamp(timestamp);
44 update.entityID = entityID;
46 auto aronCostmap =
toAron(grid);
48 update.instancesData = {aronCostmap};
49 update.referencedTime = timestamp;
56 if (not updateResult.success)
61 return updateResult.success;
67 return "mem.nav.costmap.";
70 armarx::armem::client::util::SimpleWriterBase::SimpleWriterBase::Properties
data::AddSegmentResult addSegment(const std::string &coreSegmentName, const std::string &providerSegmentName, bool clearWhenExists=false) const
const std::string CostmapCoreSegmentName
bool store(const algorithms::Costmap &grid, const std::string &name, const std::string &providerName, const armem::Time ×tamp)
Result of an EntityUpdate.
const std::string NavigationMemoryName
armem::client::Writer & memoryWriter()
An update of an entity for a specific point in time.
Properties defaultProperties() const override
CommitResult commit(const Commit &commit) const
Writes a Commit to the memory.
bool update(mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update)
Represents a point in time.
void toAron(arondto::Circle &dto, const Circle &bo)
std::string propertyPrefix() const override
const armem::MemoryID MemoryID