33#include <MemoryX/interface/components/PriorKnowledgeInterface.h>
34#include <MemoryX/interface/workingmemory/WorkingMemoryUpdaterBase.h>
39#include <ArmarXSimulation/interface/simulator/SimulatorInterface.h>
51 "TCPNameLeft",
"TCP L",
"Name of the TCP of the left robot hand.");
53 "TCPNameRight",
"TCP R",
"Name of the TCP of the right robot hand.");
57 "Name of the simulator component that should be used");
61 "Sets the reference frame name of the pose provided by this recognizer. Must be a "
62 "frame name known in Pose from the robot model.");
64 "RobotStateComponentName",
65 "RobotStateComponent",
66 "Name of the RobotStateComponent that should be used");
76 virtual public ::memoryx::ObjectLocalizerInterface
109 return "HandMarkerLocalization";
131 memoryx::ObjectLocalizationResultList
133 const ::Ice::Current& = Ice::emptyCurrent)
override;
142 std::shared_ptr<RemoteRobot> remoteRobot;
143 std::string tcpNameLeft, tcpNameRight;
145 SimulatorInterfacePrx simulatorProxy;
148 std::string referenceFrame;
::memoryx::MultivariateNormalDistributionPtr computePositionNoise(const Eigen::Vector3f &pos)
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
RobotHandLocalizationDynamicSimulationPropertyDefinitions(std::string prefix)
void onInitComponent() override
Pure virtual hook for the subclass.
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.
void onDisconnectComponent() override
Hook for subclass.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
memoryx::ObjectLocalizationResultList localizeObjectClasses(const ::memoryx::ObjectClassNameList &, const ::Ice::Current &=Ice::emptyCurrent) override
localize one or both hand markers
RobotHandLocalizationDynamicSimulation()
void onConnectComponent() override
Pure virtual hook for the subclass.
void onExitComponent() override
Hook for subclass.
std::string getDefaultName() const override
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
IceInternal::Handle< MultivariateNormalDistribution > MultivariateNormalDistributionPtr
IceInternal::Handle< Entity > EntityPtr
Typedef of EntityPtr as IceInternal::Handle<Entity> for convenience.
std::shared_ptr< GridFileManager > GridFileManagerPtr