Skip to main content
Module 2 · Line Tracking

Lesson 10 · Module 2 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 main program
    2. B.No — reuse your tested LineSensor and LineTrack classes
    3. C.Yes — classes cannot be reused in a new program
    4. D.Only the sensor part

    That's the whole point of building the classes: the main program just creates a LineTrack and calls its methods.

  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 classes
    2. B.Lower base_effort (and/or check the 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.