8#include <RobotAPI/libraries/armem_locations/aron/Location.aron.generated.h>
14 toGlobal(armarx::navigation::location::arondto::Location& framedLoc,
15 const Eigen::Matrix4f& framedToGlobal)
20 framedLoc.framedPose.header.agent =
"";
24 framedLoc.framedPose.pose = framedToGlobal * framedLoc.framedPose.pose;
26 framedLoc.framedPose.header.agent =
"";
30 toGlobal(armarx::navigation::location::arondto::Location& framedLoc,
36 framedLoc.framedPose.header.agent =
"";
40 if (simox::alg::starts_with(objPose.
objectID.
str(), framedLoc.framedPose.header.agent))
48 throw armarx::LocalException(
49 "Could not convert a framedLocation because the used object is wrong!");
std::string str() const
Return "dataset/className" or "dataset/className/instanceName".
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
std::string const GlobalFrame
Variable of the global coordinate system.
void toGlobal(armarx::navigation::location::arondto::Location &framedLoc, const Eigen::Matrix4f &framedToGlobal)
An object pose as stored by the ObjectPoseStorage.
armarx::ObjectID objectID
The object ID, i.e. dataset, class name and instance name.
Eigen::Matrix4f objectPoseGlobal
The object pose in the global frame.