fundamentals

Riding a bicycle demo

Balance metaphor using multivariate active inference (Chapter 7.5 vector plant) to drive a 2-D state toward an upright preference, plus a fault-tolerant control trace (Chapter 13) as compensation after a wobble.

Run

python demo/bicycle/visualize_bicycle.py --save

Library APIs

Outputs

Limitations (v1)

Not a bicycle or inverted-pendulum plant; the Hooke-style vector dynamics stand in for roll/lean stabilization.