ROS debugging in VS code C++

asked 2019-05-10 14:36:35 -0600

murali1842 gravatar image

Is VS code is a good IDE for ROS development in C++? Anybody have an good cpp_properties, launch.json and tasks.json files to share? How to overcome the following error: -- "fatal error: ros/ros.h: No such file or directory"

edit retag flag offensive close merge delete

Comments

Strictly speaking, VS Code isn't an IDE like Visual Studio, Eclipse, etc. but rather a very flexible text editor that can be extended to function similarly to an IDE. I'm only saying this because I've found it to be difficult to enable debugging in VS Code and actually switch to an IDE for debugging or use something like gdb from the terminal. If you can get it to debug C++ then I can't imagine it would be much more difficult to get it to work with ROS.

jayess gravatar imagejayess ( 2019-05-10 17:06:09 -0600 )edit