Go to the documentation of this file.
3 #include <SimoxUtility/math/convert/pos_rpy_to_mat4f.h>
9 SensorValueBase::SensorValueInfo<SensorValueGlobalPoseCorrection>
42 return "GlobalRobotPoseCorrectionSensorDevice";
82 return "GlobalRobotPoseSensorDevice";
111 return "GlobalRobotLocalizationSensorDevice";
126 ARMARX_ERROR <<
"The global position correction sensor is not available.";
131 ARMARX_ERROR <<
"The relative position sensor is not available.";
136 const auto relative_T_robot =
143 const auto global_T_robot = global_T_relative * relative_T_robot;
static std::string DeviceName()
The SensorValueBase class.
std::string getReportingFrame() const override
static std::string DeviceName()
const std::string GlobalFrame
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.
GlobalRobotPoseSensorDevice()
Transformation global_T_root
static SensorValueInfo< SensorValueGlobalPoseCorrection > GetClassMemberInfo()
Eigen::Matrix4f Transformation
GlobalRobotLocalizationSensorDevice()
void updateGlobalPositionCorrection(const SensorValueType::Transformation &global_T_odom)
void Identity(MatrixXX< N, N, T > *a)
This class represents some part of the robot providing sensor values.
EntryConfigurator< ClassType > addMemberVariable(MemberType ClassType::*ptr, const std::string &name)
add a member variable of the current class
static std::string DeviceName()
const SensorValueBase * getSensorValue() const override
armarx::core::time::DateTime Time
const SensorValueBase * getSensorValue() const override
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.
GlobalRobotPoseCorrectionSensorDevice()
static SensorValueInfo< SensorValueGlobalRobotPose > GetClassMemberInfo()
Transformation global_T_odom
const SensorValueGlobalPoseCorrection * sensorGlobalPositionCorrection
const T & getUpToDateReadBuffer() const
const SensorValueHolonomicPlatformRelativePosition * sensorRelativePosition
std::enable_if< std::is_copy_constructible< U >::value >::type reinitAllBuffers(const T &init)
This file offers overloads of toIce() and fromIce() functions for STL container types.
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.
std::string getReportingFrame() const override