Tune & Race

You do not drive the robot. Set three sliders, then let it follow the line by itself. The fastest lap wins.

New track in…
0.000

Leaderboard

…

How does it work?

1

The robot sees the line

A row of sensors at the front tells it how far the line is from its centre. That number is called the error.

2

Steering and damping

Steering turns it towards the line in proportion to the error. Too much and it swings left and right. Damping calms that swing; too much and the robot gets twitchy and slow.

3

Real robots are tuned this way

What you are tuning is a PD controller: steering is Kp and damping is Kd. We build line followers and tune them the same way in our workshops.

A new track every Friday. Each device's best lap counts, and its time is worked out on our server from the three sliders. We keep only the nickname you type and your best time; the Board may remove a name that is not appropriate.