34 #include <VisionX/interface/components/HandLocalization.h>
40 #include <Image/ByteImage.h>
42 class CStereoCalibration;
47 class CHandLocalisation;
48 class CHandModelVisualizer;
58 defineOptionalProperty<std::string>(
"ImageProviderAdapterName",
"ImageProvider",
"Ice Adapter name of the image provider");
59 defineOptionalProperty<std::string>(
"RobotStateProxyName",
"RobotState",
"Ice Adapter name of the robot state proxy");
60 defineOptionalProperty<std::string>(
"HandFrameName",
"TCP R",
"Name of the robot state frame of the hand that will be localized");
61 defineOptionalProperty<std::string>(
"CameraFrameName",
"Eye_Left",
"Name of the robot state frame of the primary camera");
79 virtual public visionx::HandLocalizationWithFingertipsInterface
87 return "RobotHandLocalizationWithFingertips";
101 armarx::FramedPoseBasePtr
getHandPose(
const Ice::Current&
c = Ice::emptyCurrent)
override;
106 visionx::FramedPositionBaseList
getFingertipPositions(
const Ice::Current&
c = Ice::emptyCurrent)
override;
120 std::string providerName;
121 ImageProviderInterfacePrx imageProviderPrx;
122 ImageFormatInfo imageFormat;
123 std::string robotStateProxyName;
125 std::string handFrameName, cameraFrameName;
127 CStereoCalibration* stereoCalibration;
128 CByteImage** cameraImages;
129 CByteImage** resultImages;
130 static const int numResultImages = 4;
134 static const bool drawComplexHandModelInResultImage =
true;