Motor power
35
Speed × 100 ÷ 20
Decay rate
17
20 − Endurance
Current power
100
at t = 0s
Wheel speed
35
cp × mp ÷ 100
micro:bit LED display
25 / 25 LEDs
plot bar graph of currentPower up to 100
No power remaining — robot has stopped.
Step 1: Current power (starts at 100, decays over time)
currentPower = 100 − 17 × 0 ÷ 40 = 100
Step 2: Wheel speed (motor power scaled by remaining power)
wheelSpeed = 100 × 35 ÷ 100 = 35
currentPower starts at 100 (full power) regardless of Speed. Speed determines the motor's top speed (motorPower). Endurance determines how fast power drains (decayRate). These are independent — changing Speed does not affect how long the bot survives.
Teams run the robot for the full 3-minute match. Notice distance covered in the first 30 seconds and the last 30 seconds.
Avg wheel speed (predicted)
—%
Wheel speed at t=0s
—%
Wheel speed at t=30s
—%
Avg wheel speed (predicted)
—%
Wheel speed at t=150s
—%
Wheel speed at t=180s
—%
Measured distance ratio
first 30s ÷ last 30s
vs
If the measured ratio is close to the predicted ratio, the equation is working. If they differ, ask teams: what else might affect how far the robot travels besides wheel speed?