Go to the documentation of this file.
25 #include <VirtualRobot/Robot.h>
28 #include <RobotAPI/interface/core/RobotState.h>
29 #include <RobotAPI/interface/speech/SpeechInterface.h>
30 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
32 #include <MemoryX/interface/components/LongtermMemoryInterface.h>
35 #include <VisionX/interface/components/FaceRecognitionInterface.h>
36 #include <VisionX/interface/components/ObjectPoseInterface.h>
37 #include <VisionX/interface/components/PointCloudAndImageAndCalibrationProviderInterface.h>
56 defineOptionalProperty<std::string>(
"AgentName",
"Armar6",
"Name of the robot that does the localization");
57 defineOptionalProperty<std::string>(
"CameraFrameName",
"DepthCamera",
"Name of the camera frame of the robot that does the localization");
58 defineOptionalProperty<std::string>(
"ObjectNameIdMap",
"spraybottle:5;brush:1",
"map between object names and mask rcnn names");
60 defineOptionalProperty<std::string>(
"RobotStateComponentName",
"RobotStateComponent",
"Name of the robot state component that should be used");
61 defineOptionalProperty<std::string>(
"DebugDrawerTopicName",
"DebugDrawerUpdates",
"Name of the debug drawer topic");
78 virtual public memoryx::ObjectLocalizerInterface
86 return "UCLObjectRecognition";
90 memoryx::ObjectLocalizationResultList
localizeAndIdentifyFaces(CByteImage** cameraImages, armarx::MetaInfoSizeBasePtr imageMetaInfo, CByteImage** resultImages);
98 ObjectPoseInterfacePrx prx;
103 memoryx::ObjectLocalizationResultList
localizeObjectClasses(
const memoryx::ObjectClassNameList& classes,
const Ice::Current&)
override;
void onInitComponent() override
Pure virtual hook for the subclass.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
UCLObjectRecognitionPropertyDefinitions(std::string prefix)
void onConnectComponent() override
Pure virtual hook for the subclass.
std::map< std::string, std::list< std::pair< IceUtil::Time, double > > > FaceConfidenceHistory
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Brief description of class UCLObjectRecognition.
Default component property definition container.
std::string getDefaultName() const override
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
memoryx::ObjectLocalizationResultList localizeObjectClasses(const memoryx::ObjectClassNameList &classes, const Ice::Current &) override
memoryx::ObjectLocalizationResultList localizeAndIdentifyFaces(CByteImage **cameraImages, armarx::MetaInfoSizeBasePtr imageMetaInfo, CByteImage **resultImages)
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr