ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

We typically do not use eclipse projects in eclipse for ros. Makefile projects seem to work well and require almost no configuration.

  • Create your ros package (with roscreate-pkg)
  • Start eclipse from your ros shell (or in a bash script which calls setup.bash first).
  • Create a new empty makfile c++ project rooted at your project
  • Add 'set(CMAKE_VERBOSE_MAKEFILE TRUE)` in your CMakeLists.txt

The last point helps the indexer auto-find headers because it will track all the -I flag settings that ros's make target generates.

  • Finally build and clean using the default build/clean options.

You can then get creative by adding make targets in the ide for tests etc.