Ask Your Question
0

ROS2 with Eclipse

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

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

Comments

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 imageaks ( 2018-05-28 02:59:37 -0600 )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 imageaks ( 2018-05-28 04:07:59 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

inflo gravatar image

updated 2018-06-03 06:57:57 -0600

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 https://github.com/ros2/ros2/wiki/Ecl... "eclipse indexer" section

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 145 times

Last updated: Jun 03 '18