删除工作空间的一些功能包,每次打开终端提示【rospack】Error:package ‘XXX’not found. 解决方法:删除【workspace】/devel/etc/catkin/profile.d 下对应的文件,然后重新编译或重启。