Open-Source Self-Driving Textbook on GitHub Builds an Autonomous System Chapter by Chapter

4310sy · x · 2026-11-14

A Japanese developer is writing a free, open textbook on autonomous driving algorithms, published incrementally on GitHub. The approach is "learn by building": starting from a bare world with a vehicle that moves by given commands, each chapter adds one stage to the system in a Python simulation — course following, sensing, localization, mapping, route planning, perception, and optimal control — before advancing to driving among other vehicles and obstacles.

The book has three parts: the base (simulator, frames/units, vehicle model), building the system (7 chapters from course following to optimal control), and driving among others (tracking moving objects, obstacle avoidance, lane changing, dynamic vehicle model). Every chapter ends with a runnable "system so far", and alternative algorithms for a stage can be swapped into the same system for comparison. The book is a work in progress with most chapters planned, and the author welcomes feedback in Discussions.

Related event: Japanese developer serializes open-source autonomous driving textbook, invites co-authors(5 posts)→

Original post →

More from Research

Research channel →