22 #ifndef REGILO_SCANDATA_HPP 23 #define REGILO_SCANDATA_HPP 27 #include "scanrecord.hpp" 34 class ScanData :
public std::vector<ScanRecord>
37 std::size_t
scanId = std::size_t(-1);
51 ScanData(std::size_t scanId,
double rotationSpeed);
61 #endif // REGILO_SCANDATA_HPP friend std::ostream & operator<<(std::ostream &out, const ScanData &record)
Output the data as a string.
Definition: controller.hpp:35
ScanData()=default
Default constructor.
long time
The scan time (milliseconds since epoch).
Definition: scandata.hpp:39
std::size_t scanId
The scan id (starting from zero).
Definition: scandata.hpp:37
The ScanData class is used to store laser data.
Definition: scandata.hpp:34
double rotationSpeed
The rotation speed (in Hz).
Definition: scandata.hpp:38