解决方法 :在终端输入 [html] view plain copy export ROS_PACKAGE_PATH=~/catkin_ws/src/tutorials:$ROS_PACKAGE_PATH [html] view plain copy 其中~/catkin_ws/src/tutorials是你创建的功能包的路径