【ROS】RLException:[xxx.launch] is neither a launch file in package [xxxxx] nor is [xxx] a launch fi

学习多个ROS功能包的代码的过程中,在运行完一个launch文件后突然出现无法运行其他launch文件的问题,报错

RLException: [demo.launch] is neither a launch file in package [dobot_moveit] nor is [dobot_moveit] a launch file name


看网上都说是环境变量配错了,经过各种修改都没有成功,后面突然试出来了
原因是我使用了terminator,运行两个launch文件是在同一个窗口切分的两个终端中,这两个终端应该是使用的同一个进程?已经运行的launch文件会干扰其他launch文件运行
新开一个不同进程的终端窗口就好了

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
根据引用和引用的信息,RLException: [wpb_simple.launch] is neither a launch file in package [wpr_simulation] nor is [wpr_simulation] a launch file name这个错误提示说明在包wpr_simulation中没有名为wpb_simple.launchlaunch文件,或者wpr_simulation不是一个有效的launch文件名。这可能是由于包中缺少了该launch文件,或者文件名填写错误导致的。 为了解决这个问题,你可以尝试以下几种方法: 1. 确认包wpr_simulation中是否存在名为wpb_simple.launch的文件。你可以使用ls命令在包的目录下查看所有的文件和文件夹,确保包含了你要使用的launch文件。 2. 如果确保包中存在该文件,那么可能是文件名填写错误导致的。你可以仔细检查launch文件的文件名是否与你在代码中调用的文件名一致,包括大小写和文件扩展名。 3. 如果你确定文件名正确,那么可能是包的路径设置有问题。你可以检查你的ROS环境变量和包路径设置,确保包wpr_simulation在ROS系统中能够被正确找到。 希望这些方法能够帮助你解决这个问题!<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [RLException: [simple_launch] is neither a launch file in package [learning_launch] nor is [learning_](https://blog.csdn.net/qq_37788383/article/details/103701661)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [RLException: [xx.launch] is neither a launch file in package [x] nor is [x] a launch file name的解决...](https://blog.csdn.net/qq_44164791/article/details/130351276)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

DOKUNYU

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值