Ask Your Question

Documentation: Configuring ROS2 environment

asked 2021-03-11 04:32:28 -0500

wintermute gravatar image

updated 2021-03-11 04:34:23 -0500


I have been following

On Section 3:

echo "export _colcon_cd_root=~/ros2_install" >> ~/.bashrc

What is this ros2_install directory? ros2 is installed under /opt/ros in my system? or must it refer to the workspace. do we make a blank directory for it? it is not mentioned anywhere in the documentation.

Best. C.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-11 09:38:51 -0500

jdlangs gravatar image

It's intended to be an example of someone's particular setup, not a universal instruction. Note the comment below that code snippet: "Depending to the way you installed colcon_cd and where your workspace is, the instructions above may vary, please refer to the documentation for more details." It's definitely more confusing than it should be though and I'm sure a small pull request to explain what's going on in a bit more detail would be welcome.

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



Asked: 2021-03-11 04:32:28 -0500

Seen: 88 times

Last updated: Mar 11 '21