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

How to install ROS noetic for testing?

asked 2020-04-23 15:32:13 -0500

billtheplatypus gravatar image

I'm a developer on the ROSflight project, and I would like to check the compatibility of our software with ROS Noetic before it releases. I set up an Ubuntu 20.04 VM, and I tried to install noetic from the apt repository and from source. The apt repo didn't have ros-noetic-desktop, and when I tried installing from source with the instructions on the wiki, rosinstall_generator skipped it because it isn't released.

$ rosinstall_generator desktop --rosdistro noetic --deps --tar > noetic_desktop.rosinstall
The following unreleased packages/stacks will be ignored: desktop
No packages/stacks left after ignoring unreleased

I understand that because Noetic isn't released, the normal ways for installation may not work. How can I install it for testing? I would expect there to be an option not to skip unreleased for rosinstall_generator, but I couldn't find anything.

edit retag flag offensive close merge delete

Comments

Following up; Noetic is now released https://www.openrobotics.org/blog/202...

sloretz gravatar image sloretz  ( 2020-05-23 14:54:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-04-23 16:10:30 -0500

sloretz gravatar image

While Noetic has not yet released (Expected release date May 23, 2020) packages are available from the testing repo. Add the repo, apt-get update, and packages will become available.

echo "deb http://packages.ros.org/ros-testing/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros1-testing.list
apt-get update

The ros-noetic-desktop package is not yet available as of today, but if all your dependencies are released then you can use rosdep to fetch just the packages you need from the testing apt repo. This assumes you have your source code checked out in a workspace .

rosdep install --from-paths ./src -i -y --rosdistro noetic
edit flag offensive delete link more

Comments

So this wouldn't install all of ROS at once, only the dependencies for the given software?

billtheplatypus gravatar image billtheplatypus  ( 2020-04-23 18:45:20 -0500 )edit

Correct. If you would like to install everything, apt-cache search --names-only "ros-noetic" will show you all ROS packages available, though you'll have to do a little work to turn that list into an apt-get install command.

sloretz gravatar image sloretz  ( 2020-04-23 19:08:09 -0500 )edit

On Ubuntu:

sudo sh -c 'echo "deb http://packages.ros.org/ros-testing/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros1-testing.list
lucasw gravatar image lucasw  ( 2020-05-01 09:46:47 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2020-04-23 15:32:13 -0500

Seen: 945 times

Last updated: Apr 23 '20