16 #ifndef PSEN_SCAN_SCANNER_H 17 #define PSEN_SCAN_SCANNER_H 32 virtual void start() = 0;
33 virtual void stop() = 0;
45 Scanner(
const std::string& scanner_ip,
46 const uint32_t& host_ip,
47 const uint32_t& host_udp_port,
48 const std::string& password,
51 std::unique_ptr<ScannerCommunicationInterface> communication_interface);
67 MonitoringFrame fetchMonitoringFrame(std::chrono::steady_clock::duration timeout);
74 #endif // PSEN_SCAN_SCANNER_H Frame containing all necessary fields for a Start Monitoring Command.
virtual ~vScanner()=default
MonitoringFrame as coming from Laserscanner.
StopMonitoringFrame stop_monitoring_frame_
Class to hold the data for one laserscan without depencies to ROS.
MonitoringFrame previous_monitoring_frame_
virtual LaserScan getCompleteScan()=0
Frame containing all necessary fields for a Stop Monitoring Command.
Class for Modeling a PSENscan safety laser scanner.
PSENscanInternalAngle angle_end_
Class to model angles in PSENscan internal format (tenth of degrees)
PSENscanInternalAngle angle_start_
StartMonitoringFrame start_monitoring_frame_
std::unique_ptr< ScannerCommunicationInterface > communication_interface_