问题描述:rosbag info ***.bag发现激光雷达话题数据格式为velodyne_msgs/VelodyneScan,雷达为vlp_32HD,运行launch会报错。
安装velodyne的ros驱动
方式一:官网下载git clone https://github.com/ros-drivers/velodyne.git
本人按此方式编译完成后,到执行转化节点时会报错。
Failed to load nodelet [/velodyne_pointcloud_CloudNodelet] of type [velodyne_pointcloud/CloudNodelet] even after refreshing the cache: According to the loaded plugin descriptions the class velodyne_pointcloud/CloudNodelet with base class type nodelet::Nodelet does not exist.
方式二:终端命令安装
sudo apt-get install ros-melodic-velodyne
启动转换节点
rosrun nodelet nodelet standalone velodyne_pointcloud/CloudNodelet _calibration:=