Ask Your Question
0

Minimal ROS2 Installation

asked 2019-06-10 21:25:41 -0600

Is there a repo file available that produces a minimal ROS2 installation similar to ros-base from ROS1?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-06-10 22:10:44 -0600

tfoote gravatar image

The repos file is an artifact of our development process from before ROS2 distros existed. You can get what you want using the rosinstall_generator just like you can with ROS 1 distros. e.g.

Release tags:

rosinstall_generator --deps --rosdistro dashing ros_base

Upstream tags:

rosinstall_generator --deps --upstream --rosdistro dashing ros_base

Upstream devel branches

rosinstall_generator --deps --upstream-devel --rosdistro dashing ros_base

For faster checkouts you don't plan to edit you can use the tarballs option.

edit flag offensive delete link more

Comments

Awesome. I didn't even think to try the old setup. Thanks.

david.hodo gravatar image david.hodo  ( 2019-06-10 22:19:47 -0600 )edit

Looking for the same thing as OP. I've been following the ROS 2 build guide here: https://index.ros.org/doc/ros2/Instal...

For a minimal install, I should run rosinstall_generator prior to the colcon build command, correct?

mechapancake gravatar image mechapancake  ( 2020-02-06 11:13:27 -0600 )edit

You should replace the wget of the 'ros2.repos' file with the rosinstall_generator command.

tfoote gravatar image tfoote  ( 2020-02-06 11:51:03 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-06-10 21:25:41 -0600

Seen: 186 times

Last updated: Jun 10 '19