velodyne-view
Live viewer and grabber for Velodyne 3D LIDARs (VLP-16, HDL-32, HDL-64), built on mrpt::hwdrivers::CVelodyneScanner. It shows the point cloud of each full revolution in a 3D window, either from a live sensor on the network or from a PCAP file recorded with Wireshark or tcpdump, and can record the data as a rawlog (mrpt::obs::CObservationVelodyneScan and, if the sensor sends them, mrpt::obs::CObservationGPS observations) or as PCAP files.
Usage
velodyne-view [options]
Option |
Description |
|---|---|
|
Save the grabbed data to a rawlog file (observations-only format). |
|
Read data from a PCAP file instead of a live sensor. |
|
Save all received packets to PCAP files with this name prefix. |
|
Only accept data from the LIDAR with this IP address. |
|
Calibration XML file of the LIDAR (as provided by the manufacturer). |
|
Model, to load default calibration values if no calibration file is given: |
|
Don’t print the banner at startup. |
|
Verbose debug output. |
|
Show help or version. |
PCAP input and output require MRPT to be built with libpcap support.
Examples
# Live view of a VLP-16 on the local network:
velodyne-view
# Live view of an HDL-32 with its calibration file, recording a dataset:
velodyne-view -m HDL32 -c modules/mrpt_data/config_files/rawlog-grabber/velodyne_default_calib_HDL-32.xml -o dataset.rawlog
# Play back a PCAP file:
velodyne-view -i recording.pcap -m VLP16
User interface
The 3D window shows the point cloud of the latest scan, the reception time of the latest LIDAR and GPS data, and the grabbing rate. Mouse: orbit, pan and zoom as in any MRPT 3D window. Keys:
Key |
Action |
|---|---|
|
Zoom out / in |
Space |
Freeze / unfreeze the view |
|
Toggle keeping the last / strongest returns in dual return mode |
|
Quit |
See also
rawlog-grabber : to record Velodyne data together with other sensors (see
config_files/rawlog-grabber/velodyne.ini).mrpt::hwdrivers::CVelodyneScanner, mrpt::obs::CObservationVelodyneScan