print.cc File Reference

#include <ros/ros.h>
#include <velodyne/data.h>
Include dependency graph for print.cc:

Go to the source code of this file.

Defines

#define NODE   "velodyne_print"

Functions

void displayHelp ()
int getParameters (int argc, char *argv[])
int main (int argc, char *argv[])
void printPoints (size_t npackets)
 print Velodyne data points using data class
void processScans (const std::vector< velodyne::laserscan_t > &scan)
 callback for laser scans
void processXYZ (const std::vector< velodyne::laserscan_xyz_t > &scan)
 callback for XYZ points

Variables

static velodyne::Datadata = NULL
static int numPackets = 0
static std::string ofile = ""
static int qDepth = 1

Detailed Description

This ROS node captures Velodyne HDL-64E 3D LIDAR data and prints it in several human-readable file formats.

Definition in file print.cc.


Define Documentation

#define NODE   "velodyne_print"

Definition at line 21 of file print.cc.


Function Documentation

void displayHelp (  ) 

Definition at line 61 of file print.cc.

int getParameters ( int  argc,
char *  argv[] 
)

get command line and ROS parameters

Returns:
0 if successful

Todo:
use extension to set type

Definition at line 89 of file print.cc.

int main ( int  argc,
char *  argv[] 
)

Definition at line 157 of file print.cc.

void printPoints ( size_t  npackets  ) 

print Velodyne data points using data class

Definition at line 34 of file print.cc.

void processScans ( const std::vector< velodyne::laserscan_t > &  scan  ) 

callback for laser scans

Definition at line 50 of file print.cc.

void processXYZ ( const std::vector< velodyne::laserscan_xyz_t > &  scan  ) 

callback for XYZ points

Definition at line 56 of file print.cc.


Variable Documentation

velodyne::Data* data = NULL [static]

Definition at line 31 of file print.cc.

int numPackets = 0 [static]

Definition at line 26 of file print.cc.

std::string ofile = "" [static]

Definition at line 27 of file print.cc.

int qDepth = 1 [static]

Definition at line 28 of file print.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines


velodyne_common
Author(s): Jack O'Quin, Patrick Beeson, Michael Quinlan, Yaxin Liu
autogenerated on Fri Jan 11 10:05:56 2013