ROS报错[rospack] Error: package ‘.....‘ not found

ROS使用rviz报错:

[rospack] Error: package 'neor_mini' not found
[librospack]: error while executing command
[ERROR] [1659492086.074876682, 69.903000000]: Could not load resource [package://neor_mini/meshes/base_link.STL]: Unable to open file "package://neor_mini/meshes/base_link.STL".

某个包没有找到,可能有以下几个原因:

  1. 包名写错了
  2. 工作空间真的没有这个包存在
  3. 包所在的ros工作空间没有在ros环境中

一般情况下是没有source,cd到工作空间目录,souece一下即可。

source devel/setup.bash

猜你喜欢

转载自blog.csdn.net/qq_41821678/article/details/126134903