The Robotics Laboratory
Turn the book’s numerical examples into experiments. Adjust a measurement, move a robot, or step through an algorithm—and inspect what changes.
2. The trash sorter
Modeling the World State
PMFs, cumulative distributions, and sampling
SECTION 2.2Actions for Sorting Trash
Cost distributions and expected action costs
SECTION 2.3Sensors for Sorting Trash
Conditional densities and three-sensor simulation
SECTION 2.4The Perception Engine
Likelihoods, posterior curves, and adjustable MAP sensor fusion
SECTION 2.5Decision Theory
Compare naive, minimax, and Bayes decisions
SECTION 2.6Learning from Data
Counts, smoothing, conditional models, and Gaussian fitting
3. The robot vacuum
The Vacuum’s State
A probability distribution over the five rooms
SECTION 3.2Actions over Time
Controlled Markov chains and battery dynamics
SECTION 3.3Dynamic Bayesian Networks
Light sensing and ancestral simulation
SECTION 3.4Perception with Graphical Models
MAP trajectories and smoothed HMM marginals
SECTION 3.5Markov Decision Processes
Rewards, control tapes, and exact policy values
SECTION 3.6Learning to Act Optimally
Value iteration, policy iteration, and Q-learning
4. Warehouse robots
Continuous State
Gaussian densities, covariance, mixtures, and samples
SECTION 4.2Moving in 2D
Omni-wheel kinematics and uncertain motion
SECTION 4.3Continuous Sensor Models
Warehouse proximity, RFID range, and GPS likelihoods
SECTION 4.4Localization
Bayes filtering, particles, least squares, and Kalman smoothing
SECTION 4.5Planning for Logistics
Value iteration on the notebook’s warehouse map
SECTION 4.6System Identification
Scalar and multivariate least-squares estimation
5. The differential-drive robot
Differential-drive State
Pose, orientation, and uncertainty in SE(2)
SECTION 5.2Differential-drive Motion
Forward and inverse wheel kinematics
SECTION 5.3Cameras for Robot Vision
Pinhole projection, calibration, and field of view
SECTION 5.4Computer Vision 101
Convolution, gradients, and recorded neural vision results
SECTION 5.5Path Planning
Grow and inspect a rapidly exploring random tree
SECTION 5.6Deep Learning
Interpolation and training a learnable line grid
6. Autonomous vehicles
7. Autonomous drones
Moving in Three Dimensions
3D transforms, rotation order, and angle conventions
SECTION 7.2Multi-rotor Aircraft
Tilt, kinematics, thrust, and flight dynamics
SECTION 7.3Sensing for Drones
Camera frames, image projection, and stereo depth
SECTION 7.4Visual SLAM
IMU integration, bias drift, and recorded reconstruction
SECTION 7.5Trajectory Optimization
Obstacle costs, path optimization, and thrust allocation
SECTION 7.6Neural Radiance Fields
Ray sampling, volume rendering, interpolation, and recorded NeRF results
About this collection
Each laboratory starts from the notebook’s numerical models and includes the relevant Python code. Randomized experiments expose a reproducible seed. Recorded outputs from large pretrained models are labeled as recorded results; they are not live neural-network inference.
The collection covers every section containing substantive executable Python. Introductions, summaries, and sections containing only imports or comments are omitted. You can save or copy an individual HTML file and use it without installing Python or connecting to a server.