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

$ ROSDISTRO is rolling, although ROS2 Galactic is installed

asked 2021-06-19 01:54:25 -0500

ijnek gravatar image

I have recently installed ROS2 Galactic from source with instructions from the tutorials (https://docs.ros.org/en/galactic/Inst...)

When I open a new terminal, and run echo $ROS_DISTRO, the variable is empty as expected.

I source galactic's setup file, source ~/ros2_galactic/install/setup.bash, then run echo $ROS_DISTRO.

rolling is printed out in the terminal, whereas it should be galactic, why could this be happening?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-06-19 09:01:06 -0500

gvdhoorn gravatar image

updated 2021-06-19 09:04:42 -0500

Could be because the version of the ros2.repos file those instructions have you download points to master, which makes you download the rolling branch of ros_environment.

Not sure why the documentation tells you to do that.

The Foxy instructions download the foxy version of ros2.repos.

I'd suggest opening an issue on the ros2/ros2_documentation issue tracker. You might even already fix it and submit a PR.

edit flag offensive delete link more

Comments

2

Confirmed that, that is the case. Thanks! I have put a PR up for the fix. (https://github.com/ros2/ros2_document...)

ijnek gravatar image ijnek  ( 2021-06-19 21:15:20 -0500 )edit

@ijnek: I guess this did not solve the problem after all?

gvdhoorn gravatar image gvdhoorn  ( 2021-06-22 02:49:43 -0500 )edit
1

@gvdhoorn Apologies, I accidentally unchecked this as the correct answer without realising. Back to correct answer!

ijnek gravatar image ijnek  ( 2021-06-22 04:00:18 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2021-06-19 01:54:25 -0500

Seen: 290 times

Last updated: Jun 19 '21