[***.launch] is neither a launch file in package [***] nor is [***] a launch

[start_demo.launch] is neither a launch file in package [learning_tf] nor is [learning_tf] a launch file name
The traceback for the exception was written to the log file

最近经常遇到这样的问题,主要原因是没有在编译后source一下

解决方法:

cd ~/catkin_ws/
catkin_make
source ./devel/setup.zsh

重新编译之后再source一下即可解决。

自己还遇到一种情况就是把文件名敲错了,这也会导致上面这种问题,所以需要多注意!!!

你可能感兴趣的:(问题,&,解决)