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

ERROR: cannot launch node of type [dcl_slam/dcl_slam_loopVisualizationNode]: Cannot locate node of type [dcl_slam_loopVisualizationNode] in package [dcl_slam]. Make sure file exists in package path and permission is set to executable (chmod +x) #11

Open SHUAIQIDUOYI opened 1 year ago

SHUAIQIDUOYI commented 1 year ago

请问一下dcl_slam_loopVisualizationNode这个节点在哪里呀?CMakeLists.txt 文件里面也没有找到,我在编译完成运行的时候出现下面图片错误,能告诉一下这个怎么解决吗? image

JoyuZheng commented 1 year ago

请问你解决了吗?

SHUAIQIDUOYI commented 1 year ago

没有

heisetiantang commented 1 year ago

我也出现了这个问题,并且后面还有 image 这两段错误

heisetiantang commented 1 year ago

请问一下dcl_slam_loopVisualizationNode这个节点在哪里呀?CMakeLists.txt 文件里面也没有找到,我在编译完成运行的时候出现下面图片错误,能告诉一下这个怎么解决吗? image

这个问题后续有解决么

Pallav1299 commented 1 year ago

If you check inside CMakeLists.txt, authors have created the dcl_slam library but loopVisualizationNode.cpp hasn't been added as an executable. That's the reason you are getting this error. @SHUAIQIDUOYI @heisetiantang Could you try adding loopVisualizationNode.cpp as executable?

lannipada commented 1 year ago

请问你解决这个问题了吗

lannipada commented 1 year ago

没有

请问你后来解决这个问题了吗

heisetiantang commented 1 year ago

解决了,

龚建铭

@.*** |

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年08月29日 21:09 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [PengYu-Team/DCL-SLAM] ERROR: cannot launch node of type [dcl_slam/dcl_slam_loopVisualizationNode]: Cannot locate node of type [dcl_slam_loopVisualizationNode] in package [dcl_slam]. Make sure file exists in package path and permission is set to executable (chmod +x) (Issue #11) |

没有

请问你后来解决这个问题了吗

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

lannipada commented 1 year ago

请问怎么解决的呀,你还记得吗

Tartisan commented 12 months ago
add_executable(${PROJECT_NAME}_loopVisualizationNode src/loopVisualizationNode.cpp)
target_link_libraries(${PROJECT_NAME}_loopVisualizationNode ${catkin_LIBRARIES} ${PCL_LIBRARIES})

add this two lines to DCL-SLAM/CMakeLists.txt