Skip to content

MASLAB/raspi-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MASLAB Raspberry Pi Setup

This repository contains the scripts used for setting up the Raspberry Pi development environment for MASLAB.

Currently, the script handles the following:

  • Updating software
  • Installing build-essential
  • Installing gpiozero
  • Installing the base ROS Jazzy with colcon extensions
  • Enabling PIP_BREAK_SYSTEM_PACKAGES to allow installation of python libraries
  • Setting up network connections
    • Connect to EECS-Labs
    • DHCP server on ethernet to remote in over ethernet at fixed 192.168.1.1 IP
    • WiFi to ethernet forwarding to have internet access when connected through ethernet
  • Setting up Poll Me Maybe
  • Setting up Raspberry Pi hardware
    • Enable UART, SPI, I2C interfaces
    • Set up Raspberry Pi USB Power option
    • Set up GPIO pins for Raven
  • Install adafruit-blinka
  • Load Raven firmware
  • Configurating Git + generating SSH key
  • Cloning team's MASLAB repo

Setup Steps

Prerequisites:

  • Git repo set up for each team (normally on MIT Github)
  • A Raspberry Pi per team with SSD and RAM installed
  • SD card set up by Raspberry Pi Imager with
    • Ubuntu 24.04 server
    • These customisations (change x to team number)
      general
      services

For each Raspberry Pi:

  1. Clone and cd into this repo with:
    git clone https://github.com/MASLAB/raspi-setup ~/raspi-setup && cd ~/raspi-setup
  2. Run setup script and enter team number and year when prompted ./setup.sh
  3. Copy SSH public key (output of script) and add it as a deploy key to the team repo
  4. Reboot
  5. Go back into this repository and run
    ./update-software.sh

And you're done! Keep this repo to update Raven firmware and MASLAB software library:
git pull && ./update-software.sh

About

Setup scripts for Raspberry Pi 5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published