Go to the documentation of this file.
3 #include <armarx/navigation/algorithms/aron/Costmap.aron.generated.h>
14 const std::string& name,
15 const std::string& providerName,
18 std::lock_guard g{writeMutex};
22 if (not result.success)
31 const auto entityID = providerId.withEntityName(name).withTimestamp(timestamp);
34 update.entityID = entityID;
36 auto aronCostmap =
toAron(grid);
38 update.instancesData = {aronCostmap};
39 update.referencedTime = timestamp;
46 if (not updateResult.success)
51 return updateResult.success;
57 return "mem.nav.costmap.";
60 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