mid360使用cartorapher进行3d建图导航

  1. 添加urdf配置文件:

添加IMU配置关节点和laser关节点

<!-- imu livox -->

<joint name="livox_frame_joint" type="fixed">

<parent link="base_link" />

<child link="livox_frame" />

<origin xyz="0 0 0" rpy="3.1416 0 0" />

</joint>

  1. 配置文件cartographer_ros/configuration_files/backpack_3d.lua

使用base_link

map_frame = "map", --map

tracking_frame = "base_link", --base_link imu_link rslidar

published_frame = "base_link", --base_link rslidar

  1. 配置cartographer_ros/launch/backpack_3d.launch....貌似这个建图的时候配置的,定位没用着!

转换topic:使用mid360的topic!

<remap from="points2" to="/livox/lidar />

<remap from="imu" to="/livox/imu" /> <!-- -->

4.配置 cartographer_ros/configuration_files/backpack_3d_localization.lua

把纯定位给去掉,不知道为什么,应该是pure_localization参数多了一个

include "backpack_3d.lua"

--TRAJECTORY_BUILDER.pure_localization = true

POSE_GRAPH.optimize_every_n_nodes = 100

return options

5.修改 cartographer_ros/launch/3d_local_wish.launch文件,就是3d_localization.launch文件,其它不做任何修改

<remap from="points2" to="/livox/lidar />

<remap from="imu" to="/livox/imu" /> <!-- -->

6.测试launch启动:使用提前建好的图

roslaunch cartographer_ros 3d_local_wish.launch load_map:=/home/wishchin/map3d/innercross.pbstream

结果:mid360的数据就是比较恍眼,定位成功

相关推荐
栗少1 天前
英语自学手册:系统化进阶指南基于《英语自学手册》的方法论与行动路径
人工智能·算法
Xの哲學1 天前
深入解析 Linux systemd: 现代初始化系统的设计与实现
linux·服务器·网络·算法·边缘计算
sinat_255487811 天前
InputStream/OutputStream小讲堂
java·数据结构·算法
cici158741 天前
基于GPRMAX的地下管线正演模拟与MATLAB实现
开发语言·算法·matlab
副露のmagic1 天前
更弱智的算法学习 day16
数据结构·学习·算法
DeepVis Research1 天前
【Storage/Signal】2026年度非线性存储一致性与跨时域信号处理基准索引 (Benchmark Index)
算法·网络安全·数据集·分布式系统
liliangcsdn1 天前
VAE中Encoder和Decoder的理论基础的探索
人工智能·算法·机器学习
Love Song残响1 天前
30字高效MATLAB优化指南
数据结构·算法
sin_hielo1 天前
leetcode 1975
数据结构·算法·leetcode
cpp_25011 天前
P1583 魔法照片
数据结构·c++·算法·题解·洛谷