SensorValueHolonomicPlatformRelativePosition Class Reference

The robot's position relative to its initial pose when starting the robot unit based on odometry information. More...

#include <RobotAPI/components/units/RobotUnit/SensorValues/SensorValueHolonomicPlatform.h>

+ Inheritance diagram for SensorValueHolonomicPlatformRelativePosition:

Static Public Member Functions

static SensorValueInfo< SensorValueHolonomicPlatformRelativePositionGetClassMemberInfo ()
 

Public Attributes

float relativePositionRotation = 0
 
DETAIL_SensorValueBase_DEFAULT_METHOD_IMPLEMENTATION float relativePositionX = 0
 
float relativePositionY = 0
 

Additional Inherited Members

- Public Types inherited from SensorValueBase
template<class DerivedClass >
using SensorValueInfo = introspection::ClassMemberInfo< SensorValueBase, DerivedClass >
 
- Public Member Functions inherited from SensorValueBase
template<class T , class = typename std::enable_if<std::is_base_of<SensorValueBase, T>::value>::type>
void _copyTo (std::unique_ptr< T > &target) const
 
 ARMARX_META_MAKE_HAS_MEMBER_FNC_CHECK (SensorValueHasGetClassMemberInfo, GetClassMemberInfo, SensorValueInfo< T >(*)(void))
 
template<class T >
TasA ()
 
template<class T >
const TasA () const
 
template<class T >
T getDataFieldAs (std::size_t i) const
 
virtual void getDataFieldAs (std::size_t i, bool &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Byte &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Double &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Float &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Int &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Long &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Short &out) const =0
 
virtual void getDataFieldAs (std::size_t i, std::string &out) const =0
 
virtual std::vector< std::string > getDataFieldNames () const =0
 
virtual const std::type_info & getDataFieldType (std::size_t i) const =0
 
virtual std::size_t getNumberOfDataFields () const =0
 
virtual std::string getSensorValueType (bool withoutNamespaceSpecifier) const =0
 
template<class... Ts>
bool isA () const
 
virtual std::map< std::string, VariantBasePtrtoVariants (const IceUtil::Time &timestamp) const =0
 used to send the data to the DebugObserverTopic and to other Components (e.g. GUI widgets) More...
 
virtual ~SensorValueBase ()=default
 

Detailed Description

The robot's position relative to its initial pose when starting the robot unit based on odometry information.

Note: The relative position undergoes a significant drift over time.

Definition at line 83 of file SensorValueHolonomicPlatform.h.

Member Function Documentation

◆ GetClassMemberInfo()

static SensorValueInfo<SensorValueHolonomicPlatformRelativePosition> GetClassMemberInfo ( )
inlinestatic

Definition at line 93 of file SensorValueHolonomicPlatform.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ relativePositionRotation

float relativePositionRotation = 0

Definition at line 90 of file SensorValueHolonomicPlatform.h.

◆ relativePositionX

◆ relativePositionY

float relativePositionY = 0

Definition at line 89 of file SensorValueHolonomicPlatform.h.


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