Angle Wrapping
Why a heading controller sometimes spins the long way around, and the small fix that wraps every angle error into [−π, π).
Explore Control Lab lessons about autonomous, with robotics examples, equations, and interactive experiments.
View all tagsWhy a heading controller sometimes spins the long way around, and the small fix that wraps every angle error into [−π, π).
How autonomous driving works, from pose estimate to wheel powers, and the progression from PID-to-point up through pure pursuit and guided vector fields.
Run PID on the error to a target pose, rotate it into the robot frame, beat friction with kStatic, and start braking on time. The smallest complete autonomous follower.
Verify the frame, units, update timing, and freshness of a library localizer before connecting it to a path follower.
Turn a planned path into continuous steering with one geometric rule. Chase a point a fixed distance ahead on the path, drive the arc that reaches it, and plan speed around the curves.