当前位置:网站首页>Livox Lidar+海康Camera 基于loam的实时三维重建生成RGB彩色点云
Livox Lidar+海康Camera 基于loam的实时三维重建生成RGB彩色点云
2022-06-27 19:57:00 【lucky li】
Livox Lidar + HIKROBOT Camera系列
最近在开发相机和激光雷达融合的slam算法,主要用于三维重建,想实时的得到彩色点云地图,传感器选择了海康威视的工业相机和大疆的固态激光雷达。
海康Camera MVS Linux SDK二次开发封装ROS packge过程记录(c++)
Livox Lidar+海康Camera实时三维重建生成RGB彩色点云地图
前言
目标是利用Livox Lidar+海康Camera实时三维重建生成RGB彩色点云,算法基于 loam 及其各种变种的优化改进,已开源https://github.com/luckyluckydadada/livox_color_mapping。
有关loam及其各种变种的原理网上解析很多,这里不做解释,各种loam原理的文章整理参见:各种版本loam整理
livox_color_mapping我的这个loam版本代码支持生成带有RGB信息的彩色地图,并对代码进行了详细的中文注释,欢迎star
pipline

- 利用livox ros包中的节点调用激光雷达生成/livox/lidar(Topic) ;
- 利用hikrobot ros包中的节点调用相机生成/hikrobot_camera/rgb(Topic);
- 通过livox_color ros包【参看 Livox Lidar+海康Camera实时生成彩色点云】中的节点订阅/hikrobot_camera/rgb(Topic)和/livox/lidar(Topic)实时处理,并生成彩色点云/livox/color_lidar(Topic);
- 通过livox_color_mapping ros包中的节点订阅/livox/color_lidar(Topic),生成彩色点云地图,请在livox_color_mapping/launch/mapping_mid_color.launch文件中指定地图保存路径/home/xxx,保存的格式为bin形式的pcd文件,可直接用pcl_viewer all_points.pcd打开查看。也可转为ply格式:pcl_pcd2ply demo.pcd demo.ply
安装


请先行完成依赖安装:
海康Camera MVS Linux SDK二次开发封装ROS packge过程记录(c++)
livox_color_mapping安装:
cd ws_livox/src # 前面 livox ros driver的安装目录(https://github.com/Livox-SDK/livox_ros_driver)
git clone https://github.com/luckyluckydadada/livox_color_mapping.git
cd ..
catkin_make
运行
请结合前面的《pipeline》对照执行,一个终端的执行对应一条原理。
终端1:
cd ~/ws_livox
source devel/setup.bash
roslaunch livox_ros_driver livox_lidar.launch
终端2:
cd ~/ws_hikrobot_camera
source devel/setup.bash
roslaunch hikrobot_camera hikrobot_camera.launch
终端3:
cd ~/ws_livox_color
source devel/setup.bash
roslaunch livox_color color_livox-for-color-mapping.launch
终端4:
cd ~/ws_livox
source devel/setup.bash
# 注意要修改 mapping_mid_color.launch中的map存储路径,不然会覆盖上次的map结果
roslaunch livox_color_mapping mapping_mid_color.launch
实时建图效果
室外
室内
边栏推荐
- 九九乘法表——C语言
- Oracle obtains the beginning and end of the month time, and obtains the beginning and end of the previous month time
- Penetration learning - shooting range chapter -dvwa shooting range detailed introduction (continuous updating - currently only the SQL injection part is updated)
- 结构化机器学习项目(一)- 机器学习策略
- This set of steps for performance testing using JMeter includes two salary increases and one promotion
- Use logrotate to automatically cut the website logs of the pagoda
- 【微服务】(十六)—— 分布式事务Seata
- netERR_CONNECTION_REFUSED 解决大全
- Vue+mysql login registration case
- 通过tidymodels使用XGBOOST
猜你喜欢

netERR_ CONNECTION_ Refused solution

爬虫笔记(2)- 解析

《7天学会Go并发编程》第7天 go语言并发编程Atomic原子实战操作含ABA问题

资深猎头团队管理者:面试3000顾问,总结组织出8大共性(茅生)

Ellipsis after SQLite3 statement Solutions for

广告太「野」,吉野家「渡劫」

netERR_CONNECTION_REFUSED 解决大全

Crontab scheduled task common commands

mysql操作入门(四)-----数据排序(升序、降序、多字段排序)

99 multiplication table - C language
随机推荐
九九乘法表——C语言
Crawler notes (2) - parse
It smells good. Since I used Charles, Fiddler has been completely uninstalled by me
Contest 2050 and Codeforces Round #718 (Div. 1 + Div. 2)
The problem of minimum modification cost in two-dimensional array [conversion question + shortest path] (dijkstra+01bfs)
YOLOv6:又快又准的目标检测框架开源啦
跟着存档教程动手学RNAseq分析(四):使用DESeq2进行DE分析的QC方法
PHP connects to database to realize user registration and login function
OpenSSL Programming II: building CA
Codeforces Round #719 (Div. 3)
Exclusive interview with millions of annual salary. What should developers do if they don't fix bugs?
mysql中一对多关联,获取多表中最新一条数据
渗透学习-靶场篇-pikachu靶场详细攻略(持续更新中-目前只更新sql注入部分)
MySQL数据库 实验报告(一)
Consumer finance app user insight in the first quarter of 2022 - a total of 44.79 million people
Codeforces Round #716 (Div. 2)
How to participate in openharmony code contribution
二维数组中修改代价最小问题【转换题意+最短路径】(Dijkstra+01BFS)
对话乔心昱:用户是魏牌的产品经理,零焦虑定义豪华
初识C语言 第二弹