FixTheRobot Explore Robotics / Guidance, Navigation and Control / M5 / M5-L2

This lab works on phones, but writing code is much easier on a laptop.

Guidance, Navigation and Control · Nonlinear, Scheduled and Adaptive Control · M5-L2 · Advanced

Fly with One Effector Lost

Bench log · Hopper on the test range

15:10. During a hover test on Hopper's four-thruster frame, thruster 1 stopped responding. The controller kept commanding the same roll and pitch moments, the allocation spread them over four thrusters, and one of the four did nothing: the frame rolled over the safety cable.

You will find out what the damaged frame can still do, write an allocation that works with three thrusters inside their force limits, and report how much authority is gone in each direction.

Your task

    Simulation
    solution.pyLoading Python…
    Ctrl+Enter runs
    What Python can I use?

    Plain Python 3 with the standard library and the course library gnckit (import gnckit as g: transfer functions and margins, state space and LQR, the Hopper model, quaternions, a convex solver). NumPy is not available in the browser. Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.

    Hints

    What this lab teaches

    Stage 1: the region of producible moments, and the corner a failed thruster takes with it. Stage 2: a bounded allocation by the active-set idea, which beats clipping the minimum-norm solution. Stage 3: the lost authority, found by bisection along a direction because the producible set is convex.

    Grading compares the residual of your allocation with the best the limits allow, and your authority with the exact value in five directions, on hidden failures, thrust levels and commands.

    Theory for this lab

    Nonlinear, Scheduled and Adaptive Control labs

    1. M5-L1: Schedule the Gains Through the Burn
    2. M5-L2: Fly with One Effector Lost: this lab.

    Educational simplification: roll and pitch moments and total thrust only, no yaw, no thruster dynamics, and a failed thruster that is known (a column removed). Module 5 treats failure detection and the dynamics of the allocation.

    Get the next lab

    Get notified when new robotics labs are released. One email per new lab, nothing else.