.速腾聚创16线激光雷达ros驱动安装与rviz点云展示说明

V1.0.0 – by Holden

Date : 2021-10-12

文章目录

  • .速腾聚创16线激光雷达ros驱动安装与rviz点云展示说明
    • 1. 激光雷达硬件连接
      • 1.1 工具准备
      • 1.2 硬件连接
    • 2. 激光雷达参数配置
    • 3. ROS驱动安装&&参数配置
    • 4. rviz点云展示

1. 激光雷达硬件连接

1.1 工具准备

  • 准备一套速腾聚创16线激光雷达
  • 本文使用的PC系统是Ubuntu 1804系统,也使用Ubuntu 1604,Ubuntu 20.04;
  • 准备AC 220V电源或DC 12V;

1.2 硬件连接

[1] 如下图所示,将雷达一端的航插头接口与雷达电源盒子的航插头接口两个,对准红点接好;

[2] 接上电源,接上网线,一端接入到PC,一端接入到电源盒子,如下图;

[3] 设置PC Ubuntu1804静态IP,速腾聚创16线激光雷达出厂默认发送到192.168.1.102,在连接前可以通过wireshark抓包工具进行检测;

!!!正常发送UDP数据流才算正常接入!!!



2. 激光雷达参数配置

​ 从以上数据流可以看出,雷达的IP是192.168.1.200,PC的静态IP是192.168.1.102,端口分别是6699、7788

如果需要修改这些信息,需要使用速腾聚创16线激光雷达的官方上位机,下载路径:https://www.robosense.ai/resources-27

本文不做解释!!

3. ROS驱动安装&&参数配置

[1] 使用Git下载驱动:https://github.com/RoboSense-LiDAR/rslidar_sdk

git clone https://github.com/RoboSense-LiDAR/rslidar_sdk.git
cd rslidar_sdk
git submodule init
git submodule update

[2] 安装Pcap

sudo apt-get install -y  libpcap-dev

[3] 参数配置,打开config.yaml,安装提示配置;

common:msg_source: 1                                         #0: not use Lidar#1: packet message comes from online Lidar#2: packet message comes from ROS or ROS2#3: packet message comes from Pcap file#4: packet message comes from Protobuf-UDP#5: point cloud comes from Protobuf-UDPsend_packet_ros: true                                #true: Send packets through ROS or ROS2(Used to record packet)send_point_cloud_ros: true                            #true: Send point cloud through ROS or ROS2send_packet_proto: false                              #true: Send packets through Protobuf-UDPsend_point_cloud_proto: false                         #true: Send point cloud through Protobuf-UDPpcap_path: /media/holden/JIANQIN2/RS-Bpearl_v2_RoadTest_update-20200312/RS-Bpearl_TunnelTest_Data.pcap                 #The path of pcap filelidar:- driver:lidar_type: RS16            #LiDAR type - RS16, RS32, RSBP, RS128, RS80, RSM1, RSHELIOSframe_id: /rslidar           #Frame id of messagemsop_port: 6699              #Msop port of lidardifop_port: 7788             #Difop port of lidarstart_angle: 0               #Start angle of point cloudend_angle: 360               #End angle of point cloud min_distance: 0.2            #Minimum distance of point cloudmax_distance: 200            #Maximum distance of point clouduse_lidar_clock: false       #True--Use the lidar clock as the message timestamp#False-- Use the system clock as the timestamp  ros:ros_recv_packet_topic: /rslidar_packets          #Topic used to receive lidar packets from ROSros_send_packet_topic: /rslidar_packets          #Topic used to send lidar packets through ROSros_send_point_cloud_topic: /rslidar_points      #Topic used to send point cloud through ROSproto:point_cloud_recv_port: 60021                     #Port number used for receiving point cloud point_cloud_send_port: 60021                     #Port number which the point cloud will be send tomsop_recv_port: 60022                            #Port number used for receiving lidar msop packetsmsop_send_port: 60022                            #Port number which the msop packets will be send to difop_recv_port: 60023                           #Port number used for receiving lidar difop packetsdifop_send_port: 60023                           #Port number which the difop packets will be send to point_cloud_send_ip: 127.0.0.1                   #Ip address which the point cloud will be send to packet_send_ip: 127.0.0.1                        #Ip address which the lidar packets will be send to

[4] 驱动直接编译

​ 按照如下指令即可编译运行程序。 直接编译也可以使用ROS相关功能(不包括ROS2),但需要在程序启动前手动启动roscore,启动后手动打开rviz才能看到可视化点云结果。

cd rslidar_sdk
mkdir build && cd build
cmake .. && make -j4
./rslidar_sdk_node

4. rviz点云展示

​ 显示点云如下

