Go to the documentation of this file.
25 #include <VirtualRobot/VirtualRobot.h>
29 #include <SemanticObjectRelations/SupportAnalysis/SupportAnalysis.h>
32 #include <ArmarXCore/interface/observers/ObserverInterface.h>
37 #include <VisionX/interface/components/ShapesSupportRelations.h>
38 #include <VisionX/interface/libraries/SemanticObjectRelations/ShapesTopic.h>
39 #include <VisionX/interface/libraries/SemanticObjectRelations/GraphStorage.h>
70 virtual public ShapesSupportRelationsInterface
80 void reportShapes(
const std::string& name,
const data::ShapeList& objects,
81 const Ice::Current&)
override;
86 const Ice::Current& = Ice::emptyCurrent)
override;
89 const std::set<semrel::ShapeID>& safeObjectIDs);
112 const Eigen::Vector3f gravityInGlobal = - Eigen::Vector3f::UnitZ();
114 Eigen::Vector3f getGravityFromRobotStateComponent();
122 GraphStorageTopicPrx graphTopic;
123 std::string graphName;
137 semrel::SupportAnalysis supportAnalysis;
142 std::string pointCloudFrameName;
The DebugDrawerTopic wraps a DebugDrawerInterfacePrx and provides a more useful interface than the Ic...
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
data::Graph extractSupportGraph(const data::ShapeList &objects, const Ice::LongSeq &safeObjectIDs, const Ice::Current &=Ice::emptyCurrent) override
Service: Extract the support graph for objects and return it.
Property definitions of ShapesSupportRelations.
void onInitComponent() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
boost::subgraph< CloudGraph > Graph
Baseclass for all ArmarX ManagedIceObjects requiring properties.
ShapesSupportRelationsPropertyDefinitions(std::string prefix)
void onExitComponent() override
void onDisconnectComponent() override
Default component property definition container.
Brief description of class ShapesSupportRelations.
void reportShapes(const std::string &name, const data::ShapeList &objects, const Ice::Current &) override
Topic/pipeline: Extract the support graph for objects and publish it to the graph topic.
std::string getDefaultName() const override
void onConnectComponent() override