Teaching with real robots.
Your students write a plan and watch a real robot carry it out. The same arena serves a school class with no code, a first programming course, and final-year work on control and artificial intelligence. Four lessons are open to try today.
No code
Orders in plain English
Teams write orders in words to get their pods past sensors and a patrol. Each plan is read back before anything moves, so the class sees what the machine understood. Used in a postgraduate surveillance course at UNSW Canberra.
First programs
A square that will not close
Ten lines of Python drive a pod in a square. It misses the start, and students find out why and fix it by reading where the pod really is.
Control
Following a line
Tape drawn on the arena and a sensor under the pod. Students write the controller, tune it, and watch the pod settle on the line or weave off it.
Artificial intelligence
A swarm that searches
One program drives a swarm of pods to find hidden objects, first with no plan, then with one, and the class compares the ground each covers.
All four are open to anyone today, with no account: try them. The documentation has a page for each.
How a class runs
- A roomYou make a room and get a six-letter code, with an arena for each group. Your page links each group's console, projector picture and 3D view.
- A pod eachA student types the code, or scans it from the big screen, and their name, and gets a pod of their own. The same name gets the same pod back. A team game is joined as a team.
- A refereeEvery exercise tells the students the task, enforces its rules, ends on time and marks the result. The same exercise gets harder by changing the rules: the keys, a drawn route, orders in plain English, a program.
- A recordEvery screen shows who won and each round's score, and what the room played is kept as a report.
- Any screenThe console runs in a browser, on a laptop, the big screen or a phone, in 3D or as a map.
Teachers: make a room → Students: join with a code
On our hosted arena, from any browser, with nothing installed. A teacher's account is by invitation. Pricing on request.
Exercises
The console's catalogue, each with its brief, rules and marks.
1 · Control
Draw a path
Draw a route on the screen and a pod drives it. Students tune the controller and watch a real robot overshoot, settle and track the line.
2 · Pursuit
Pursuit
One pod chases and one evades, each planning a path round the obstacles. Students write the strategy for either side.
3 · Class
Class pursuit
Every pair at once, or one side against the other, the whole class driving and the referee keeping score.
4 · Coverage
Route clearance
Find the mines hidden in the arena: a random walk first, then a pattern, then two pods sharing the ground. Students watch coverage and time improve with each strategy.
5 · Patrol
Patrol
A lap round the arena on time, reporting what changed since the last one.
6 · Teams
Get through unseen
One side places sensors and commands a patrol; the other slips its pods across using cover. Real pods and virtual units in one game.
7 · Search
Find the gas source
Follow a simulated gas sensor to a hidden leak, from a random walk to climbing the gradient.
8 · Sensing
Capture the flag
Two teams, their zones and a flag among obstacles. Each pod has its own set of simulated sensors, with their noise, so a team plans around what it can and cannot see.
Example code
This joins the first-programs room and drives a pod in a square, reading where it really is after every step. The same library exists for C, Java and JavaScript, and any language that can open a web connection can drive the arena.
Python
import math, time
from platopod import Arena
arena, pod = Arena.join_room("TLQGNR", "Ada") # the room's code, and your name
for side in range(4):
start = pod.pose
while math.dist((start.x, start.y), (pod.pose.x, pod.pose.y)) < 0.25:
pod.drive(0.1, 0.0) # forward at 10 cm/s
time.sleep(0.1)
heading = start.theta + math.pi / 2 # a quarter turn left
while abs(math.remainder(heading - pod.pose.theta, math.tau)) > 0.02:
pod.drive(0.0, 0.8) # turn on the spot
time.sleep(0.1)
pod.stop()
The documentation has every call, the other three languages, and the notebooks for the four lessons.