AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Setting up visual studio code for c++4/30/2023 Displaying Velodyne PCAP data in ROS' RViz.Observe that the green wavy lines are no longer displayed. Then save and restart Visual Studio Code. The following screenshots show the c_cpp_properties.json file and the includePath configuration array.Īppend the path " /opt/ros/melodic/include" to the includePath array variable as shown below. To get rid of these wavy lines, the C/C++ properties ( c_cpp_properties.json) file need to be edited to add in the ROS header include directory, e.g. If the extension is unable to locate the ROS header files, the code editor will show wavy green lines under the header files, as shown in the screenshot below. If they are not already installed, simply run Visual Studio Code and install the following extensions:Īnother thing that can be helpful is to configure the Microsoft C/C++ extension to include the ROS header include files. In order to use Visual Studio Code on Ubuntu to develop ROS (Robotic Operating System) C++ packages, a couple of Visual Studio Code extensions can be helpful.
0 Comments
Read More
Leave a Reply. |