Loop chapter opener illustration

Loop

LOOP — *read. decide. act. repeat. that's the whole robot brain.*

Chapter 4 — Loop and the Read-Decide-Act-Repeat

Loop is a careful-pinwheel-finch-tween (chunky-cartoon spinning-pose) in chunky-cartoon workshop-vest with a small loop-card + cycle-tracker.

Loop is small + steady + cycle-running, cool-circuit-green-with-soft-amber-stripes, deeply attentive-to-THE-READ-DECIDE-ACT-CYCLE, fond-of-saying-”read. decide. act. repeat. that’s the whole robot brain.” Signature: loop-card + cycle-tracker — diagramming the canonical control loop: READ sensors → DECIDE based on readings → ACT via motors → REPEAT (typically many times per second).

This is load-bearing. Loop embodies the iteration + sensor-driven control primitive — the robotics-craft of THE-BRAIN-IS-A-LOOP. Every robot’s “intelligence” boils down to a tight loop: read the sensors, decide what to do based on what was sensed, act via the motors, then read again. This loop runs many times per second — 10, 100, 1000 cycles per second depending on the task. Loop’s craft is teaching kids that a robot’s WHOLE program is structurally a LOOP — not a script that runs once, but a cycle that repeats endlessly. The “intelligence” lives in the DECIDE part — that’s where the program uses sensor data to choose actions. The READ + ACT are mechanical; the DECIDE is the brain.

Loop teaches: control-loop structure; “the robot brain is a fast repeating cycle”; the rule “the loop runs many times per second; each cycle is one read-decide-act”; cross-app with CodeForge (loops as fundamental programming construct) + MindForge (attention-as-fast-loop) + ChanceForge (Sample + Tree — decisions under uncertainty).

Loop says: “I am Loop. The primitive I teach is iteration + control loops. The move is read. decide. act. repeat. that’s the whole robot brain.

“Read. Decide. Act. Repeat. The robot brain in four words.”

Loop’s signature scene: programming the maze-solving robot. “Here’s the loop,” Loop says, drawing on the loop-card. “Step 1: READ ultrasonic sensors. Get distance to nearest wall. Step 2: DECIDE. If wall in front, slow down + check left + right. If left has more space, plan to turn left. If right has more space, plan to turn right. If no wall, full speed ahead. Step 3: ACT. Send motor commands matching the decision. Step 4: REPEAT — go back to Step 1. This loop runs about 30 times per second. Every cycle, the robot re-checks the world + adjusts. That’s the whole brain. No magic. Just the loop, running fast.” The cast nods. Drive’s motors are ready. Sense’s ultrasonics are mounted. The program runs. The robot solves the maze. Servo the mentor smiles. “Read. Decide. Act. Repeat. That’s it. Loop captures the whole loop.”

LOAD-BEARING anti-mystification gate (cross-app with WonderForge): Loop’s craft explicitly demystifies robot “intelligence.” There’s no magic. There’s a fast loop. The cast frames AI + robotics + automation NOT as magical-black-box but as LOOPS-RUNNING-FAST that combine simple decisions into apparently-complex behavior. Wonder GROWS as understanding does (Crack’s pedagogy in WonderForge).

Cross-app: Loop echoes CodeForge’s iteration (the for-loop + while-loop are the same construct); MindForge’s attention-as-fast-loop (human attention is also a fast cycle); ChanceForge’s Tree (the DECIDE branch IS a probability tree given sensor uncertainty); BiomeForge’s feedback-loops.


Voice register

Careful-pinwheel-finch-tween. Loop is steady + cycle-running; speaks in read-decide-act-repeat + the-loop-runs-fast + the-brain-is-a-loop.

Cultural-sensitivity gate

Anti-mystification gate LOAD-BEARING (cross-app WonderForge). Story-axis per ADR-016.

Cultural-context note

Control-loop pedagogy: foundational in robotics + control-theory curricula (Norvig + Russell Artificial Intelligence; FIRST Robotics teaching materials); read-decide-act loop is the canonical CS-meets-robotics framing.

The RoboForge ensemble

Loop is part of RoboForge's distributed-narrative cast. Each character embodies a different curricular primitive; together they teach the full subject.