当前位置:网站首页>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
实时建图效果
室外
室内
边栏推荐
- Day8 - cloud information project introduction and creation
- This set of steps for performance testing using JMeter includes two salary increases and one promotion
- Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing
- Crawler notes (1) - urllib
- 解决本地连接不上虚拟机的问题
- 使用sqlite3语句后出现省略号 ... 的解决方法
- Structured machine learning project (I) - machine learning strategy
- 《7天學會Go並發編程》第7天 go語言並發編程Atomic原子實戰操作含ABA問題
- 跟着存档教程动手学RNAseq分析(四):使用DESeq2进行DE分析的QC方法
- 二维数组中修改代价最小问题【转换题意+最短路径】(Dijkstra+01BFS)
猜你喜欢

Codeforces Round #716 (Div. 2)

Educational Codeforces Round 108 (Rated for Div. 2)

Memoirs of actual combat: breaking the border from webshell

Infiltration learning - problems encountered during SQL injection - explanation of sort=left (version(), 1) - understanding of order by followed by string

Codeforces Round #719 (Div. 3)

改善深层神经网络:超参数调试、正则化以及优化(三)- 超参数调试、Batch正则化和程序框架

Vue+MySQL实现登录注册案例

Penetration learning - shooting range chapter - detailed introduction to Pikachu shooting range (under continuous update - currently only the SQL injection part is updated)

C # QR code generation and recognition, removing white edges and any color

Login credentials (cookie+session and token token)
随机推荐
Login credentials (cookie+session and token token)
Yarn performance tuning of CDH cluster
爬虫笔记(3)-selenium和requests
Process judgment - ternary operation - for loop
2022年第一季度“广州好人”刘磊峰:具有强烈的诚信意识和食品安全意识
扁平数组和JSON树的转换
PCIe knowledge point -008: structure of PCIe switch
ABAP essay-excel-3-batch import (breaking through 9999 lines of standard functions)
average-population-of-each-continent
[随笔]ME53N 增加按钮,调用URL
Gao fushuai in the unit testing industry, pytest framework, hands-on teaching, will do this in the future test reports~
C # QR code generation and recognition, removing white edges and any color
mysql 大于 小于 等于符号的表示方法
Workflow automation low code is the key
99 multiplication table - C language
Improving deep neural networks: hyperparametric debugging, regularization and optimization (III) - hyperparametric debugging, batch regularization and program framework
Conversion between flat array and JSON tree
Codeforces Round #723 (Div. 2)
跟着存档教程动手学RNAseq分析(四):使用DESeq2进行DE分析的QC方法
Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing