Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You run these commands lie "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/Eclipse-Oxygen-with-ROS-2-and-rviz2#Debugging_with_eclipse "eclipse indexer" section

You run these commands lie 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/Eclipse-Oxygen-with-ROS-2-and-rviz2#Debugging_with_eclipse "eclipse indexer" section