This repository contains the code that runs on the Raspberry Pi (RPi) and Arduino to control the JPL open source rover (osr). This includes the Arduino code that controls the LED matrix. The rover runs on ROS1 and ROS2 and its code currently is agnostic of the specific ROS1 distribution (tested on Kinetic, Melodic, Noetic). All Python code is currently Python2.
Status: actively developed. Please refer to the issues tab in GitHub for an overview of ongoing work.
Please refer to README files associated with each folder for insight in how components work and what they do. This is also the place to look when you have modifications on your rover that require the code or parameters to be changed.
- The ROS overview gives an overview of the setup related to ROS and links to specific implementations such as how the drive and corner commands are being calculated
- The Arduino readme details the code that runs on the Arduino, used to control the LED screen.
The setup directory contains tutorial files for getting everything setup and configured for running the rover code. You should proceed through them in the following order:
- Arduino setup
- Raspberry Pi setup with Ubuntu 18.04
- If you want to use Raspbian (Raspberry Pi OS), there are instructions here, though we strongly recommend following the Ubuntu18 instructions instead to get the best support.
- Rover code bringup