ROS Melodic on Raspberry Pi OS (Aug 2020) for Raspberry PI 4, for work on iRobot Create 2
This image is of Raspberry PI OS (ver Aug 2020) with ROS Melodic installed for Raspberry PI 4.
Initially created in Aug 2020:
- From the Raspberry PI website, started with pre-made image “Raspberry Pi OS (32-bit) with desktop and recommended software” (Version: August 2020
Release date:2020-08-20, Kernel version:5.4). - Followed Steps 1-3 from these instructions to Install ROS Melodic on Raspberry PI 4. Worked out issues as they came up.
- Manually created file named “ssh” in boot partition of stock image to enable SSH by default.
- Created a ROS workspace for the iRobot Create 2 platform, with the create_autonomy ROS package successfully compiling. I worked out dependencies and issues as they came up.
- Must first log in via SSH and then enable desktop environment if desired.
ROS Kinetic on Raspbian Stretch for Raspberry PI 3
This image is of Raspbian Stretch with ROS Kinetic installed, for a Raspberry PI 3B or 3B+.
Updated, October 2018:
- Same image initially created as described below in 2017, with some updates
- Have done a general package update (apt-get update and upgrade).
- Installed a package and software needed for the RasPi to be a Simulink Target (See MATLAB/Simulink code generation tools)
- Updated Kernel for Raspberry Pi 3B+.
- Must first log in via SSH and then enable desktop environment if desired.
Initially created in Nov 2017:
- From the Raspberry PI website, started with pre-made image “Raspbian Stretch with desktop” (Image with desktop based on Debian Stretch, Version: September 2017, Release date: 2017-09-07, Kernel version: 4.9).
- Followed these instructions to Install ROS Kinetic on Raspberry PI. Some exceptions and notes:
- Manually created file named “ssh” in boot partition of stock image to enable SSH by default.
- Had an error for missing package, “sudo apt install dirmngr” fixed it.
- Selected option: Desktop: ROS, rqt, rviz, and robot-generic libraries
- Instructions are for Raspbian Jessie, and we are working with Stretch. Modified the following command:
- $ rosdep install -y –from-paths src –ignore-src –rosdistro kinetic -r –os=debian:stretch
- As the article points out, building the catkin workspace did fail a number of times. As the article recommends, I increased the swap space to 1GB, and used the -j2 tag instead of -j4.