|
Regilo
A simple C++ library for controlling the Neato XV robot and the Hokuyo scanner.
|
The ScanData class is used to store laser data. More...
#include <scandata.hpp>
Public Member Functions | |
| ScanData ()=default | |
| Default constructor. | |
| ScanData (std::size_t scanId, double rotationSpeed) | |
| Construct ScanData. More... | |
Public Attributes | |
| std::size_t | scanId = std::size_t(-1) |
| The scan id (starting from zero). | |
| double | rotationSpeed = -1 |
| The rotation speed (in Hz). | |
| long | time |
| The scan time (milliseconds since epoch). | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const ScanData &record) |
| Output the data as a string. | |
The ScanData class is used to store laser data.
| regilo::ScanData::ScanData | ( | std::size_t | scanId, |
| double | rotationSpeed | ||
| ) |
Construct ScanData.
| scanId | The scan id (starting from zero). |
| rotationSpeed | The rotation speed (in Hz). |