Robotics terminology
Sense–think–act loop
Also called: sense think act · control loop · perception planning action · robot loop
Definition
Most robots run a repeating cycle: read sensors, decide what to do, command actuators, then repeat, usually at a fixed rate.
Picture it
The loop rate sets how quickly the robot can react. At 50 Hz each pass has 20 ms for everything; if thinking takes longer, the loop slips and control gets worse. Keep heavy work out of the fast loop or move it to a slower one.
The maths
loop period T = 1 / f_loop distance moved between decisions = v × T
| Quantity | Unit | Symbol |
|---|---|---|
| frequency | hertz | Hz |
| time | second | s |
| length | metre | m |
Worked example
A robot drives at 0.8 m/s and runs its loop at 25 Hz. How far does it travel between decisions?
- T = 1 / 25 = 0.04 s
- d = 0.8 × 0.04 = 0.032 m
Answer0.032 m (3.2 cm) per loop.
✓ The number in this answer is recomputed from scratch by an automated test.
Common misconceptions
- Misconception: A loop that blocks waiting for one slow sensor stalls everything else.
- Misconception: Faster loops are not always better if the sensor only updates slowly.