1 安装 参考鱼香ros 2 安装库 C/C++ python Cmake toools 此时,编译程序中就可以自动添加一些注释 针对C++中头文件报错问题 添加头文件路径/opt/ros/galactic/** 此时,就自动有下图所示