nasa-jpl/osr-rover-code

Code that runs on the Open Source Rover

What it solves

This project provides the software that runs on a Raspberry Pi to control the JPL open-source rover. It handles the low-level computing needed to drive and steer the rover, translating commands into motion for the rover's hardware.

How it works

The code is built on ROS2 (tested on Foxy) and uses Python3. It is structured into folders, each with its own README explaining how components work. A dedicated ROS overview explains how drive and corner commands are calculated. The project also includes a Dockerfile that builds the full ROS2 stack with a Gazebo Classic simulation, letting you test the rover in a virtual environment without installing ROS on your host machine. You can run graphical nodes (like Gazebo or RViz) inside the container using the rocker tool.

Who it’s for

This is for anyone who has built or is building the JPL open-source rover and wants to run its control software, or for developers who want to simulate the rover without physical hardware. Setup tutorials guide you through preparing the Raspberry Pi and bringing up the rover code.

Highlights

  • Runs on a Raspberry Pi using ROS2 and Python3
  • Includes a Gazebo Classic simulation via Docker for hardware-free testing
  • Uses rocker to simplify running graphical interfaces in the container
  • Documentation is organized per folder, with a ROS overview explaining drive and corner calculations

Related

  • Project
  • Project
  • Project
  • Project
  • Project