ROS Kinetic on Raspbian Stretch for Raspberry PI 3

The provided 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.