环境要求:
- Ubuntu18.04
- Ros melodic
- vscode
vscdeo插件:
1、 C/C++
2、 C++ Intellisense
3、 Msg Language Support
4、 Python
5、 Ros
c_cpp_properties.json
“/home/myros18/catkin_ws/src/**” 根据自己路径修改
{
"configurations": [
{
"browse": {
"databaseFilename": "",
"limitSymbolsToIncludedHeaders": true
},
"includePath": [
"/opt/ros/melodic/include/**",
"/usr/include/**",
"/home/myros18/catkin_ws/src/**"
],
"name": "ROS",
"intelliSenseMode": "gcc-x64",
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++17"
}
],
"version": 4
}