配置python库
在.vscode/目录下新建settings.json文件,输入以下内容:
1 2 3 4 5 6 7 8
| { "python.autoComplete.extraPaths": [ "/opt/ros/foxy/lib/python3.8/site-packages/" ], "python.analysis.extraPaths": [ "/opt/ros/foxy/lib/python3.8/site-packages/" ] }
|
配置c/c++库
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "/usr/include/**", "/opt/ros/foxy/include/**" ], "defines": [], "compilerPath": "/usr/bin/gcc", "cStandard": "c17", "cppStandard": "gnu++14", "intelliSenseMode": "linux-gcc-x64" } ], "version": 4 }
|