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

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

Guidance, Navigation and Control · GNC Systems Engineering and Capstone · M12-L2 · Advanced

Capstone: Land Hopper

Bench log · Hopper on the test range

15:00. Hopper's hop of 100 m has to be accepted before the flight test: 92% of 25 dispersed flights within 3 m, none beyond 4 m. The navigation filter, the guidance reference and the controller were written by three people, each of whom has tested their own part in isolation. In the first campaign half the flights fail.

You will read the campaign, fix the navigation filter so that a faulty beacon cannot move it, and choose controller gains that hold over the range of vehicles the flights will meet.

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. The campaign itself (the plant, the sensors, the guidance and the other two parts) is run by the grader; your function is called inside it. A run takes a few seconds. Your code runs in a background worker: an endless loop is stopped after a few seconds.

    Hints

    What this lab teaches

    Stage 1: the acceptance result of a campaign depends on the settings of the filter: a gate that is missing, too tight or too loose, and process noises that are too small or too large. Stage 2: the gated measurement update, which ignores a fix whose normalized innovation is inconsistent. Stage 3: controller gains that keep their margin over a dispersion of the plant. Each stage is judged by the landings it enables, over 25 flights.

    Grading flies a campaign of 25 flights with your function, with the reference of the other part, on hidden random draws: wind, authority scale, sensor noise and beacon faults. A run takes a few seconds in the browser.

    Theory for this lab

    GNC Systems Engineering and Capstone labs

    1. M12-L1: How Many Runs Are Enough?
    2. M12-L2: Capstone: Land Hopper: this lab.

    Educational simplification: the lateral channel only, a constant wind, a three-state filter, a position fix at 5 Hz with one fault type, a minimum-jerk reference; the course modules treat the full vehicle, the estimator design and the budget of the acceptance evidence.

    Get the next lab

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