问题的来源 使用vscode 的时候重新编译产生了ROS的message 的头文件,之后无法include that path Solution Delete the previous .vscode settings and reopen the windows again.