Closed RomanOrion closed 10 months ago
When does the issue occur? Is it when you perform a build? Or when you run Node? Alternatively, is it when you display the code in the editor?
If you have screenshots, I may be able to give you better advice.
Hi so it happens immediately apon opening the code and im not sure the build goes through
It is due to the fact that the include path in the editor is not set properly; the ROS extension (Extension ID: ms-iot.vscode-ros) automatically adds the path to .vscode/c_c_cpp_properties.json.
You can also add it yourself.
The following is an example.
.vscode/c_cpp_properties.json
{
"configurations": [
{
"browse": {
"databaseFilename": "${default}",
"limitSymbolsToIncludedHeaders": false
},
"includePath": [
"/home/<user>/catkin_ws/devel/include/**",
"/opt/ros/noetic/include/**",
"/home/<user>/catkin_ws/src/dwa_planner/include/**",
"/usr/include/**"
],
"name": "ROS",
"intelliSenseMode": "gcc-x64",
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu11",
"cppStandard": "c++17"
}
],
"version": 4
}
Change
hi, sorry its another probably very obvious question but a huge portion of the dwa_planner.h #include issues have appeared, and its asking to update the include path but doesn't allow me to go "up" a level. is there a way to fix the include issue. ( sorry i know these a really basic questions but other resources dont fix the issue)