velodyne::DataXYZ Class Reference
Convert Velodyne raw input to XYZ format.
More...
#include <data.h>
List of all members.
Detailed Description
Convert Velodyne raw input to XYZ format.
Definition at line 407 of file data.h.
Constructor & Destructor Documentation
velodyne::DataXYZ::DataXYZ |
( |
std::string |
ofile = "" , |
|
|
std::string |
anglesFile = "" | |
|
) |
| | [inline] |
Member Function Documentation
int velodyne::DataXYZ::print |
( |
void |
|
) |
[virtual] |
print laser scans in XYZ format
- Returns:
- 0, if successful; errno value, for failure
- Todo:
- allow exact number of packets argument
Reimplemented from velodyne::DataScans.
Definition at line 352 of file data.cc.
void velodyne::DataXYZ::processRaw |
( |
const raw_packet_t * |
raw, |
|
|
size_t |
npackets | |
|
) |
| | [virtual] |
ros::Subscriber velodyne::DataXYZ::subscribe |
( |
ros::NodeHandle |
node, |
|
|
const std::string & |
topic, |
|
|
uint32_t |
queue_size, |
|
|
const xyzCallback |
callback, |
|
|
const ros::TransportHints & |
transport_hints = ros::TransportHints() | |
|
) |
| | [inline] |
Subscribe to XYZ laser scans.
- Parameters:
-
| node | the ros::NodeHandle to use to subscribe. |
| base_topic | the topic to subscribe to. |
| queue_size | the subscription queue size |
| callback | function or method to receive XYZ data |
| transport_hints | optional transport hints for this subscription |
Definition at line 431 of file data.h.
virtual void velodyne::DataXYZ::subscribeXYZ |
( |
xyz_callback_t |
xyzCB |
) |
[inline, virtual] |
Subscribe to XYZ laser scans.
- Deprecated:
- must separately subscribe to the topic
Definition at line 450 of file data.h.
Member Data Documentation
The documentation for this class was generated from the following files: