Classes | Namespaces | Defines | Functions | Variables
hokuyo.h File Reference
#include <stdexcept>
#include <termios.h>
#include <string>
#include <vector>
#include <stdint.h>
#include <limits>
Include dependency graph for hokuyo.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define DEF_EXCEPTION (   name,
  parent 
)
Value:
class name  : public parent { \
  public: \
    name(const char* msg) : parent(msg) {} \
  }\

Macro for defining an exception with a given parent (std::runtime_error should be top parent)

Definition at line 48 of file hokuyo.h.



hokuyo_node
Author(s): Brian P. Gerkey, Jeremy Leibs, Blaise Gassend
autogenerated on Sat Jun 8 2019 18:33:27