Although it sounds like an OS, the name Robot Operating System (ROS) is a middleware that acts as a framework and contains a set of libraries essential for developing robotics applications. ROS has been used extensively due to the flexibility it provides. ROS applications are written in C++ and Python programming languages. In this blog post, we are going to learn how to use the Visual Studio Code (VSCode) editor for debugging ROS applications.
Before we begin, please make sure to have VSCode installed on your computer. In this blog post, I am using the following versions of tools:
● VSCode v1.63.2
● ROS Noetic
● Ubuntu 20.04.3 LTS
Next, we need to install the ROS extension provided by VSCode. Please press the “Ctrl + Shift + X” keys inside the VSCode editor and search for ROS. Alternatively, we can click on the “Extension” icon as shown below: