PengYu-Team / DCL-SLAM

A ROS package of DCL-SLAM: Distributed Collaborative LiDAR SLAM Framework for a Robotic Swarm.
Apache License 2.0
195 stars 20 forks source link

编译fast_lio时提示没有pcl_catkin #14

Open lannipada opened 1 year ago

lannipada commented 1 year ago

sendpix0 找了好久没找到pcl库里有这个文件,然后我把cmakelist里的这一项去掉了可以编译成功,不知道后面会影响吗?

heisetiantang commented 1 year ago

编译dcl-fast-sam时出现找不到pcl_catkin问题 image

解决方法:使用命令首先单独编译一下pcl_catkin

catkin build pcl_catkin

之后再编译dcl_fast_lio 解决

heisetiantang commented 1 year ago

这个fast-lio和lio-sam只是前端的不同,fastlio不通过对你使用lio是没什么影响的

heisetiantang commented 1 year ago

这个fast-lio和lio-sam只是前端的不同,fastlio不通过对你使用lio是没什么影响的

pcl-catkin 需要单独下载 https://github.com/ethz-asl/pcl_catkin.git

lannipada commented 1 year ago

非常感谢您的回复,但是我的pcl_catkin编译失败了 sendpix2 其次我也遇到了前面尝试的人遇到的问题,请问您知道是什么原因吗? Screenshot from 2023-08-29 13-20-15

heisetiantang commented 1 year ago

这个是回环模块出了问题,和pclcatkin没关系

龚建铭

@.*** |

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年08月29日 17:03 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [PengYu-Team/DCL-SLAM] 编译fast_lio时提示没有pcl_catkin (Issue #14) |

非常感谢您的回复,但是我的pcl_catkin编译失败了

其次我也遇到了前面尝试的人遇到的问题,请问您知道是什么原因吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

lannipada commented 1 year ago

嗯嗯,不过这个回环模块应该怎么改呢,我看到您之前也遇到过

heisetiantang commented 1 year ago

69a396117330dcfe64d3b0616783945 在dclslam,下属的cmakelist文件中,加入最后四句,启动loopvisualizationNode的语句, 再修改lanuch文件这一句,重新编译即可 e49ef6a777a2b52dcb9e16784fa02c9

heisetiantang commented 1 year ago

对了还需要在 image 这个文件的路径下创建这两个文件夹,这样才能够接受到回环配对的输出

heisetiantang commented 1 year ago

image

GrearyGreen commented 1 month ago

add_executable(${PROJECT_NAME}_loopVisualizationNode src/loopVisualizationNode.cpp) add_dependencies(${PROJECT_NAME}_loopVisualizationNode ${catkin_EXPORTED_TARGETS} ${PROJECT_NAME}_generate_messages_cpp) target_compile_options(${PROJECT_NAME}_loopVisualizationNode PRIVATE ${OpenMP_CXX_FLAGS}) target_link_libraries(${PROJECT_NAME}_loopVisualizationNode ${catkin_LIBRARIES} ${PCL_LIBRARIES} ${OpenCV_LIBRARIES} ${OpenMP_CXX_FLAGS} ${libnabo_LIBRARIES})

mkdir ~/cslam_ws/dcl_output ~/cslam_ws/log mkdir ~/dcl_output ~/log