27 #include "VisualServoGroupStatechartContext.generated.h"
31 using namespace VisualServoGroup;
46 VisualServoGroupStatechartContext* context = getContext<VisualServoGroupStatechartContext>();
52 float posUncertainty = objectInstance->get<
float>(
"uncertaintyOfPosition");
53 ARMARX_INFO <<
"position Uncertainty " << posUncertainty;
55 orientation->toEigen(), position->toEigen(), position->getFrame(), position->agent);
57 ARMARX_VERBOSE <<
"Object pose from localization: " << objectPose->output();
60 objectPose->changeFrame(context->getRobot(), context->getRobot()->getRootNode()->getName());
62 context->getDebugDrawerTopic()->setPoseDebugLayerVisu(
"objectPose",
63 objectPose->toGlobal(getRobot()));
64 out.setObjectPose(objectPose);
65 emitObjectPoseAvailable();
86 return "GetObjectPose";