ROS 2 - olinrobotics/gravl GitHub Wiki

ROS 2

This is a temporary page for saving notes related to ROS 2. Since python 2 is no longer officially supported, we hope to move our repositories to ROS 2 in the coming future

Installing Ubuntu 20.04

The newest release of ROS 2, is primarily supported on Ubuntu 20.04 (Focal), so this is the version we're also going to support. The instructions at this link) have been tested and everything seems to work fine (Note: my setup has Windows 10, Ubuntu 16, and Ubuntu 20 all playing nicely together). The instructions work pretty well, but here some additional notes:

  • Instead of the sizes listed, I used:
    • /boot – 2048MB (Other sources seem to say this can be smaller, but I left it this way just to be safe)
    • / – 50000MB (This is the amount of free space I had left after making the other two partitions)
    • Swap – 12000MB (Based on this table here I'd like to be able to hibernate, and my laptop has 8GB of RAM. Per the table, I allocated 1.5 times the amount of RAM)

Installing ROS

In theory, installing ROS 2 via Debian Packages should work (reference), but each time I tried this or the prior versions it didn't work. I'm using the instructions here instead.