28#include <SimoxUtility/math/convert/mat4f_to_rpy.h>
77 Ice::Float targetPlatformPositionY,
78 Ice::Float targetPlatformRotation,
79 Ice::Float positionalAccuracy,
80 Ice::Float orientationalAccuracy,
81 const Ice::Current&
c)
88 const float yaw = simox::math::mat4f_to_rpy(transformStamped.transform).z();
89 const Eigen::Affine3f pose(transformStamped.transform);
91 PlatformPose platformPose;
92 platformPose.x = pose.translation().x();
93 platformPose.y = pose.translation().y();
94 platformPose.rotationAroundZ = yaw;
95 platformPose.timestampInMicroSeconds = transformStamped.header.timestampInMicroSeconds;
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Property< PropertyType > getProperty(const std::string &name)
This file offers overloads of toIce() and fromIce() functions for STL container types.
PlatformPose toPlatformPose(const TransformStamped &transformStamped)
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.