vscode 配置ROS项目 导入库来源
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/../../opt/ros/** # ROS2系统头文件",
"${workspaceFolder}/install/** # 工作空间install目录",
"${workspaceFolder}/src/** # 源码目录",
"/opt/ros/humble/** # 替换为你的ROS2版本,如humble",
"${workspaceFolder}/**",
"/opt/ros/humble/**",
"/usr/include/**",
"~/ws_moveit/install/**"
],
"defines": [],
"compilerPath": "/usr/bin/clang-14",
"cStandard": "c17",
"cppStandard": "c++14",
"intelliSenseMode": "linux-clang-x64"
}
],
"version": 4
}
