小编mmt*_*suu的帖子

如何修复“[rospack] 错误:找不到包‘my_package’”

在创建任何包后,我在 catkin_ws/src 中创建一个新的 ros 包,我使用 catkin_make 命令用新包构建 ros 包。但是当我尝试使用rospack find命令或rospacklist在 ros 包中找到我的新包时| grep [my_package],我找不到它,我看到了这个错误。

我在 Ubuntu 18.04.2 LTS 上使用 Ros Melodic 版本。

mehmet@ABRA-A5-V6-1:~/catkin_ws/src$ ls 

CMakeLists.txt  graduation_tutorial  tutorial

mehmet@ABRA-A5-V6-1:~/catkin_ws$ catkin_make
Run Code Online (Sandbox Code Playgroud)

在这个命令之后。

mehmet@ABRA-A5-V6-1:~/catkin_ws/src$ rospack find tutorial

[rospack] Error: package 'tutorial' not found
Run Code Online (Sandbox Code Playgroud)

我想找到并执行我自己的比赛包。我应该为我的 Ros 系统做什么?

python linux ros

0
推荐指数
1
解决办法
1万
查看次数

标签 统计

linux ×1

python ×1

ros ×1