ydlidar-master修改为ydlidar

本文详细解析了在ROS中遇到的错误:“[lidar_view.launch] is neither a launch file in package [ydlidar-master] nor is [ydlidar-master] a launch file name”,并提供了解决方案。主要原因是包名中含有-符号,导致catkin_make无法正确识别。解决办法是将包名ydlidar-master改为ydlidar。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题描述:

[lidar_view.launch] is neither a launch file in package [ydlidar-master] nor is [ydlidar-master] a launch file name
The traceback for the exception was written to the log file
原因:

参考:https://answers.ros.org/question/143496/roslaunch-is-neither-a-launch-file-in-package-nor-is-a-launch-file-name/

使用命令:

并没有找到包ydlidar-master。所以ROS中包的名称中不能有“-”符号,否则,catkin_make编译无法识别此包名,导致上面错误。

解决:将上面包名ydlidar-master修改为ydlidar即搞定。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值