PROBABILISTIC ROBOTICS VIA RUST

Probabilistic Robotics via Rust

A differential-drive rover called Rusty, from its first noisy encoder tick to autonomous SLAM.

Shannon Press · 2026 · 26 chapters

A robot never knows exactly where it is.

This book takes that fact seriously: it derives the mathematics of reasoning under uncertainty in full, makes every hard idea something you can play with in the page, and implements all of it in Rust.

Twenty-six chapters take a differential-drive rover called Rusty from its first noisy encoder tick to autonomously exploring and mapping a floorplan it has never seen — through Bayes filters, Kalman and particle filters, SLAM as least squares, planning under uncertainty, and modern factor-graph estimation.

belief spread3.94 m

Monte Carlo localization, running live. Nine hundred hypotheses start spread across the whole map. Each one moves with the robot and is weighted by how well its predicted range reading matches the real one. Within a few seconds, the cloud has found the robot — that collapse is what this book is about. Chapter 12 builds it properly.

The method

Three passes over every idea

F

Foundation

The full mathematics: definitions, assumptions stated out loud, and derivations carried through — not gestured at. Long algebra folds away for readers who want the result first.

C

Conceptual

Every hard idea becomes something you can manipulate. Drag the robot, turn up the noise, scrub through time, re-roll the seed, and watch what the equations were trying to tell you.

P

Practical

Then you build it in Rust, with the crates the field actually uses — nalgebra, faer, factrs, parry — and code you could lift into a real robot.

Contents

Seven parts, twenty-six chapters

PART I

Foundations — The Robot and Its Uncertainty

PART II

The Bayes Filter Family

PART III

Probabilistic Models

PART IV

Localization

PART V

Mapping and SLAM

PART VI

Planning and Acting under Uncertainty

PART VII

Frontiers and Integration

Built on the classic references — Thrun, Burgard & Fox; Lynch & Park; Craig; Niku; Choset et al.; Spong et al. — and brought up to date with factor graphs, estimation on Lie groups, and modern planning under uncertainty.