Minimal ROS2 Installation
Is there a repo file available that produces a minimal ROS2 installation similar to ros-base from ROS1?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there a repo file available that produces a minimal ROS2 installation similar to ros-base from ROS1?
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.
Awesome. I didn't even think to try the old setup. Thanks.
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?
How big should the ros_base download be? I tried this with foxy and it downloaded >800 MB of source repos.
That's a little higher than I'd expect. If you check out the tarballs with just the latest checkout I see 124MB. Dependeing on what packages you're pulling the repositories from you can have a good amount of historical versions included in the default clone of the repositories, especially the release repositories which are not optimized for minimal git clones.
Asked: 2019-06-10 21:25:41 -0500
Seen: 2,171 times
Last updated: Jun 10 '19
How to get argument values in ROS2?
[Nav2] Why use Voxel layer over 2D layer for RGBD sensor?
ROS2 xacro parsing: ${robot_ip} vs $(arg robot_ip)
[ros2run]: Process exited with failure 1
ROS2 launch FindPackageShare vs get_package_share_directory
[ROS2] I can publish a parameter with wrong type and get no exception
What encoding is used for ros2bags data?
Recommendations for ROS 2 Humble and Gazebo demo for robot arm?