31#include <RobotAPI/interface/components/RobotHealthInterface.h>
32#include <RobotAPI/interface/units/LaserScannerUnit.h>
35#include <HokuyoLaserScannerDriver/urg_sensor.h>
50 "CartographerMappingAndLocalization",
51 "Name of the laser scan listener.");
55 "Offset is applied the raw angles before reporting them");
59 "List of devices in form of 'IP1,port1,frame1;IP2,port2,frame2;...'");
62 "RobotHealthComponentName",
"RobotHealth",
"Name of the RobotHealth component");
64 "RobotHealthTopicName",
"RobotHealthTopic",
"Name of the RobotHealth topic");
67 "Name of the topic the DebugObserver listens on");
108 virtual public armarx::LaserScannerUnitInterface,
120 return "HokuyoLaserUnit";
154 std::string laserScannerListenerProxyName;
155 LaserScannerUnitListenerPrx listenerPrx;
156 int updatePeriod = 25;
157 float angleOffset = 0.0f;
158 std::vector<HokuyoLaserScanDevice> devices;
159 LaserScannerInfoSeq connectedDevices;
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
HokuyoLaserUnitPropertyDefinitions(std::string prefix)
void onInitComponent() override
LaserScannerInfoSeq getConnectedDevices(const Ice::Current &c) const override
void onDisconnectComponent() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
std::string getReportTopicName(const Ice::Current &c) const override
void onExitComponent() override
std::string getDefaultName() const override
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)
IceUtil::Handle< RunningTask< T > > pointer_type
Shared pointer type for convenience.
Base Class for SensorActorUnits.
This file offers overloads of toIce() and fromIce() functions for STL container types.
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugObserverInterface > DebugObserverInterfacePrx
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
LaserScannerUnitListenerPrx listenerPrx
std::vector< long > lengthData
RunningTask< HokuyoLaserScanDevice >::pointer_type task
DebugObserverInterfacePrx debugObserver
std::string componentName
armarx::plugins::HeartbeatComponentPlugin * robotHealthPlugin