A drone that taught itself to race.
Nobody wrote this drone's flying rules. It learned them by flying a gated track in simulation, crashing, and trying again. Drag the slider to watch it improve.
0
- Gates passed
- 0 / 8
- Lap time
- No lap
- Result
- Crashed at gate 1
Iteration 0. Crashed at gate 1. 0 of 8 gates passed.
How it learns
Fly
The current policy flies the track in simulation, with many drones flying at once.
Score
Each flight is scored on progress along the track, gates passed and crashes.
Update
The policy shifts toward the moves that scored well and away from the ones that crashed.
Repeat
After many rounds the crashes stop and the lap times keep dropping.
The policy
- What it sees
- Its own position, speed and tilt, plus where the next two gates are.
- What it controls
- Total thrust and how fast the drone rotates around each of its three axes.
- What it learns from
- A reward for progress and for passing gates, and a penalty for crashing.
- Where it trains
- A physics simulation running thousands of flights in parallel.