Drive a robot with a model you trained, on the computer or on your wrist. Turn labels into moves, keep the robot safe when the model is unsure or goes quiet, and make it more careful where a mistake costs more.
★ Challenge completeLabels from a webcam model or a wrist model become modes the robot acts on, with a safe action when the model is unsure or silent.
A model's label reaches the robot as a word, and the robot turns it into a mode. The robot keeps acting on the last mode until a new label arrives.
A model can run on the remote itself. A wrist micro:bit running a CreateAI model turns its own movements into the same words the webcam sent, so the robot's program doesn't change and no computer or camera is needed.
A robot driven by a model needs a safe action for when the model is unsure and for when it goes quiet. The board sends Unsure and repeats its label; the robot stops on Unsure, and a watchdog stops it when nothing arrives.
Some mistakes matter more than others, so some actions need more confidence.
Mistaking Stop for Go is worse than mistaking Left for Right, so the robot should need more confidence before a risky action than a safe one. The board asks 95% for Go and 70% for the rest; the robot also waits for Go twice in a row.
A sign-driven delivery robot whose own sensor can overrule the model, built in milestones.
Build a sign-driven delivery robot in three milestones. Its own distance sensor overrules the model, it reports back through the bridge, and it counts its deliveries.
Progress is saved in this browser only. Nothing is sent anywhere.
For teachers: Teacher guide (notes, answers, solutions, slides and worksheets)