{ "version": 4, "configurations": [ { "name": "ROS 2 Lyrical", "compileCommands": "${workspaceFolder}/compile_commands.json", // 首选 compileCommands(真实编译命令),下面 includePath 是它缺失时的兜底。 "includePath": [ // 本包头文件(sentry_nav/xxx.hpp)——含纯算法核心 "${workspaceFolder}/src/sentry_nav/include", "${workspaceFolder}/src/**", "/opt/ros/lyrical/include/**", "/usr/include/pcl-1.15/**", "/usr/include/eigen3/**", "/usr/include/**" ], "cStandard": "c17", "cppStandard": "c++23", "intelliSenseMode": "linux-gcc-x64" } ] }