Grades 9–12

Smooth Driver

Get 5 of 7 right to earn the badge.

Part of Robotics & Engineering: Robotics with Python

Question 1 of 7 · Score 0

A line follower uses this code. If error = 10, what is the turn?

Kp = 0.5
turn = Kp * error

What this game teaches

  • Proportional control: correct more when the error is bigger
  • Filtering noisy sensor data
  • Python for robot control loops

Play together

  • Steer a toy car by small corrections vs. big jerks — which is smoother?
  • Explain “error” in your own words.
Want more? This game comes from Robotics & Engineering: Robotics with Python

Python-controlled robots, sensor data, smoother control and a competition-style capstone built in teams.

See the program

More Robotics games

All arcade games