31 #include <RobotAPI/interface/components/RobotHealthInterface.h>
32 #include <RobotAPI/interface/units/LaserScannerUnit.h>
35 #include <HokuyoLaserScannerDriver/urg_sensor.h>
49 defineOptionalProperty<std::string>(
50 "LaserScannerListenerName",
"CartographerMappingAndLocalization",
"Name of the laser scan listener.");
51 defineOptionalProperty<int>(
"UpdatePeriod", 25,
"Update period for laser scans");
52 defineOptionalProperty<float>(
"AngleOffset",
54 "Offset is applied the raw angles before reporting them");
55 defineOptionalProperty<std::string>(
58 "List of devices in form of 'IP1,port1,frame1;IP2,port2,frame2;...'");
60 defineOptionalProperty<std::string>(
61 "RobotHealthComponentName",
"RobotHealth",
"Name of the RobotHealth component");
62 defineOptionalProperty<std::string>(
63 "RobotHealthTopicName",
"RobotHealthTopic",
"Name of the RobotHealth topic");
64 defineOptionalProperty<std::string>(
"DebugObserverName",
66 "Name of the topic the DebugObserver listens on");
107 virtual public armarx::LaserScannerUnitInterface,
119 return "HokuyoLaserUnit";
153 std::string laserScannerListenerProxyName;
154 LaserScannerUnitListenerPrx listenerPrx;
155 int updatePeriod = 25;
156 float angleOffset = 0.0f;
157 std::vector<HokuyoLaserScanDevice> devices;
158 LaserScannerInfoSeq connectedDevices;