Classes | Namespaces | Macros | Typedefs | Variables
input.cc File Reference
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <poll.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/file.h>
#include <o3m151_driver/input.h>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <vector>
Include dependency graph for input.cc:

Go to the source code of this file.

Classes

struct  o3m151_driver::ChannelEnd
 
struct  o3m151_driver::ChannelHeader
 
struct  o3m151_driver::PacketHeader
 

Namespaces

 o3m151_driver
 

Macros

#define RESULT_ERROR   (-1)
 
#define RESULT_OK   (0)
 

Typedefs

typedef struct o3m151_driver::ChannelEnd o3m151_driver::ChannelEnd
 
typedef struct o3m151_driver::ChannelHeader o3m151_driver::ChannelHeader
 
typedef struct o3m151_driver::PacketHeader o3m151_driver::PacketHeader
 

Variables

static const uint32_t o3m151_driver::customerDataChannel = 8
 
static const size_t o3m151_driver::packet_size = 1024
 

Detailed Description

Input classes for the O3M151 HDL-64E 3D LIDAR:

Input – virtual base class than can be used to access the data independently of its source

InputSocket – derived class reads live data from the device via a UDP socket

InputPCAP – derived class provides a similar interface from a PCAP dump

Definition in file input.cc.

Macro Definition Documentation

#define RESULT_ERROR   (-1)

Definition at line 36 of file input.cc.

#define RESULT_OK   (0)

Definition at line 35 of file input.cc.



o3m151_driver
Author(s): Vincent Rousseau
autogenerated on Mon Jun 10 2019 14:07:55