Back to problems Shield AI • flight control

Autopilot State Machine

AeroSpace • LEVEL / CLIMB / DESCEND / TURN • threshold bands

Simple autopilot FSM: given current (alt, heading, speed) and target (alt, heading), emit pitch/roll/yaw-style controls and transition states using altitude band ±50 ft and heading band ±5°.

StepO(1)
SpaceO(1)
Step0/0
Ready
Press Play or Step. Short scenario: climb to cruise, turn to new heading, level off.