翻译自:http://wiki.ros.org/velodyne/Tutorials/Getting%20Started%20with%20the%20Velodyne%20VLP16
1.连接电脑和velodyne
a) velodyne上电
b) 通过以太网网口连接电脑
c) 关闭电脑wifi2.新增网络,配置如下:
配置完成后,打开浏览器,输入网址192.168.1.201,出现以下界面
3.安装ros依赖项
sudo apt-get install ros-VERSION-velodyne
4.安装VLP16驱动
cd ~/catkin_ws/src
git clone https://github.com/ros_drivers/velodyne.git
rosdep install --from-paths src --ignore-src --rosdistro YOURDISTRO -y
cd ~/catkin_ws/ && catkin_make
5.查看lidar数据
roslaunch velodyne_pointcloud VLP16_points.launch
rosrun rviz rviz -f velodyne
a)点击add,选择pointcloud2,点击ok
b)在新的pointcloud2区域的topic中选择/velodyne_points.