Skip to main content
Module 2 · Line Tracking

Lesson 2-5 · Proportional Control — Knowledge Checks

Name Date
  1. What does `arcade(0.3, -0.15)` do?

    1. A.Drives forward, curving right
    2. B.Drives forward, curving left
    3. C.Drives backward
    4. D.Spins in place

    Answer Why?

  2. Setpoint is 0.5 and the sensor reads 0.2. What is the error?

    1. A.−0.3
    2. B.+0.3
    3. C.0.7
    4. D.0.2

    Answer Why?

  3. If Kp = 0.6 and error = 0.3, what is the correction?

    1. A.0.9
    2. B.0.18
    3. C.0.3
    4. D.0.5

    Answer Why?

  4. Your robot follows the line but weaves back and forth rapidly, never settling. What should you do to Kp?

    1. A.Increase it — it needs to react harder
    2. B.Decrease it — it is over-correcting
    3. C.Set it to 0
    4. D.Leave KP; increase BASE_EFFORT instead

    Answer Why?

  5. What is 120 % 50, and would a print inside `if i % 50 == 0:` happen on pass 120?

    1. A.2.4, and yes
    2. B.20, and no — the remainder is not zero, so 120 is not a multiple of 50
    3. C.0, and yes
    4. D.70, and no

    Answer Why?