Public Member Functions | Private Attributes
velodyne_driver::InputSocket Class Reference

Live Velodyne input from socket. More...

#include <input.h>

Inheritance diagram for velodyne_driver::InputSocket:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int getPacket (velodyne_msgs::VelodynePacket *pkt, const double time_offset)
 Get one velodyne packet.
 InputSocket (ros::NodeHandle private_nh, uint16_t port=DATA_PORT_NUMBER)
 constructor
void setDeviceIP (const std::string &ip)
virtual ~InputSocket ()
 destructor

Private Attributes

in_addr devip_
int sockfd_

Detailed Description

Live Velodyne input from socket.

Definition at line 97 of file input.h.


Constructor & Destructor Documentation

constructor

Parameters:
private_nhROS private handle for calling node.
portUDP port number

Definition at line 93 of file input.cc.

destructor

Definition at line 133 of file input.cc.


Member Function Documentation

int velodyne_driver::InputSocket::getPacket ( velodyne_msgs::VelodynePacket *  pkt,
const double  time_offset 
) [virtual]

Get one velodyne packet.

Implements velodyne_driver::Input.

Definition at line 139 of file input.cc.

void velodyne_driver::InputSocket::setDeviceIP ( const std::string &  ip)

Member Data Documentation

Definition at line 110 of file input.h.

Definition at line 109 of file input.h.


The documentation for this class was generated from the following files:


velodyne_driver
Author(s): Jack O'Quin, Patrick Beeson, Michael Quinlan, Yaxin Liu
autogenerated on Wed Jul 3 2019 19:32:21