#include <stdexcept>#include <termios.h>#include <string>#include <vector>#include <stdint.h>#include <limits>

Go to the source code of this file.
| Classes | |
| class | hokuyo::Laser | 
| A class for interfacing to an SCIP2.0-compliant Hokuyo laser device.  More... | |
| struct | hokuyo::LaserConfig | 
| A struct for returning configuration from the Hokuyo.  More... | |
| struct | hokuyo::LaserScan | 
| A struct for returning laser readings from the Hokuyo.  More... | |
| Namespaces | |
| namespace | hokuyo | 
| A namespace containing the hokuyo device driver. | |
| Defines | |
| #define | DEF_EXCEPTION(name, parent) | 
| Macro for defining an exception with a given parent (std::runtime_error should be top parent) | |
| Functions | |
| hokuyo::DEF_EXCEPTION (Exception, std::runtime_error) | |
| A standard Hokuyo exception. | |
| hokuyo::DEF_EXCEPTION (TimeoutException, Exception) | |
| An exception for use when a timeout is exceeded. | |
| hokuyo::DEF_EXCEPTION (CorruptedDataException, Exception) | |
| An exception for use when data is corrupted. | |
| hokuyo::DEF_EXCEPTION (RepeatedTimeException, Exception) | |
| An exception for use when the timestamp on the data is repeating (a good indicator something has gone wrong) | |
| Variables | |
| const int | hokuyo::MAX_CMD_LEN = 100 | 
| The maximum length a command will ever be. | |
| const uint32_t | hokuyo::MAX_READINGS = 1128 | 
| The maximum number of readings that can be returned from a hokuyo. | |
| const int | hokuyo::MAX_SKIPPED = 1000000 | 
| The maximum number of bytes that should be skipped when looking for a response. | |
| #define DEF_EXCEPTION | ( | name, | |
| parent | |||
| ) |