GlobalRobotLocalizationSensorDevice Class Reference

#include <RobotAPI/components/units/RobotUnit/Devices/GlobalRobotPoseSensorDevice.h>

+ Inheritance diagram for GlobalRobotLocalizationSensorDevice:

Public Member Functions

 GlobalRobotLocalizationSensorDevice ()
 
void rtReadSensorValues (const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) override
 This is a hook for implementations to read the sensor value from a bus. More...
 
- Public Member Functions inherited from GlobalRobotPoseSensorDevice
std::string getReportingFrame () const override
 
const SensorValueBasegetSensorValue () const override
 
 GlobalRobotPoseSensorDevice ()
 
- 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...
 
 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
 
bool hasTag (const std::string &tag) const
 
const char * rtGetDeviceName () const
 
virtual ~DeviceBase ()=default
 

Static Public Member Functions

static std::string DeviceName ()
 
- Static Public Member Functions inherited from GlobalRobotPoseSensorDevice
static std::string DeviceName ()
 

Public Attributes

const SensorValueGlobalPoseCorrectionsensorGlobalPositionCorrection
 
const SensorValueHolonomicPlatformRelativePositionsensorRelativePosition
 

Additional Inherited Members

- Public Types inherited from GlobalRobotPoseSensorDevice
using SensorValueType = SensorValueGlobalRobotPose
 
- 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...
 
- Protected Attributes inherited from GlobalRobotPoseSensorDevice
SensorValueType sensor
 

Detailed Description

Definition at line 104 of file GlobalRobotPoseSensorDevice.h.

Constructor & Destructor Documentation

◆ GlobalRobotLocalizationSensorDevice()

Member Function Documentation

◆ DeviceName()

std::string DeviceName ( )
static

Definition at line 109 of file GlobalRobotPoseSensorDevice.cpp.

+ Here is the caller graph for this function:

◆ rtReadSensorValues()

void rtReadSensorValues ( const IceUtil::Time &  sensorValuesTimestamp,
const IceUtil::Time &  timeSinceLastIteration 
)
overridevirtual

This is a hook for implementations to read the sensor value from a bus.

Parameters
sensorValuesTimestampThe current timestamp
timeSinceLastIterationThe time delta since the last call

Reimplemented from GlobalRobotPoseSensorDevice.

Definition at line 120 of file GlobalRobotPoseSensorDevice.cpp.

Member Data Documentation

◆ sensorGlobalPositionCorrection

const SensorValueGlobalPoseCorrection* sensorGlobalPositionCorrection

Definition at line 114 of file GlobalRobotPoseSensorDevice.h.

◆ sensorRelativePosition

const SensorValueHolonomicPlatformRelativePosition* sensorRelativePosition

Definition at line 115 of file GlobalRobotPoseSensorDevice.h.


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