# Notes for using Raspberry Pi with ROS

  1. Installation
  2. Interface

# Installation

Install Ubuntu Mate: The Robotics Back-End

Install ROS: The Robotics Back-End

# Additional steps

$ echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
$ 
$ sudo apt-get install python-rosdep
$ sudo rosdep init
$ rosdep update

# Interface

Connect to raspberry pi via ssh:

$ ssh <username>@<ip address>

In my case:

$ ssh will@192.168.0.16

Shutdown

$ sudo shutdown now

# Catkin Build

Building large nodes with all cores can cause issues so specifying 2 can be faster and more reliable:

$ catkin_make -j2