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

Eclipse2 IDE for development and integration for ROS2 Foxy

asked 2020-11-18 05:20:43 -0600

prince gravatar image

Greetings, I am finding it difficult to replicate the steps for Utilization of Eclipse IDE for ROS2 Foxy based development (installed from deb packages) on Ubuntu 20.04 .

I have followed some of the open tutorials: https://index.ros.org/doc/ros2/Tutori.... In the sequence of instruction, I am unable to setup ament.py as this script is accessible only to root, as ROS2 is installed using deb pkgs.

https://answers.ros.org/question/3262...: After following all sequence of steps, eclipse reports "No rule to make target all"

Is there any established know sequence of instruction for use of Eclipse or any other IDE with ROS2?

Thanks Nitin

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-11-18 22:34:36 -0600

prince gravatar image

I have solved the problem in following manner:

  1. In webpage https://index.ros.org/doc/ros2/Tutori...: Replace ament command with colcon. Create a new Builder for the project with colcon command. set location as /usr/bin/colcon. Set appropriate arguments which you will use to compile the package from the terminal.

    1. For indexer: In C/C++ General -> Path and Symbols -> tab includes -> for GNU C++ language: Add path of ROS includes (/opt/ros/foxy/include), Add path of includes of specific libraries which pkg uses, Add install path of the other ros-packages from the underlay/current workspace environment.
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-11-18 05:20:43 -0600

Seen: 254 times

Last updated: Nov 18 '20