The RobotReader class.
More...
#include <RobotAPI/libraries/armem_robot_state/client/common/RobotReader.h>
|
| virtual void | connect (armem::client::MemoryNameSystem &memoryNameSystem) |
| |
| Robot | get (const description::RobotDescription &description, const armem::Time ×tamp) const override |
| |
| std::optional< Robot > | get (const std::string &name, const armem::Time ×tamp) const override |
| |
| std::optional< description::RobotDescription > | queryDescription (const std::string &name, const armem::Time ×tamp) const |
| |
| std::vector< description::RobotDescription > | queryDescriptions (const armem::Time ×tamp) const |
| |
| std::optional< std::map< Hand, proprioception::ForceTorque > > | queryForceTorque (const std::string &robotName, const armem::Time ×tamp) const |
| |
| 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< 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 |
| |
| JointTrajectory | queryJointStates (const std::string &robotName, const armem::Time &begin, const armem::Time &end) const |
| |
| 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.
|
| |
| std::optional< PlatformState > | queryPlatformState (const std::string &robotName, const armem::Time ×tamp) const |
| |
| std::optional< armarx::armem::arondto::Proprioception > | queryProprioception (const std::string &robotName, const armem::Time ×tamp, armem::Time *referencedTime=nullptr) const |
| |
| std::optional< RobotState > | queryState (const std::string &robotName, const armem::Time ×tamp) const |
| |
| std::optional< std::map< Hand, exteroception::ToF > > | queryToF (const std::string &robotName, const armem::Time ×tamp) const |
| |
| virtual void | registerPropertyDefinitions (::armarx::PropertyDefinitionsPtr &def) |
| |
| | RobotReader ()=default |
| |
| | RobotReader (const RobotReader &) |
| |
| void | setSleepAfterSyncFailure (const armem::Duration &duration) |
| |
| void | setSyncTimeout (const armem::Duration &duration) |
| |
| bool | synchronize (Robot &obj, const armem::Time ×tamp) const override |
| |
| virtual | ~RobotReader ()=default |
| |
| virtual | ~ReaderInterface ()=default |
| |
The RobotReader class.
The purpose of this class is to synchronize the armem data structure armem::Robot with the memory.
Definition at line 43 of file RobotReader.h.
◆ JointTrajectory
◆ Hand
◆ RobotReader() [1/2]
◆ RobotReader() [2/2]
◆ ~RobotReader()
◆ connect()
◆ get() [1/2]
◆ get() [2/2]
| std::optional< Robot > get |
( |
const std::string & | name, |
|
|
const armem::Time & | timestamp ) const |
|
overridevirtual |
◆ getRobotProprioception()
| std::optional< armarx::armem::arondto::Proprioception > getRobotProprioception |
( |
const armarx::armem::wm::Memory & | memory, |
|
|
const std::string & | name, |
|
|
armem::Time * | referencedTime = nullptr ) const |
|
protected |
Protected rather than private so the referenced-time reporting can be exercised directly: everything above it needs a live memory server, this needs only a wm::Memory.
Definition at line 466 of file RobotReader.cpp.
◆ queryDescription()
◆ queryDescriptions()
◆ queryForceTorque()
◆ queryForceTorques()
◆ queryGlobalPose()
◆ queryJointState()
| std::optional< RobotState > queryJointState |
( |
const std::string & | robotName, |
|
|
const armem::Time & | timestamp ) const |
◆ queryJointStates()
◆ queryOdometryPose()
retrieve the robot's pose in the odometry frame.
This pose is an integration of the robot's platform velocity and undergoes a significant drift.
- Parameters
-
- Returns
- std::optional<RobotState::Pose>
Definition at line 237 of file RobotReader.cpp.
◆ queryPlatformState()
| std::optional< PlatformState > queryPlatformState |
( |
const std::string & | robotName, |
|
|
const armem::Time & | timestamp ) const |
◆ queryProprioception()
| std::optional< armarx::armem::arondto::Proprioception > queryProprioception |
( |
const std::string & | robotName, |
|
|
const armem::Time & | timestamp, |
|
|
armem::Time * | referencedTime = nullptr ) const |
- Parameters
-
| referencedTime | If given, receives the time the returned data actually refers to, which is the newest snapshot at or before timestamp and may be arbitrarily older than it. |
Definition at line 263 of file RobotReader.cpp.
◆ queryState()
| std::optional< RobotState > queryState |
( |
const std::string & | robotName, |
|
|
const armem::Time & | timestamp ) const |
◆ queryToF()
◆ registerPropertyDefinitions()
◆ setSleepAfterSyncFailure()
◆ setSyncTimeout()
◆ synchronize()
◆ sleepAfterFailure
◆ syncTimeout
The documentation for this class was generated from the following files: