Setting ROS development environment in Eclipse IDE

In this section, we can see the necessary settings that we need to do for compiling ROS C++ nodes in Eclipse. There are several methods available to configure ROS development environment in Eclipse. We are going to see one of the tested methods that is used to set the ROS environment.

Global settings in Eclipse IDE

Following are the global settings that we have to do in Eclipse IDE. We don't need to do these settings for each project. These are only one-time settings.

  • Launch Eclipse IDE from the Ubuntu search bar.
  • Go to Window | Preferences. from the Preferences Window, choose C/C++ | Build | Settings and then choose the Discovery tab. Select CDT GCC Build Output Parser [Shared]. Select the Compiler ...

Get Mastering ROS for Robotics Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.