How to use Eclipse IDE for developing Ros2 packages?

In the past with ROS1, a simple command like catkin build MY_ROS1_PACKAGE_NAME –force-cmake -G”Eclipse CDT4 – Unix Makefiles” would generate the necessary CMake project settings, so it could be imported in Eclipse via the Import > Existing Projectway. Does anyone know how to do this for ROS2 packages built with colcon? It seems that the idea of building individual packages from the workspace has changed and now we required to build the entire workspace.

Even after following the instructions in https://index.ros.org/doc/ros2/Tutorials/Eclipse-Oxygen-with-ROS-2-and-rviz2/ I am not able to Execute/Debug a node within Eclipse.

I’m new to ROS2, but I’ve been using ROS1 for quite a while. I’m probably missing some conceptual understanding of how colcon works, but it won’t hurt to ask if there are any developers using ROS2 in Eclipse that can provide some insight.

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注