Error:
Solution:
Find the header file in the include directory of the function package,
copy path
Open the c_cpp_properties.json file in the .vscode folder:
Add the file to the include:
"${workspaceFolder}/devel/include",
${workspaceFolder}/src/robot_gazebo/include
problem solved