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

Documentation: Configuring ROS2 environment

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

wintermute gravatar image

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

Hello,

I have been following https://docs.ros.org/en/foxy/Tutorial...

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
1

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

Question Tools

2 followers

Stats

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

Seen: 130 times

Last updated: Mar 11 '21