#include <input.h>
Public Member Functions | |
virtual int | getPacket (velodyne_msgs::VelodynePacket *pkt) |
Read velodyne packet. | |
virtual int | getPackets (uint8_t *buffer, int npacks, double *data_time)=0 |
Read velodyne packets. | |
Input () | |
virtual int | vclose (void)=0 |
Close the data socket or file. | |
virtual int | vopen (void)=0 |
Open the data socket or file. |
Definition at line 49 of file input.h.
int velodyne::Input::getPacket | ( | velodyne_msgs::VelodynePacket * | pkt | ) | [virtual] |
virtual int velodyne::Input::getPackets | ( | uint8_t * | buffer, | |
int | npacks, | |||
double * | data_time | |||
) | [pure virtual] |
Read velodyne packets.
buffer | array to receive raw data packets | |
npacks | number of packets to read | |
data_time[out] | average time when data received |
Implemented in velodyne::InputSocket, and velodyne::InputPCAP.
virtual int velodyne::Input::vclose | ( | void | ) | [pure virtual] |
Close the data socket or file.
Implemented in velodyne::InputSocket, and velodyne::InputPCAP.
virtual int velodyne::Input::vopen | ( | void | ) | [pure virtual] |
Open the data socket or file.
Implemented in velodyne::InputSocket, and velodyne::InputPCAP.