Go to the documentation of this file.
30 #include <MemoryX/interface/workingmemory/WorkingMemoryUpdaterBase.h>
31 #include <MemoryX/interface/components/PriorKnowledgeInterface.h>
37 #include <ArmarXSimulation/interface/simulator/SimulatorInterface.h>
50 defineOptionalProperty<std::string>(
"TCPNameLeft",
"TCP L",
"Name of the TCP of the left robot hand.");
51 defineOptionalProperty<std::string>(
"TCPNameRight",
"TCP R",
"Name of the TCP of the right robot hand.");
52 defineOptionalProperty<std::string>(
"SimulatorName",
"Simulator",
"Name of the simulator component that should be used");
53 defineOptionalProperty<std::string>(
"ReferenceFrameName",
"EyeLeftCamera",
"Sets the reference frame name of the pose provided by this recognizer. Must be a frame name known in Pose from the robot model.");
54 defineOptionalProperty<std::string>(
"RobotStateComponentName",
"RobotStateComponent",
"Name of the RobotStateComponent that should be used");
66 virtual public ::memoryx::ObjectLocalizerInterface
92 return "HandMarkerLocalization";
115 memoryx::ObjectLocalizationResultList
localizeObjectClasses(const ::memoryx::ObjectClassNameList&, const ::Ice::Current& = Ice::emptyCurrent)
override;
124 std::shared_ptr<RemoteRobot> remoteRobot;
125 std::string tcpNameLeft, tcpNameRight;
127 SimulatorInterfacePrx simulatorProxy;
130 std::string referenceFrame;
RobotHandLocalizationDynamicSimulation()
void onDisconnectComponent() override
Hook for subclass.
RobotHandLocalizationDynamicSimulation queries the armarx simulator for the current poses of the hand...
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void onInitComponent() override
Pure virtual hook for the subclass.
void onExitComponent() override
Hook for subclass.
RobotHandLocalizationDynamicSimulationPropertyDefinitions(std::string prefix)
virtual bool addObjectClass(const memoryx::EntityPtr &objectClassEntity, const memoryx::GridFileManagerPtr &fileManager)
Add a memory entity representing the hand marker in order to set its properties.
memoryx::ObjectLocalizationResultList localizeObjectClasses(const ::memoryx::ObjectClassNameList &, const ::Ice::Current &=Ice::emptyCurrent) override
localize one or both hand markers
std::string getDefaultName() const override
Baseclass for all ArmarX ManagedIceObjects requiring properties.
void onConnectComponent() override
Pure virtual hook for the subclass.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Default component property definition container.
std::shared_ptr< GridFileManager > GridFileManagerPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
This file offers overloads of toIce() and fromIce() functions for STL container types.