The Lego Line Follower Challenge
summary
A Lego robot built entirely from Lego parts including electronics runs an EV3RT kernel with embedded Rust on EV3RT and a custom no-waker async runtime that polls hardware every 1 ms. Control uses a P/PI/D style loop tuned with gyroscope and dual-encoder wheel measurements, two motors per wheel for real races, and analytically bounded KP/KD. Telemetry packs into 20‑byte telemetry samples stored in RAM (10,000 samples ≈ 200 KB → ~20 seconds at 1 kHz) and a tiny screen UI uses an 18x18 character UI refreshed every 25 ms.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:14Line follower robots and P controllers
- 7:15Embedded Rust on EV3
- 12:34Async Rust for sensors
- 18:35Embedded GUI for robot
- 22:05Telemetry and data visualization
- 25:15Advanced line follower algorithms
- 28:47Live demo and results
- 30:03Recap and closing remarks
related talks
36mFun with Rusty Robots
33mBuild your own (Rust-y) robot!
39mReal-Time Rust in Robotics
20m"Rust in Motion: Building Reliable and Performant Robotics Systems"
27mDeterministic fleet management for autonomous mobile robots using Rust
48mRobotics and Sensors Using Erlang
37m"Rusty New 'ars: Look, Ma, No C Added!"
46mBuilding Real-Time Control Software: Lessons from Hyperloop
