|
#include <RobotAPI/components/units/RobotUnit/Devices/GlobalRobotPoseSensorDevice.h>
Public Types | |
using | SensorValueType = SensorValueGlobalPoseCorrection |
Public Member Functions | |
std::string | getReportingFrame () const override |
const SensorValueBase * | getSensorValue () const override |
GlobalRobotPoseCorrectionSensorDevice () | |
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... | |
void | updateGlobalPositionCorrection (const SensorValueType::Transformation &global_T_odom) |
Public Member Functions inherited from SensorDevice | |
template<class T > | |
const T * | getSensorValue () 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 |
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 () |
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... | |
Definition at line 56 of file GlobalRobotPoseSensorDevice.h.
Definition at line 59 of file GlobalRobotPoseSensorDevice.h.
Definition at line 45 of file GlobalRobotPoseSensorDevice.cpp.
|
static |
Definition at line 40 of file GlobalRobotPoseSensorDevice.cpp.
|
overridevirtual |
Reimplemented from SensorDevice.
Definition at line 58 of file GlobalRobotPoseSensorDevice.cpp.
|
overridevirtual |
Implements SensorDevice.
Definition at line 52 of file GlobalRobotPoseSensorDevice.cpp.
|
overridevirtual |
This is a hook for implementations to read the sensor value from a bus.
sensorValuesTimestamp | The current timestamp |
timeSinceLastIteration | The time delta since the last call |
Reimplemented from SensorDevice.
Definition at line 64 of file GlobalRobotPoseSensorDevice.cpp.
void updateGlobalPositionCorrection | ( | const SensorValueType::Transformation & | global_T_odom | ) |
Definition at line 72 of file GlobalRobotPoseSensorDevice.cpp.