IDE for ROS 2.0

1,923 views
Skip to first unread message

Marcel Pelzer

unread,
Sep 29, 2016, 10:30:59 AM9/29/16
to ROS SIG NG ROS
Hi everyone,

does anyone know a IDE for ROS2 to debug your code? In ROS 1.0 there was the command 
"catkin_create eclipse project"
is der a similiar one for the ament system available?.

Thank you for any kind of help
Marcel

Jose Luis Blanco

unread,
Sep 29, 2016, 11:32:24 AM9/29/16
to ros-sig...@googlegroups.com
Hi,

I did put together some instructions in [1] for QtCreator & ROS1,
they are generic enough to possibly work for ROS2...

Cheers,
JL

[1] http://www.ciencia-explicada.com/2014/12/ros-how-to-develop-catkin-packages-from-an-ide.html
> --
> You received this message because you are subscribed to the Google Groups
> "ROS SIG NG ROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ros-sig-ng-ro...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
___________________________________________________________

Jose Luis Blanco-Claraco
CITE-IV 1.05
Universidad de Almería, Departamento de Ingeniería
04120 Almería (Spain)
http://www.ual.es/~jlblanco/
___________________________________________________________

Dirk Thomas

unread,
Sep 29, 2016, 12:05:37 PM9/29/16
to ROS SIG NG ROS
The instructions from Jose are based on `catkin_make` which builds all packages in a workspace within a single CMake context. But ROS 2 only supports to build each package separately (more like `catkin_make_isolated` / `catkin build`). Therefore you can't generate a single QtCreator / Eclipse project. Instead you have to generate separate project files for each package and then open them all in the IDE. And while all packages in ROS 1 are CMake-based that is not the case for ROS 2. Some packages are pure Python packages so you can't use `cmake -G ...` to generate QtCreator / Eclipse projects for those.

Cheers,
- Dirk


On Thu, Sep 29, 2016 at 8:32 AM, Jose Luis Blanco <joselui...@gmail.com> wrote:
Hi,

I did put together some instructions in [1] for QtCreator & ROS1,
they are generic enough to possibly work for ROS2...

Cheers,
JL

[1] http://www.ciencia-explicada.com/2014/12/ros-how-to-develop-catkin-packages-from-an-ide.html

On Thu, Sep 29, 2016 at 4:30 PM, Marcel Pelzer <marcelp...@gmail.com> wrote:
> Hi everyone,
>
> does anyone know a IDE for ROS2 to debug your code? In ROS 1.0 there was the
> command
> "catkin_create eclipse project"
> is der a similiar one for the ament system available?.
>
> Thank you for any kind of help
> Marcel
>
> --
> You received this message because you are subscribed to the Google Groups
> "ROS SIG NG ROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an

> For more options, visit https://groups.google.com/d/optout.



--
___________________________________________________________

Jose Luis Blanco-Claraco
CITE-IV 1.05
Universidad de Almería, Departamento de Ingeniería
04120 Almería (Spain)
http://www.ual.es/~jlblanco/
___________________________________________________________
--
You received this message because you are subscribed to the Google Groups "ROS SIG NG ROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-ng-ros+unsubscribe@googlegroups.com.

Geoffrey Viola

unread,
Sep 29, 2016, 4:12:24 PM9/29/16
to ROS SIG NG ROS
I'd recommend using clion on Linux or MSVC on Windows. Both have student and open source licenses.

To run clion, first open a command line window. Source the workspace. Then, run clion with the package CMakeList.txt directory path as an argument.

MSVC requires ament build to have generated the .sln files. Then, source the workspace in command line. Run devenv. Finally, open the .sln in Visual studio.

William Woodall

unread,
Sep 29, 2016, 5:26:52 PM9/29/16
to ROS SIG NG ROS
A similar discussion has been going on for a while on the catkin tools repository:


--
You received this message because you are subscribed to the Google Groups "ROS SIG NG ROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-ng-ros+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
William Woodall
ROS Development Team
Reply all
Reply to author
Forward
0 new messages