Unit 05 · lesson
Trace Repeated Work Without Guessing
A useful trace records what actually changed each cycle.
Use a compact table:
| iteration | input/state | decision | next state |
|---|
The trace should make the stopping rule visible and preserve any invalid reading instead of hiding it.
Checkpoint
Trace one bounded Java repetition case through completion. Mark the exact iteration where termination becomes inevitable.
Then write one sentence explaining why this local trace cannot establish ROS graph state or physical actuator response.