Simulating the Velodyne LIDAR

The Velodyne LIDAR is becoming an integral part of a self-driving car. Because of high demand, there are enough software modules available for working with this sensor. We are going to simulate two popular models of Velodyne, called HDL-32E and VLP-16. Let's see how to do it in ROS and Gazebo.

In ROS-Kinetic and Indigo, we can install from a binary package or compile from source code. Here is the command to install Velodyne packages on ROS Kinetic:

    $ sudo apt-get install ros-kinetic-velodyne-simulator

In ROS Indigo, just replace the ROS distribution name:

    $ sudo apt-get install ros-indigo-velodyne-simulator

To install it from source code, just clone the source package to the ROS workspace using the following ...

Get ROS Programming: Building Powerful Robots now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.