Go to the documentation of this file.
12 #include <armarx/navigation/core/aron/Trajectory.aron.generated.h>
27 storePrepare(result.
globalPlan, clientID, commit);
32 std::lock_guard g{writeMutex};
37 if (not updateResult.allSuccess())
41 return updateResult.allSuccess();
46 const std::string& clientID)
49 storePrepare(result, clientID, commit);
50 std::lock_guard g{writeMutex};
57 const std::string& clientID)
60 storePrepare(result, clientID, commit);
61 std::lock_guard g{writeMutex};
68 const std::string& clientID,
83 core::arondto::GlobalTrajectory aronDto;
87 update.referencedTime = timestamp;
88 update.instancesData = {aronDto.toAron()};
97 const std::string& clientID,
112 core::arondto::LocalTrajectory aronDto;
116 update.referencedTime = timestamp;
117 update.instancesData = {aronDto.toAron()};
127 return "mem.nav.stack_result.";
135 .coreSegmentName =
"",
global_planning::GlobalPlannerResult globalPlan
MemoryID withMemoryName(const std::string &name) const
A bundle of updates to be sent to the memory.
core::GlobalTrajectory trajectory
This file is part of ArmarX.
void toAron(arondto::GlobalTrajectoryPoint &dto, const GlobalTrajectoryPoint &bo)
MemoryID withProviderSegmentName(const std::string &name) const
armem::client::Writer & memoryWriter()
MemoryID withCoreSegmentName(const std::string &name) const
local_planning::LocalPlannerResult localTrajectory
An update of an entity for a specific point in time.
CommitResult commit(const Commit &commit) const
Writes a Commit to the memory.
std::string propertyPrefix() const override
bool update(mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update)
bool store(const server::StackResult &result, const std::string &clientID)
Properties defaultProperties() const override
Represents a point in time.
MemoryID withEntityName(const std::string &name) const
void toAron(arondto::Circle &dto, const Circle &bo)
const std::string memoryName
const std::string GlobalPlannerResultCoreSegment
const Properties & properties() const
MemoryID withTimestamp(Time time) const
const std::string LocalPlannerResultCoreSegment
core::LocalTrajectory trajectory
const armem::MemoryID MemoryID