Skip to main content
Module 2 · Line Tracking

Lesson 2-10 · Final Project — Knowledge ChecksAnswer key

Correct answers are marked and the explanation follows each question.

  1. For the final project, do you need to rewrite the sensor and driving logic from scratch?

    1. A.Yes — copy it all into the project function
    2. B.No — reuse the tested LINE SENSOR and LINE TRACKING sections of robot.py✓
    3. C.Yes — functions cannot be reused in a new program
    4. D.Only the sensor part

    That's the whole point of building the file one tested function at a time: the project is a handful of calls to functions you already trust.

  2. Your robot follows the line but blows past the cross without stopping. What's the best first thing to try?

    1. A.Rewrite both toolkits
    2. B.Lower BASE_EFFORT (and/or check THRESHOLD) so it detects the cross in time✓
    3. C.Delete the turn methods
    4. D.Increase Kp to 5

    Overshooting is usually too much speed or a threshold that's too high. Slow down and re-check calibration before touching anything else.