TransformReaderInterface Class Referenceabstract

#include <RobotAPI/libraries/armem_robot_state/client/localization/interfaces.h>

+ Inheritance diagram for TransformReaderInterface:

Public Member Functions

virtual TransformResult getGlobalPose (const std::string &agentName, const std::string &robotRootFrame, const armem::Time &timestamp) const =0
 
virtual TransformResult lookupTransform (const TransformQuery &query) const =0
 Looks up the transform at query.header.timestamp.
 
virtual ~TransformReaderInterface ()=default
 
- Public Member Functions inherited from TransformInterface
virtual void connect (armem::client::MemoryNameSystem &memoryNameSystem)=0
 
virtual void registerPropertyDefinitions (PropertyDefinitionsPtr &def)=0
 
virtual ~TransformInterface ()=default
 

Constructor & Destructor Documentation

◆ ~TransformReaderInterface()

virtual ~TransformReaderInterface ( )
virtualdefault

Member Function Documentation

◆ getGlobalPose()

virtual TransformResult getGlobalPose ( const std::string & agentName,
const std::string & robotRootFrame,
const armem::Time & timestamp ) const
pure virtual

Implemented in TransformReader.

◆ lookupTransform()

virtual TransformResult lookupTransform ( const TransformQuery & query) const
pure virtual

Looks up the transform at query.header.timestamp.

Each link uses its latest pose at or before that time, or, with interpolation (TransformQuery::interpolate, or the reader's interpolateTransforms property if unset), is interpolated between its poses right before and after that time. A link without a pose after it (e.g. at Clock::Now()) is held at its newest pose: the result is then provisional and can change once newer poses arrive (see TransformLinkTimes::anyLinkHeld). For results that do not change later, query a time all links have data after, or set TransformTimePolicy::LatestCommonTime.

Implemented in TransformReader.


The documentation for this class was generated from the following file: