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

ROS2 with Eclipse

asked 2018-05-23 07:40:08 -0500

aks gravatar image

Even after configuring Eclipse for ROS2 (here), I cannot resolve the ROS2 related commands in Eclipse.image description

edit retag flag offensive close merge delete


What does We enter environment variables. We can get the vars, if we run "env > /tmp/out", then source the ROS 2 local_setup.bash, then "env > /tmp/out1" and "diff /tmp/out /tmp/out1". means ? where to run env>/tmp/out

aks gravatar image aks  ( 2018-05-28 02:59:37 -0500 )edit

Now while building the project i get an error : OSError: Cannot call rmtree on a symbolic link. Could it be because it set the path variables not correctly ?

aks gravatar image aks  ( 2018-05-28 04:07:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-03 06:46:39 -0500

inflo gravatar image

updated 2018-06-03 06:57:57 -0500

You run these commands like "env>/tmp/out" on a bash console. If you only run "env" on bash console you will see the environment of this bash console, If you then source the local_setup.bash on the same bash console and then run "env" on this bash console again, you will see that new environment vars are added and others are manipulated. You need to add these environment vars to eclipse.

"cannot resolve ros2 related commands" does mean , cannot resolve functions and methods and so on. You need to check "eclipse indexer" section

edit flag offensive delete link more

Question Tools



Asked: 2018-05-23 07:40:08 -0500

Seen: 380 times

Last updated: Jun 03 '18