速腾聚创16线激光雷达ros驱动安装与rviz点云展示说明相关推荐

  1. 速腾聚创16线激光雷达rslidar-16的ros驱动安装与rviz点云显示

    原链接: https://community.bwbot.org/topic/520 运行测试平台:小强ROS机器人 速腾聚创16线激光雷达rslidar-16的供电是直流12v 3A,通信接口是rs ...

  2. 【激光雷达】速腾聚创16线激光雷达驱动程序测试总结

    目录 1.速腾16线激光测试参考: 2.测试目的: 3.测试结果: 4.测试代码: 1.速腾16线激光测试参考: 源码地址: https://github.com/RoboSense-LiDAR/ro ...

  3. 基于ros 在TX2上装速腾聚创16线激光雷达RS-LiDAR

    准备工作: tx2开发板一块(ubantu16.04) 速腾激光雷达16线 网线 一块显示屏(用于连接tx2) 1.安装雷达驱动 安装依赖 sudo apt-get install libpcap-d ...

  4. 速腾聚创16线激光雷达录的数据包运行LeGO-LOAM

    1.run.launch文件修改如下: <launch><!--- Sim Time --><param name="/use_sim_time" v ...

  5. 速腾聚创Robosense16线激光雷达SLAM建图(一)————Hector建图

    因为最近拿到一个Robosense16线的激光雷达,这是一个三维的激光雷达,所以就拿着这个雷达把一些开源的经典的SLAM算法都跑了一遍,中间也遇到了一些问题,所以就打算在博客上记录下来,供大家交流参考 ...

  6. 速腾聚创16线雷达配置

    auto enp8s0 iface enp8s0 inet static address 10.7.5.88 netmask 255.0.0.0 gateway 10.7.5.100 因为松灵的厂家改 ...

  7. 【速腾聚创混合固态激光雷达RS-M1简介与实物开箱】

    [RS-M1系列 - 0]速腾聚创混合固态激光雷达RS-M1简介与实物开箱 这是我在CSDN的第一篇博客,文中难免有疏漏甚至错误,如有错误敬请在评论区指出,相互学习~ 网上关于传统机械式激光雷达的技术 ...

  8. 速腾聚创32线雷达雷达,RVIZ显示激光点云

    1.下载驱动文件 ahren@ahren:~/ld_ws/src$ git clone https://github.com/RoboSense-LiDAR/ros_rslidar 2.在工作空间ld ...

  9. 调试速腾聚创激光雷达RS-LIDAR-M1(在Windows系统下)

    1.概述 RS-LIDAR-M1是速腾聚创研发的一款车规级别三维固态激光雷达,本文主要记录该型号激光雷达在Windows以及Linux系统下的基础调试及相关算法调试使用步骤. 本文的学习目标如下: 掌 ...

最新文章

  1. Spring使用总结
  2. 项目案例模板之登录注册的实现
  3. VisualStudio 2010从分析到实施(3)——使用Use Case Diagram设计系统交互
  4. 字母c语言ascii码,c语言ascii码对照表
  5. Spring validation框架简介
  6. 示波器探头对测量可能引起的10种影响
  7. 百度 html 3d,百度地图实现3D棱柱
  8. 易优CMS插件-站长必备易优CMS插件
  9. Oracle 10.2.0.3使用Logminor工具和把system表空间变成locally
  10. 详解word2vec
  11. 数说IN语丨万豪酒店再敲警钟!防数据泄露,数博士有妙招!
  12. 认认真真推荐几个高质量人工智能方向的公众号
  13. 使用XMAPP搭建一个简单的服务器
  14. python开发qq聊天机器人_Python qqbot 实现qq机器人的示例代码
  15. 信息论:数据压缩和信源编码
  16. 不离不弃 共赴鸿蒙什么意思,郑美善:不离不弃共赴鸿蒙是什么意思解释一下...
  17. Ubuntu上安装搜狗中文输入法
  18. 专访胡润:中国富豪正变得透明
  19. 武汉大学计算机学院自主招生考试内容,武汉大学自主招生笔试面试真题
  20. 麦当劳进入中国内地市场三十周年,官方周边店线上开业

热门文章

  1. 你确定会用Numpy的argmax()吗?
  2. JVM中的锁(中):锁膨胀和锁消除
  3. bitnami mysql_bitnami下mysql配置-包含phpMyAdmin配置
  4. 船用电缆和普通电缆有什么区别?
  5. 流量单位换算的几种方式
  6. OpenCV实践之路——circle函数实现出下落的小球动画
  7. Android 设置华为手机跳转默认桌面
  8. 信必优成功案例-全球规模最大的银行及金融机构之一
  9. [附源码]java毕业设计疫情背景下社区公共卫生服务系统
  10. java生成宣传海报