Go to the documentation of this file.
28 #include <RobotComponents/interface/components/GraspingManager/GraspGeneratorInterface.h>
29 #include <MemoryX/interface/memorytypes/MemorySegments.h>
30 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
35 #include <Eigen/Geometry>
50 defineOptionalProperty<std::string>(
"GraspNameInfix",
"Grasp",
"All grasp candidates without this infix are filtered out. Case-insensitive.");
51 defineOptionalProperty<float>(
"VisualizationSlowdownFactor", 1.0f,
"1.0 is a good value for clear visualization, 0 the visualization should not slow down the process",
PropertyDefinitionBase::eModifiable);
56 defineOptionalProperty<std::string>(
"RobotType",
"Armar3",
"Type of robot for which the grasps should be generated");
76 virtual public GraspGeneratorInterface
84 return "SimpleGraspGenerator";
96 GeneratedGraspList
generateGrasps(
const std::string& objectInstanceEntityId,
const Ice::Current&
c = Ice::emptyCurrent)
override;
137 StringStringDictionary getTcpGcpMapping();
140 memoryx::WorkingMemoryInterfacePrx wm;
141 memoryx::WorkingMemoryEntitySegmentBasePrx objectInstances;
142 memoryx::PriorKnowledgeInterfacePrx prior;
143 memoryx::PersistentObjectClassSegmentBasePrx objectClasses;
SimpleGraspGeneratorPropertyDefinitions(std::string prefix)
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
std::string getDefaultName() const override
GeneratedGraspList generateGrasps(const std::string &objectInstanceEntityId, const Ice::Current &c=Ice::emptyCurrent) override
Calculates the framedTCPPose and framedTCPPrepose.
The SimpleGraspGenerator class.
void onConnectComponent() override
void onExitComponent() override
void onInitComponent() override
void onDisconnectComponent() override
Baseclass for all ArmarX ManagedIceObjects requiring properties.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Default component property definition container.
std::shared_ptr< GridFileManager > GridFileManagerPtr
GeneratedGraspList generateGraspsByObjectName(const std::string &objectName, const Ice::Current &c=Ice::emptyCurrent) override
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
PropertyDefinitionsPtr createPropertyDefinitions() override
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr