Go to the documentation of this file.
8 #include <armarx/navigation/core/aron/Trajectory.aron.generated.h>
9 #include <armarx/navigation/core/aron/Twist.aron.generated.h>
21 storePrepare(result.
globalPlan, clientID, commit);
26 std::lock_guard g{writeMutex};
31 if (not updateResult.allSuccess())
35 return updateResult.allSuccess();
40 const std::string& clientID)
43 storePrepare(result, clientID, commit);
44 std::lock_guard g{writeMutex};
51 const std::string& clientID)
54 storePrepare(result, clientID, commit);
55 std::lock_guard g{writeMutex};
63 const std::string& clientID,
78 core::arondto::GlobalTrajectory aronDto;
82 update.referencedTime = timestamp;
83 update.instancesData = {aronDto.toAron()};
93 const std::string& clientID,
108 core::arondto::LocalTrajectory aronDto;
112 update.referencedTime = timestamp;
113 update.instancesData = {aronDto.toAron()};
124 return "mem.nav.stack_result.";
132 .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