当前位置:网站首页>realsense d455 semantic_ Slam implements semantic octree mapping
realsense d455 semantic_ Slam implements semantic octree mapping
2022-06-25 07:40:00 【Blue feather bird】
orb_slam2 + Semantic segmentation + Octree map ,
github Address :https://github.com/floatlazer/semantic_slam
Environment configuration reference link
Now let's talk about using d455 To achieve real-time mapping , What needs to be modified .
First install intel realsense Of sdk,
To realsense-viewer The interface can be displayed successfully
Then install realsense Of ros wrapper, Give Way d455 It can be done by ros send out topic
Installation method
This step requires simultaneous installation ddynamic_reconfigure package , from github Up and down ,
and realsen_ros Put together catkin_ws/src Next make that will do
until roslaunch realsense_camera rs_rgbd.launch
It can start
About which depth map to use topic The problem of :
In some places, it is said that the depth map should be used /camera/depth/image_rect_raw
Some say yes /camera/aligned_depth_to_color/image_raw
( What specific cameras have been released topic It can be used rostopic list Order confirmation )
Use it carefully roslaunch realsense_camera rs_camera.launch
Starting the camera is not /camera/aligned_depth_to_color/image_raw Of
stay rviz I observed it in the /camera/depth/image_rect_raw and /camera/aligned_depth_to_color/image_raw Two pictures ,
Find out /camera/aligned_depth_to_color/image_raw The depth map of is and rgb Image aligned ,
in other words /camera/depth/image_rect_raw The range of this depth map may be larger than rgb Wider images , If they are stacked together, they may not overlap .
So I chose /camera/aligned_depth_to_color/image_raw,
Of course, different cameras may be different .
To determine the rgb Images /camera/color/image_raw And depth map /camera/aligned_depth_to_color/image_raw after ,
To be modified orb_slam2 Under the ros_rgbd.cc, modify topic name .
Then you have to modify it semantic_slam/semantic_slam/params Under the semantic_cloud.yaml, modify topic
At the same time, we need to modify the semantic network path, namely model_path, To pth Where the papers are
Modify camera internal parameters :
There are several methods for camera calibration , It can be used ros package ,realsense The order that comes with you , You can also take a few pictures matlab calibration ,
After calibration , modify semantic_slam/semantic_slam/params Under the semantic_cloud.yaml and xtion.yaml,
xtion.yaml The file is boot orb_slam2 Configuration file for .
At this time, the semantic segmentation image can be displayed , But it can't display the octuple map !
What's the problem ,
You can see that the problem is semantic_cloud.py, The depth map is used directly , It doesn't work DepthMapFactor Conduct scale,
And we can see in orb_slam2 The medium depth map has gone through scale Of
imDepth.convertTo(imDepth,CV_32F,mDepthMapFactor);
We need to do the same thing , stay semantic_cloud.yaml In the definition of DepthMapFactor, And then put semantic_cloud.py The depth map in scale.
Then you can build a map :
边栏推荐
- 函数模板_类模板
- 韩信大招:一致性哈希
- Access to foreign lead domain name mailbox
- Introduction to Sichuan Tuwei ca-is3082wx isolated rs-485/rs-422 transceiver
- [Introduction aux uvm== > Episode 9] ~ modèle de registre, intégration du modèle de registre, méthode conventionnelle du modèle de registre, scénario d'application du modèle de registre
- Chang Wei (variables and constants) is easy to understand
- CPDA | how to start the growth path of data analysts?
- useMemo模拟useCallback
- Chuantu microelectronics high speed and high performance rs-485/422 transceiver series
- TEMPEST HDMI泄漏接收 2
猜你喜欢
ELK + filebeat日志解析、日志入库优化 、logstash过滤器配置属性
[leetcode] two num · sum of two numbers
Orcad Schematic常用功能
[batch dos-cmd command - summary and summary] - CMD extended command and function (CMD /e:on, CMD /e:off)
Chuantu microelectronics ca-if1051 can-fd transceiver
Why "New Year's Eve", the original memory burst!
13 `bs_ duixiang. Tag tag ` get a tag object
几款不错的天气插件
Hanxin's trick: consistent hashing
OAuth 2.0一键登录那些事
随机推荐
[Batch dos - cmd Command - Summary and Summary] - External Command - cmd Download Command, wget Command
Shell tips (134) simple keyboard input recorder
【批处理DOS-CMD命令-汇总和小结】-cmd扩展命令、扩展功能(cmd /e:on、cmd /e:off)
Domestic MCU perfectly replaces STM chip model of Italy France
Keepalived monitors the process and automatically restarts the service process
【UVM入门 ===> Episode_9 】~ 寄存器模型、寄存器模型的集成、寄存器模型的常规方法、寄存器模型的应用场景
用太极拳讲分布式理论,真舒服!
MySQL facet 01
Intel announced five new technological developments, including quantum computing, neural pseudo computing, machine programming, integrated optoelectronics, and secure computing
shell小技巧(一百三十四)简单的键盘输入记录器
Sichuan earth microelectronics high performance, high integration and low cost isolated 485 transceiver
smartBugs安装小问题总结
Hanxin's trick: consistent hashing
【批处理DOS-CMD命令-汇总和小结】-文件与目录操作命令(md、rd、xcopy、dir、cd、set、move、copy、del、type、sort)
[batch dos-cmd command - summary and summary] - external command -cmd download command and packet capture command (WGet)
[batch dos-cmd command - summary and summary] - commands related to Internet access and network communication (Ping, Telnet, NSLOOKUP, ARP, tracert, ipconfig)
Cocos learning diary 3 - API acquisition nodes and components
不同路径II[针对DFS的动态规划改进]
NSIS 静默安装vs2013运行时
Let's talk about MCU crash caused by hardware problems