Hi everyone, ![]()
Following up on my Demo 7 post about isolating high-level planners from actuator handles, I’ve completed Demo 8. Demo 7 showed a basic obstacle stop. Here I stress-tested the gate’s state machine through several consecutive faults in one take, and re-examined two anomalies from my last post (watchdog jitter and an apparent “wheel slip”).
The multi-fault sequence
Webots R2025a, TIAGo base, one continuous run (~66 s sim time, 2077 control cycles at 32 ms):
- Safe power-up latch: the gate boots TRIPPED (TRIP_PROPOSER_DEAD) and only accepts an operator reset after a continuous 1.0 s dwell of clear inputs.
- Obstacle stop: driving at 2.0 rad/s (~196 mm/s), the swept-corridor filter breaches the 346 mm stopping envelope at 341 mm; the gate commands zero in that tick (TRIP_OBSTACLE).
- Interlock refusal: a reset requested on the operator channel while the cart is still in the corridor is rejected (RESET_REJECTED_HAZARD).
- Stale sensor: the sequencer stops updating the lidar; the gate trips fail-closed 4 ticks (128 ms) later (TRIP_SENSOR_INVALID).
- Stale proposer: the sequencer’s controller discards the planner’s candidates for 1.0 s (the planner process keeps running); the 150 ms watchdog trips 4 ticks (128 ms) later (TRIP_PROPOSER_STALE).
- Final stop in front of the pedestrian at 342 mm vs a 346 mm envelope.
Resets are scripted by the sequencer’s fallback in parts of this take (see injected_auto_reset_fallback in manifest.json), so this demonstrates the gate’s reset logic, not a human-in-the-loop procedure.
Revisiting the “startup slip” from Demo 7
Last time the wheels turned for ~9 s while the lidar minimum stayed at ~3.8 m, and I suspected slip. Wheel odometry shows the robot moving at a steady 0.197 m/s from ~5 s, so slip was not the cause. My earlier “sensor max range” explanation was also wrong: the Webots URG-04LX model reaches 5.6 m. The flat ~3.8 m return is a set of beams on a straight line in the scan that does not move as the robot drives, so it is not the cart. I believe it is a floor return from a slightly pitched lidar and am confirming that. The cart becomes the minimum at ~16.5 s, after which range falls at 0.203 m/s against 0.197 m/s odometry.
Watchdog jitter on non-RTOS hosts
Earlier runs had unplanned TRIP_PROPOSER_STALE trips: a 150 ms watchdog over localhost UDP on Windows 11 while Webots renders. I started the proposer with ABOVE_NORMAL_PRIORITY_CLASS; there were no unplanned trips in this take. That is one run, not a distribution.
Flight recorder
Verified offline against the anchor: 2077 records (seq 0 to 2076), replay through the pure core step() reproduces the outcome bit-for-bit.
Head hash: 8e67456f4ba4c7a980c75a5805126f4e0b0a7e80af09aa70480bd734aee561cd
(The anchor lives in the same repo, so this shows tamper evidence, not independent attestation.)
Boundaries and non-claims
- Simulation only (Webots R2025a, Windows 11). Not certified under ISO 13849-1 or IEC 61508.
- Process separation over UDP does not replace a Category 3/4 architecture or a certified STO.
- Localhost UDP is unauthenticated; this tests stale/missing input, not network security.
- Gate acts on commanded, not measured, velocity; rotational sweep is not modelled; n=1 run.
Video:
Feedback welcome, especially:
- How do you handle OS scheduling jitter for UDP watchdogs on non-RTOS dev machines?
- Do you treat +inf lidar scans as “clear”, or require a boundary return to prove liveness?
Transparency: drafted with AI assistance; the runs, logs and verification were done locally.