22 #ifndef REGILO_SCANRECORD_HPP 23 #define REGILO_SCANRECORD_HPP 56 ScanRecord(
int id,
double angle,
double distance,
int intensity,
int errorCode,
bool error =
false);
66 #endif // REGILO_SCANRECORD_HPP Definition: controller.hpp:35
int errorCode
The error code.
Definition: scanrecord.hpp:39
int id
The id of the record (starting from zero).
Definition: scanrecord.hpp:35
friend std::ostream & operator<<(std::ostream &out, const ScanRecord &record)
Output the record as a string.
double distance
The distance that was measured in the angle (in millimeters).
Definition: scanrecord.hpp:37
The ScanRecord class represents one record from laser data.
Definition: scanrecord.hpp:32
bool error
True if this record has an error.
Definition: scanrecord.hpp:40
double angle
The angle of the record (in radians).
Definition: scanrecord.hpp:36
int intensity
The normalized spot intensity that was measured in the angle.
Definition: scanrecord.hpp:38
ScanRecord()=default
Default constructor.