38 "Name of the topic the DebugObserver listens to.");
41 "ProviderWaitMs", 100,
"Time to wait for each point cloud provider [ms].");
53 return "LabeledPointCloudMerger";
73 if (!providerNames.empty())
96 static_cast<int>(providerWaitTime.toMilliSeconds())))
101 pcl::PointCloud<MergedLabeledPointCloud::PointL>::Ptr inputCloud(
102 new pcl::PointCloud<MergedLabeledPointCloud::PointL>);
104 merged.setInputPointCloud(providerName, inputCloud,
true);
108 pcl::PointCloud<MergedLabeledPointCloud::PointT>::Ptr inputCloud(
109 new pcl::PointCloud<MergedLabeledPointCloud::PointT>);
111 merged.setInputPointCloud(providerName, inputCloud);
116 ARMARX_INFO <<
"Timeout waiting for point cloud provider " << providerName <<
".";
#define ARMARX_REGISTER_COMPONENT_EXECUTABLE(ComponentT, applicationName)
TopicProxyType getTopicFromProperty(const std::string &propertyName)
Get a topic proxy whose name is specified by the given property.
void offeringTopicFromProperty(const std::string &propertyName)
Offer a topic whose name is specified by the given property.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Property< PropertyType > getProperty(const std::string &name)
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)
Property definitions of LabeledPointCloudMerger.
LabeledPointCloudMergerPropertyDefinitions(std::string prefix)
Brief description of class LabeledPointCloudMerger.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onExitPointCloudProcessor() override
void onConnectPointCloudProcessor() override
void onDisconnectPointCloudProcessor() override
static std::string GetDefaultName()
void onInitPointCloudProcessor() override
std::string getDefaultName() const override
PointCloudProcessorPropertyDefinitions(std::string prefix)
void enableResultPointCloudForInputProvider(const std::string &inputProviderName, const std::string &resultProviderName="")
int getPointClouds(const PointCloudPtrT &pointCloudPtr)
Poll PointClouds from provider.
MetaPointCloudFormatPtr getPointCloudFormat(std::string providerName)
bool waitForPointClouds(int milliseconds=1000)
Wait for new PointClouds.
void provideResultPointClouds(const PointCloudPtrT &pointClouds, std::string providerName="")
sends result PointClouds for visualization
std::vector< std::string > getPointCloudProviderNames() const
Get the names of providers for which usingPointCloudProvider() has been called.
#define ARMARX_INFO
The normal logging level.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.