当前位置: 首页 > news >正文

基于 RO1 noetic 配置 robosense Helios 32(速腾) xsense mti 300

博客地址:https://www.cnblogs.com/zylyehuo/

雷达型号:robosense Helios 32(速腾)

IMU 型号:xsense mti 300

使用环境: RO2 humble

首先将雷达以及 IMU 都连接到电脑上

89b18efddb314f927575a6029758a2dd

配置 robosense Helios 32(速腾)

查看雷达 IP 地址

安装辅助工具

sudo apt install wireshark-qt

Snipaste_2026-04-03_20-46-38

启动辅助工具

sudo wireshark

image
Snipaste_2026-04-03_20-51-27

记录下 Who 和 Tell 后面的 IP 地址

Who 是要给电脑设置的 IP 地址

Tell 是雷达自身的 IP 地址

在网页中访问雷达 IP 地址

Snipaste_2026-04-03_20-54-01
Snipaste_2026-04-03_21-32-27

记录下这些配置

为电脑配置 IP 地址

Snipaste_2026-04-03_21-26-18
Snipaste_2026-04-03_21-26-29

测试电脑能否 ping 通雷达

Snipaste_2026-04-03_20-54-39

配置 xsense mti 300

为 IMU 的 USB 接口赋予权限

Snipaste_2026-04-03_21-44-32

ls /dev/tty  # 双击 Tab 键sudo chmod 777 /dev/ttyUSB0

下载并编译驱动功能包

image

下载并编译雷达驱动功能包

mkdir -p driver_ws/srccd driver_ws/srcgit clone https://github.com/RoboSense-LiDAR/rslidar_sdk.gitcd rslidar_sdkgit submodule initgit submodule update
sudo apt-get updatesudo apt-get install -y libyaml-cpp-devsudo apt-get install -y  libpcap-dev
cd driver_wscatkin_make

下载并编译 IMU 驱动功能包

参考文档

cd /home/yehuo/Downloadsgit clone https://github.com/xsenssupport/Xsens_MTi_ROS_Driver_and_Ntrip_Client.git

image

将下载下来的项目中的 ros 驱动复制到工作空间的 src 路径下

image

sudo apt install ros-$ROS_DISTRO-nmea-msgssudo apt install ros-$ROS_DISTRO-mavros-msgs

image

sudo chmod -R o+rw xsens_ros_mti_driver/cd ..pushd src/xsens_ros_mti_driver/lib/xspublic && make && popdcatkin_make

测试

雷达与 IMU 时间同步

image
image

sudo ptp4l -m -i enp11s0 -S

测试 robosense Helios 32(速腾)

07889d7b911a290d10c9166daa6f6b78

修改 config.yaml 配置文件

与雷达网页上记录的配置参数相对应

image

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 filesend_packet_ros: false                # true: Send packets through ROS or ROS2(Used to record packet)send_point_cloud_ros: true            # true: Send point cloud through ROS or ROS2
lidar:- driver:lidar_type: RSHELIOS  # RSM1             #  LiDAR type - RS16, RS32, RSBP, RSAIRY, RSHELIOS, RSHELIOS_16P, RS128, RS80, RS48, RSP128, RSP80, RSP48, #               RSM1, RSM1_JUMBO, RSM2, RSM3, RSE1, RSMX.msop_port: 6698  # 6699              #  Msop port of lidardifop_port: 7789  # 7788             #  Difop port of lidarimu_port: 0                  #  IMU port of lidar(only for RSAIRY, RSE1), 0 means no imu.#  If you want to use IMU, please first set ENABLE_IMU_DATA_PARSE to ON in CMakeLists.txt user_layer_bytes: 0          #  Bytes of user layer. thers is no user layer if it is 0         tail_layer_bytes: 0          #  Bytes of tail layer. thers is no tail layer if it is 0min_distance: 0.2            #  Minimum distance of point cloudmax_distance: 200            #  Maximum distance of point clouduse_lidar_clock: true        #  true--Use the lidar clock as the message timestamp#  false-- Use the system clock as the timestampdense_points: false          #  true: discard NAN points; false: reserve NAN pointsts_first_point: true         #  true: time-stamp point cloud with the first point; false: with the last point;   #  these parameters are used from mechanical lidarstart_angle: 0               #  Start angle of point cloudend_angle: 360               #  End angle of point cloud#  When msg_source is 3, the following parameters will be usedpcap_repeat: true            #  true: The pcap bag will repeat play   pcap_rate: 1.0               #  Rate to read the pcap filepcap_path: /home/robosense/lidar.pcap #The path of pcap fileros:ros_frame_id: rslidar                           #Frame id of packet message and point cloud messageros_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_imu_data_topic: /rslidar_imu_data         #Topic used to send imu data through ROSros_send_point_cloud_topic: /rslidar_points      #Topic used to send point cloud through ROSros_queue_length: 100                            #Topic QoS history depth

启动 launch 文件进行测试

image

image

