GlobalRobotPoseSimulationSensorDevice Class Reference

#include <ArmarXSimulation/components/RobotUnitSimulation/Devices/GlobalRobotPoseSimulationSensorDevice.h>

+ Inheritance diagram for GlobalRobotPoseSimulationSensorDevice:

Public Member Functions

std::string getReportingFrame () const override
 
const SensorValueBasegetSensorValue () const override
 
 GlobalRobotPoseSimulationSensorDevice ()
 
- Public Member Functions inherited from SensorDevice
template<class T >
const TgetSensorValue () const
 
std::string getSensorValueType (bool withoutNamespaceSpecifier=false) const
 Returns the SensorValue's type as a string. More...
 
virtual void rtReadSensorValues (const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration)
 This is a hook for implementations to read the sensor value from a bus. More...
 
 SensorDevice (const std::string &name)
 Create a SensorDevice with the given name. More...
 
- Public Member Functions inherited from DeviceBase
 DeviceBase (const std::string &name)
 Create a Device with the given name. More...
 
const std::string & getDeviceName () const
 
const std::set< std::string > & getTags () const
 
virtual bool hasError ()
 
bool hasTag (const std::string &tag) const
 
const char * rtGetDeviceName () const
 
virtual ~DeviceBase ()=default
 

Static Public Member Functions

static std::string DeviceName ()
 

Public Attributes

SensorValueGlobalRobotPose sensor
 

Additional Inherited Members

- Static Public Attributes inherited from SensorDevice
static const SensorDevicePtr NullPtr {nullptr}
 A static const nullptr in case a const ref to a nullptr needs to be returned. More...
 
- Protected Member Functions inherited from DeviceBase
void addDeviceTag (const std::string &tag)
 adds the given tag to the Device More...
 

Detailed Description

Definition at line 38 of file GlobalRobotPoseSimulationSensorDevice.h.

Constructor & Destructor Documentation

◆ GlobalRobotPoseSimulationSensorDevice()

Member Function Documentation

◆ DeviceName()

static std::string DeviceName ( )
inlinestatic

Definition at line 41 of file GlobalRobotPoseSimulationSensorDevice.h.

◆ getReportingFrame()

std::string getReportingFrame ( ) const
inlineoverridevirtual
Returns
The reporting frame name of this sensor (e.g. The frame some force torque values are in). This may be empty for virtual sensors e.g. execution time sensors.

Reimplemented from SensorDevice.

Definition at line 52 of file GlobalRobotPoseSimulationSensorDevice.h.

◆ getSensorValue()

const SensorValueBase* getSensorValue ( ) const
inlineoverridevirtual
Returns
The SensorDevice's sensor value

Implements SensorDevice.

Definition at line 47 of file GlobalRobotPoseSimulationSensorDevice.h.

Member Data Documentation

◆ sensor


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