Go to the documentation of this file.
56 std::optional<Robot>
get(
const std::string& name,
61 std::optional<description::RobotDescription>
64 std::vector<description::RobotDescription>
67 std::optional<RobotState>
queryState(
const std::string& robotName,
73 std::optional<armarx::armem::arondto::Proprioception>
82 std::optional<RobotState::Pose>
queryGlobalPose(
const std::string& robotName,
97 std::optional<std::map<Hand, proprioception::ForceTorque>>
101 std::map<RobotReader::Hand, std::map<armem::Time, proprioception::ForceTorque>>>
107 std::optional<std::map<Hand, exteroception::ToF>>
119 std::optional<::armarx::armem::robot_state::localization::Transform>
129 const std::string& name)
const;
131 std::optional<description::RobotDescription>
134 std::vector<description::RobotDescription>
137 std::optional<armarx::armem::arondto::Proprioception>
139 const std::string& name)
const;
142 const std::string& name)
const;
145 const std::string& name)
const;
147 std::map<RobotReader::Hand, proprioception::ForceTorque>
151 std::map<RobotReader::Hand, std::map<armem::Time, proprioception::ForceTorque>>
154 std::map<RobotReader::Hand, exteroception::ToF>
161 const std::string propertyPrefix =
"mem.robot_state.";
164 mutable std::mutex memoryReaderMutex;
std::optional< RobotState::Pose > queryGlobalPose(const std::string &robotName, const armem::Time ×tamp) const
std::optional< RobotState > queryJointState(const std::string &robotName, const armem::Time ×tamp) const
Reads data from a memory server.
std::optional< PlatformState > queryPlatformState(const std::string &robotName, const armem::Time ×tamp) const
void setSyncTimeout(const armem::Duration &duration)
virtual void registerPropertyDefinitions(::armarx::PropertyDefinitionsPtr &def)
virtual void connect(armem::client::MemoryNameSystem &memoryNameSystem)
Brief description of class memory.
std::optional< std::map< RobotReader::Hand, std::map< armem::Time, proprioception::ForceTorque > > > queryForceTorques(const std::string &robotName, const armem::Time &start, const armem::Time &end) const
std::optional< std::map< Hand, proprioception::ForceTorque > > queryForceTorque(const std::string &robotName, const armem::Time ×tamp) const
void setSleepAfterSyncFailure(const armem::Duration &duration)
Client-side working memory.
std::optional< description::RobotDescription > queryDescription(const std::string &name, const armem::Time ×tamp) const
bool synchronize(Robot &obj, const armem::Time ×tamp) const override
Represents a point in time.
JointTrajectory queryJointStates(const std::string &robotName, const armem::Time &begin, const armem::Time &end) const
virtual ~RobotReader()=default
std::optional< armarx::armem::arondto::Proprioception > queryProprioception(const std::string &robotName, const armem::Time ×tamp) const
std::vector< description::RobotDescription > queryDescriptions(const armem::Time ×tamp) const
std::optional< Robot > get(const std::string &name, const armem::Time ×tamp) const override
The memory name system (MNS) client.
std::optional< std::map< Hand, exteroception::ToF > > queryToF(const std::string &robotName, const armem::Time ×tamp) const
std::map< armem::Time, RobotState::JointMap > JointTrajectory
static Duration MicroSeconds(std::int64_t microSeconds)
Constructs a duration in microseconds.
std::optional< RobotState > queryState(const std::string &robotName, const armem::Time ×tamp) const
armem::Duration sleepAfterFailure
std::optional<::armarx::armem::robot_state::localization::Transform > queryOdometryPose(const std::string &robotName, const armem::Time ×tamp) const
retrieve the robot's pose in the odometry frame.
armem::Duration syncTimeout