PRINCIPLES OF ROBOT MOTION VIA RUST

Principles of Robot Motion via Rust

Rusty the rover, Reach the planar arm, and Hitch the car with a trailer — from a bug crawling around an obstacle to a complete planning stack.

An interactive book · Foundation · Conceptual · Practical

A robot that knows where it is still has to decide how to move.

This book takes that problem seriously: it derives the geometry and the algorithms of motion planning in full, makes every hard idea something you can play with in the page, and implements all of it in Rust.

Twenty-three chapters take three robots — Rusty the rover, Reach the planar arm, and Hitch the car with a trailer — from a bug crawling around an obstacle to a complete planning stack: configuration space, roadmaps, sampling-based and optimal planners, dynamics and time-optimal trajectories, and the differential geometry of systems that cannot move sideways.

A rapidly-exploring random tree, growing live. Every step samples a random configuration, finds the nearest node of the tree, and extends toward it — so the tree is pulled into the largest unexplored regions first. Within seconds it threads the apartment and finds the goal. That bias is what Chapter 12 explains; Chapter 13 shows what it costs in path quality, and how to fix it.

The method

Three passes over every idea

F

Foundation

The full mathematics: configuration spaces as manifolds, completeness and optimality stated precisely, proofs sketched in the text and carried through in collapsible blocks.

C

Conceptual

Every hard idea becomes something you can manipulate. Drag an obstacle and watch a C-obstacle deform, grow a tree, scrub a phase-plane trajectory, parallel-park with a Lie bracket.

P

Practical

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

Contents

Six parts, twenty-three chapters

PART I

Foundations — Robots, Worlds, and Configuration Space

PART II

Classical Planners — Search, Potentials, Roadmaps, Cells

PART III

Sampling-Based Planning

PART IV

Planning with Uncertainty

PART V

Dynamics, Trajectories, and Constraints

PART VI

Frontiers and Integration

Sister volume

Where am I? is the other book.

This book shares its robot, its simulator, and its method with Probabilistic Robotics via Rust, which treats estimation — Bayes filters, Kalman and particle filters, SLAM — in twenty-six chapters. Part IV here covers exactly as much of that as a planner needs, and links there for the rest.