cd driver_wssource devel/setup.bashroslaunch rslidar_sdk start.launch

Tips:速腾雷达可以选择点的类型

参考链接:速腾聚创雷达最新驱动安装(包含ring和timestamp)运行lio-sam

image
image

保存好之后,重新编译即可

测试 xsense mti 300

基于 MT软件套测试

1.安装依赖

安装 libdouble-conversion1
wget http://archive.debian.org/debian/pool/main/d/double-conversion/libdouble-conversion1_3.1.0-3_amd64.debsudo dpkg -i libdouble-conversion1_3.1.0-3_amd64.deb
安装 libicu60
wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu60_60.2-3ubuntu3.2_amd64.debsudo dpkg -i libicu60_60.2-3ubuntu3.2_amd64.deb

2.MT软件套下载

下载链接

Snipaste_2026-04-04_09-39-40
Snipaste_2026-04-04_09-40-23

3.执行.sh文件

将刚才下载的压缩文件手动解压,并将一共有三个文件需要解压,大文件解压后,点进去还有两个文件需要解压,解压完后将压缩包删了节省内存。

Snipaste_2026-04-04_11-53-47
Snipaste_2026-04-04_11-54-23

sudo ./mtsdk_linux-x64_2025.2.sh 

若报错“uudecond”,执行以下安装命令

sudo apt-get update -ysudo apt-get install -y sharutils

4.打开MT Manager界面

打开到以下路径的文件:

/home/yehuo/Downloads/MT_Software_Suite_linux-x64_2025.2_b20250509.1_r1744806423/MT_Software_Suite_linux-x64_2025.2/mtmanager_linux-x64_2025.2/mtmanager/linux-x64/bin

然后右键打开终端,执行如下命令

./mtmanager

image
image
image
image
image
image
image

记住这步设置的波特率

运行 launch 文件测试 IMU 节点数据

lsusb

看到Xscens ******

image

ls -l /dev/tty  # 双击 Tab 键

看到/dev/ttyUSB0

image

sudo chmod 777 /dev/ttyUSB0

image

groupssudo usermod -G dialout -a $USERnewgrp dialout

单纯发布IMU的节点数据

image

cd driver_wssource devel/setup.bashroslaunch xsens_mti_driver xsens_mti_node.launch

在 rviz 中可视化 IMU 数据

82c336bcf91a86e3727d60b4e3f30cfc

roslaunch xsens_mti_driver display.launch
http://www.jsqmd.com/news/593708/

相关文章:

  • 二轮做好题DAY3
  • 国内替代 Claude Code:Qwen 3.6 vs DeepSeek-V3.2 vs MiniMax-M2.7-highspeed
  • 知网检测AI率90%,我用这个方法两天降到12%
  • [算法训练] LeetCode Hot100 学习笔记#19
  • C#并行编程进阶:除了Task和Parallel,你还需要学会用PerformanceCounter做资源熔断
  • 基于STM32的高压无刷直流电机控制程序(含硬件设计与软件实现)
  • 26年春季学期学习记录第18天
  • AI小说创作中的版权与原创性问题解析
  • C# WinForm 工作流设计器:拖拽连线与可视化流程图实现解析
  • Libero Soc v11.9证书环境变量配置详解:LM_LICENSE_FILE、SNPSLMD与SYNPLCTYD一个都不能少
  • 知网维普都要过,AI率85%用哪款工具最合适
  • 0基础教你快速写自己的Agent Skills
  • ROS多机通信实战:手把手教你配置主从机(含SSH远程调试技巧)
  • Harbor集成Trivy实现镜像安全扫描:从安装到离线环境配置全指南
  • 基于Matlab的分布式电源选址定容软件:优化接入点与容量,降低网损与电压越限风险
  • OpenAPI TS工具对比:解决openapi-typescript生成的 联合类型 (Union Type),无法直接对应 Java 后端枚举的问题
  • 数据湖与数据仓库的融合:从架构到实践
  • Unity WebGL小游戏上抖音,从踩坑到上线:一份避坑指南与性能优化清单
  • UI 2026.03.26
  • 毕业党速看:这款 AI 论文神器太疯狂,输入标题直接生成万字长文
  • Python 中的正则表达式:从基础到高级应用
  • ncmdumpGUI高效使用指南:NCM文件转换完全掌握
  • 第7章 Mosquitto增加SSL/TLS加密通信
  • COMSOL热应力仿真新手入门:从零开始设置热膨胀参数(附案例解析)
  • 快速上手:如何使用Ryzen SDT调试工具轻松优化AMD处理器性能
  • GitHub中文插件终极指南:3分钟让GitHub界面全面中文化
  • 深度学习中的目标检测算法:从原理到实践
  • yolo视觉十大新手项目推荐
  • OpenClaw v2026.4.2 深度解读:插件边界继续外移,Task Flow 真正走向可持久化运维
  • Anthropic 收购 Oven 后,Claude Code 用运行时写了一篇护城河文章