ERROR: cannot launch node of type [learning_topic/person_subscriber]: learning_topic

在启动launch文件时发现下面的问题:

ERROR: cannot launch node of type [learning_topic/person_subscriber]: learning_topic_第1张图片

解决方法:

方法一:

    在你的工作空间所在目录下输入命令  source  devel/setup.bash,告诉系统文件所在位置。

方法二:

1.在主目录下按Ctrl+h,找到隐藏的文件.bashrc,在里面加入source /home/yangjinghui/guyue21/devel/setup.bash,其中绿色部分为你工作空间所在的根目录,改成你自己你的就行,改完之后保存。

2.打开新的终端,输入 source ./.bashrc。

3.重新启动终端即可。

这样的话就不用每次如方法一中source了,系统会自动找到文件所在位置。

你可能感兴趣的:(ERROR: cannot launch node of type [learning_topic/person_subscriber]: learning_topic)