spike-prime-gyro-drivebase

SPIKE Prime Gyro DriveBase

ARCHIVED Python 2026

A beginner-friendly gyro-controlled DriveBase for LEGO SPIKE Prime using PD control for straight driving and turning.

Meant for beginner teams to study.

Overview

A simplified, stripped down version of the UNSHS gyro-controlled drive system for LEGO SPIKE Prime. It provides functions for gyro-controlled straight driving, distance- and time-based movement, turning to specific headings, hard and soft turns, and configurable PD control.

Technologies

Python PybricksLEGO SPIKE PrimeGyroscopePD Control