Experiments
Each experiment produces a number. Pass lines are initial guesses and get revised after first data. "Sim" results are ideal-state (true position and velocity fed to the controller); they test the controller and mixer, not the estimator or the hardware.
| # | Question | Metric | Pass line | Status |
|---|---|---|---|---|
| E1-sim | Controller + mixer hover in sim | hover RMS, last 10 s, gyro noise 0.05 rad/s | < 10 cm | PASS: 0.2 mm (ideal state, tests/acceptance.rs) |
| E1 | Clean-room FC hovers under optical flow + ToF | hover RMS over 60 s | < 10 cm | not started |
| E2 | Localization accuracy per stack | RMS vs ground truth | fused < 3 cm static, < 5 cm moving | not started |
| E2-sim | Lighthouse stack only: IMU + sweep-angle Kalman position estimator, two PLACEHOLDER stations, E1's hover and a 1 m/s circle, controller on the truth (open loop) and on the estimate (closed loop); estimated-state sim | RMS |p_hat - p| over [10, 20) s, every one of 20 seeds | E2's: < 3 cm hover, < 5 cm circle; closed-loop hover also E1-sim's < 10 cm | PASS in sim: worst RMS_e 0.95 mm hover, 2.15 mm circle (about 1.4 m/s) open loop; 0.95 / 2.21 mm closed loop, hover track RMS 4.37 mm (bin/pos_lh, f09c8b8). One station off fails (42.00 mm hover, #47); a 1 s outage in the circle reaches 1180 mm (#46) |
| REF-bench | Reference platform (Crazyflie 2.1 Brushless, Lighthouse V2) proxy measurements: REF-imu, REF-lh, REF-place, REF-start, REF-throw (#42); bench, the reference platform's parts, not murmur's | per measurement, in the registration | comparisons with the sim's PLACEHOLDERs and breaks; predictions registered | registered (session 17); reader and REF-imu analysis written (bin/cflog); no hardware yet |
| E3 | UWB drone-to-drone range error | error vs reference, 0.5-5 m | < 10 cm | not started |
| E4 | Radio scaling | latency, trajectory-update loss vs N=2,4,8,16 | loss < 1% at N=8 | not started |
| E5 | Formation tracking | tracking error, min pairwise distance | no pair < 25 cm | not started |
| E6 | Reflex avoidance | success rate vs approach speed | set after E1 | not started |
| E7 | Endurance | minutes vs AUW and battery | measure | not started |
| E8 | Light as inter-drone channel | detection range, bearing error | measure | not started |
| E9-sim | Hand-throw recovery, ideal state, 300 random throws (spin <= 8 rad/s, speed <= 3 m/s, release 2.0 m) | success rate (no ground contact, <10 cm RMS in last 2 s) by arm delay | >= 95% at arm delay <= 150 ms | PASS in sim: 99.7% / 99.3% / 97.7% at 50 / 100 / 150 ms; 94.3% at 200 ms; 67.0% at 300 ms (bin/throw.rs) |
| E9-sim-est b=0 | E9-sim with attitude from the onboard estimator (Mahony, gyro + gated accel) instead of truth; estimated-attitude, ideal-position sim; gyro bias 0 | as E9-sim, plus median/p95 altitude lost, per arm delay | >= 95% at every arm delay <= 150 ms | FAIL: 98.0 / 96.3 / 93.3% at 50 / 100 / 150 ms (bin/throw_est, a6b6388); #1 |
| E9-sim-est b=0.01 | same, gyro bias 0.01 rad/s | same | >= 95% at every arm delay <= 150 ms | FAIL: 98.0 / 96.7 / 93.3% |
| E9-sim-est b=0.05 | same, gyro bias 0.05 rad/s | same | >= 95% at every arm delay <= 150 ms | FAIL: 98.0 / 97.0 / 92.3% |
| E9-sim-est b=0.2 | same, gyro bias 0.2 rad/s (stress: an uncalibrated gyro) | same | none (informational: locates the cliff) | 46.7 / 44.0 / 42.3 / 41.0 / 26.7% at 50-300 ms; #2 |
| E9-sim-est2 | E9-sim-est with a throw-mode accelerometer policy (innovation gate in the throw window) instead of the magnitude gate alone; estimated-attitude, ideal-position sim; b = 0, 0.01, 0.05 | as E9-sim-est | >= 95% at every arm delay <= 150 ms, every b <= 0.05 | PASS in sim: 99.7 / 99.3 / 97.7% at 50 / 100 / 150 ms for each of b = 0, 0.01, 0.05 (bin/throw_est2, 33bb4b4); #1 |
| E9-sim-est2 b=0.2 | same, b = 0.2 rad/s | same | none (informational) | 39.0 / 38.3 / 38.3 / 37.0 / 25.7% at 50-300 ms, worse than the gate; #2 |
| E9-sim-est3 | E9-sim-est2 with the release attitude estimate off by a pure tilt error e0 = 0-0.5 rad (throw-mode policy and plain gate, paired); estimated-attitude, ideal-position sim | as E9-sim-est, plus tolerance = largest e0 at which the line holds | E9-sim-est2 line (>= 95% at every delay <= 150 ms, every b <= 0.05) holds with the policy at every e0 <= 0.10 rad | PASS in sim (bin/throw_est3, 265a1d6). Tolerance 0.20 rad with the policy (150 ms: 96.3% at 0.20, 69.0-73.3% at 0.30, 0% at 0.50); none with the gate; #8 |
| E9-sim-cal A | Stationary gyro-bias calibration (1.0 s mean, stillness check): residual bias, IMU-model sim | max residual | b_hat - b | over accepted still windows; acceptance |
| E9-sim-cal B | Stillness check under motion during the window (tilt rotation, pick-up; yaw rotation informational), IMU-model sim | rejection rate | >= 99% rejected for tilt and pick-up | PASS in sim: 300/300 rejected each; yaw 300/300 accepted with 0.10 rad/s residual (blind spot); #15 |
| E9-sim-cal C | E9-sim-est2 throws flown after the calibration, b = 0.05, 0.2, 0.2 z-only; estimated-attitude, ideal-position sim | as E9-sim-est | >= 95% at every arm delay <= 150 ms, each b | PASS in sim: 99.7 / 99.3 / 97.7% at each b (= E9-sim); uncalibrated 0.2 z-only 0.0%; #15, #2 |
| E9-sim-hand a | Release tilt-estimate error from a PLACEHOLDER hand wind-up, current estimator (magnitude gate before release), swept over 24 hand conditions x b = 0, 0.05; IMU-model sim, PLACEHOLDER hand model | release tilt error p95 per condition | <= 0.20 rad (#13 spec) in every condition | FAIL in sim, PLACEHOLDER hand model: 4 of 48 conditions above 0.20 (all T_w 0.5 s, A 1 g), worst p95 0.253 rad (bin/hand_throw, d8b7558); #17 |
| E9-sim-hand b | Same, with a pre-release (held) policy: innovation gate from the start of the wind-up; then the E9-sim-est2 throw end to end; estimated-attitude, ideal-position sim, PLACEHOLDER hand model | release error p95; throw success | release p95 <= 0.20 rad and >= 95% at every arm delay <= 150 ms, in every condition | PASS in sim, PLACEHOLDER hand model: worst release p95 0.032 rad; 99.7 / 99.3 / 97.7% at 50 / 100 / 150 ms in all 48 conditions (d8b7558); #17 |
| E9-sim-trigger | E9-sim-hand (b) with the held policy entered by an onboard trigger (accepted stillness calibration) instead of by fiat, through table, pick-up, a hold of T_h = 0-30 s and the wind-up; estimated-attitude, ideal-position sim, PLACEHOLDER hand model | release tilt error p95; throw success | release p95 <= 0.20 rad and >= 95% at every arm delay <= 150 ms, in every one of 32 conditions | FAIL in sim, PLACEHOLDER hand model: release tilt passes (worst p95 0.163 rad) but 12.0-24.0% success at 150 ms in all 32; an unregistered diagnostic puts the failure on heading (yaw) error, not tilt (bin/held_trigger, be0e22a); #19, #2 |
| E9-sim-heading | E9-sim-est3 with a release heading-estimate error psi0 = 0-1.5 rad instead of tilt (tilt error 0; and 0.20 rad, reported), policy and gate, paired; estimated-attitude, ideal-position sim | success rate; tolerance (largest psi0 that holds) | policy, tilt error 0: >= 95% at every arm delay <= 150 ms, every b <= 0.05, at every psi0 <= 0.20 rad | PASS in sim: tolerance 0.20 rad (lowest cell 289; 244 at 0.30); 0.10 rad with tilt error 0.20 (288; 279 at 0.20); the gate holds at no psi0. A heading error corrupts the tilt estimate; a diagnostic with exact tilt holds through 0.75 rad (bin/throw_heading, 4b42e57; bin/throw_heading_diag, 6dfc582); #20 |
| E9-sim-detect | IMU-only release detector D1 ( | a | < 0.3 g for 100 ms while held) in place of the arm-delay timer, over the session 05/06 PLACEHOLDER hand model plus a release ramp; IMU-model sim (a, b) and estimated-attitude, ideal-position sim with heading aligned (c) | (a) latency from contact end; (b) false triggers and near misses; (c) throw success |
| E9-sim-detect2 | D2: D1's magnitude run plus a gyro check that the motion is torque-free over the run (detector inertia PLACEHOLDER), same sequences as E9-sim-detect; IMU-model sim (a, b) and estimated-attitude, ideal-position sim with heading aligned (c) | as E9-sim-detect | as E9-sim-detect, with D2 | (a) PASS: D2 latency equals D1's in every throw, max 100 ms, none missed; (b) PASS: 0 false triggers in 8,100 no-release and 0 early fires in 14,400 throws (D1 control: 30 + 44); (c) PASS: lowest 296 of 300. Rests on the PLACEHOLDER hand rotating the drone during its 0 g phase; detector Izz off 10% puts up to 328 of 14,400 latencies past 125 ms (bin/throw_detect2, e364015); #23, #25 |
| E9-sim-detect3 | D3: D2 with any precession rate within +-beta of the detector's accepted (an inertia-ratio band, beta PLACEHOLDER), detector Izz x0.8-x1.2, same sequences as E9-sim-detect2; IMU-model sim | (a) latency; (b) false triggers, at each detector Izz scale | (a) every release detected, max latency <= 125 ms in all 48, at each of Izz x0.8, x0.9, x1.0, x1.1, x1.2; (b) zero false triggers in 8,100 no-release and 14,400 throw sequences at each | (a) PASS at all five: latency 100 / 100 / 100 ms, equal to D2's at the true inertia in every throw, D2's 120 + 328 over-budget throws inside 100 ms; (b) PASS at all five: 0 + 0. Outside the band (Izz x0.7 / x1.3) restarts return (72 / 224 over budget). Rests on the PLACEHOLDER hand changing |w| (bin/throw_detect3, 06a57d1); #25 |
| E9-sim-lh | Lighthouse yaw fix (PLACEHOLDER two-station model, 4 photodiodes on top, the hand covering some while held) fused into the Mahony estimator, over the session 08 hand range with a level table; IMU- and Lighthouse-model sim (a), estimated-attitude, ideal-position sim (b) | (a) release heading and tilt error p95; (b) throw success, D3-armed and on the timer | (a) heading p95 <= 0.1 rad and tilt p95 <= 0.2 rad in all 48; (b) >= 95% in all 48, D3-armed and at 50 / 100 / 150 ms | run (session 11): (a) PASS, (b) PASS; stress misses at sigma x 4 and rectangle / 3 (both FAIL (a)); #29 |
| E9 | Hand-throw recovery on hardware | success rate, altitude lost (p50/p95), time to hover | set after sim-vs-bench check | not started |
| E10 | Show timing | clock offset between drones; LED sync error (camera-timed); trajectory tracking error | clock < 1 ms; LED < 1 frame at 60 fps | not started |
| E11 | Human-reactive latency | dancer motion -> drone motor command latency, p50/p95 | set after first measurement | not started |
| E12 | Acoustics | dBA at 1 m at hover thrust, 1/3-octave spectrum, blade-pass tone prominence; thrust per watt | >= 6 dB below stock-prop baseline at equal thrust | not started |
| E13 | Stackability | drones per liter, stack pitch (mm), deploy time for N, charge-through-stack works | measure | not started |
| E14 | Autonomous swarm | formation error and collisions, decentralized vs ground-planner, with 20% packet loss | no pair < 25 cm | not started |
Sim parameters are placeholders
QuadParams::micro45(): 45 g, inertia 2.4e-5 / 2.4e-5 / 4.0e-5 kg m^2, motor offset 32 mm,
2.5:1 thrust-to-weight, 20 ms motor lag, yaw torque coefficient 0.01 m. None measured. Replace with
the weighed airframe, bifilar-pendulum inertia and thrust-stand data before trusting any gain.
E9-sim-est registration (session 01, committed before any E9-sim-est run)
Question. E9-sim fed the controller true attitude. In free fall the accelerometer reads about 0, so attitude comes from gyro integration alone until thrust returns. What does onboard attitude estimation cost throw recovery?
Domain. estimated-attitude, ideal-position sim: attitude and body rate come from the estimator and the IMU model; position and velocity are still true state. Tilt failsafe acts on the estimated tilt.
Protocol (same as E9-sim). 300 throws per arm delay (50/100/150/200/300 ms), initial conditions from
Rng(42) drawn in the E9-sim order, release at 2.0 m, setpoint z = 1.5 m, 8 s, success = no ground contact
(min z >= 5 cm) and < 10 cm RMS over the last 2 s; altitude lost = 2.0 m - min z. Gyro noise 0.05 rad/s from
Rng(11) per throw, the same draws as E9-sim. A true-attitude control column reruns E9-sim in the same binary
and must reproduce it exactly (99.7 / 99.3 / 97.7 / 94.3 / 67.0%), or the run is void.
Conditions. Gyro bias magnitude b = 0, 0.01, 0.05, 0.2 rad/s, constant per throw, direction random per throw
from Rng(7) (the same 300 directions at every b and every delay, so conditions are paired).
Estimator (fixed now, not tuned on E9-sim-est data). Mahony filter, quaternion, 1 kHz. Kp = 2.0 rad/s, Ki = 1.0 rad/s^2 (linearized tilt/bias error poles critically damped at 1 rad/s). Accelerometer used only when | |a| - g | <= 0.15 g; bias estimate integrates only then and is clamped to +-0.5 rad/s per axis. Rate loop uses gyro minus the bias estimate. No yaw reference (no magnetometer), so z-axis bias is not observable. Initialized to the true attitude at release with zero bias estimate.
IMU model, all PLACEHOLDER until measured on a real IMU. Gyro: true body rate + bias + white noise 0.05 rad/s.
Accelerometer: specific force in body frame, R^T (a_world + g z), i.e. ~0 in free fall and thrust/mass along
body z under thrust, + white noise 0.05 m/s^2 per axis from Rng(13) per throw. Not modeled: accel bias, scale
and misalignment, motor vibration, sensor filtering and latency, gyro saturation, temperature drift of bias.
Pass line. >= 95% success at every arm delay <= 150 ms, for every b <= 0.05 rad/s. b = 0.2 has no pass line.
Prediction (direction and rough size). Estimation makes recovery worse, by little where b is realistic.
- b = 0 and 0.01: success within 1 point of E9-sim at each delay; median altitude lost +0.03 m or less.
- b = 0.05: within 2 points; median altitude lost +0.05 m or less. PASS.
- b = 0.2: 5-20 points worse at every delay. The extra failures are mostly not-settled (end RMS), from yaw drift (no yaw reference) and the bias transient, not extra crashes: the free-fall gyro-only window is short, so b x (arm delay + recovery) stays under ~0.1 rad.
- Peak attitude-estimate error in the first 1 s after arming: p95 < 0.10 rad for b <= 0.05.
- Main error source at b = 0 is the accelerometer gate passing ~1 g readings that are thrust, not gravity, while the drone is still tilted during recovery (a multirotor accelerometer reads thrust along body z).
E9-sim-est result (session 01; registration above unchanged)
Domain: estimated-attitude, ideal-position sim. cargo run --release -p murmur-sim --bin throw_est,
sha a6b6388, tree clean, rustc 1.99.1, 300 throws per cell. The truth control column reproduced E9-sim exactly.
| b (rad/s) | 50 ms | 100 ms | 150 ms | 200 ms | 300 ms | crashes (50-300 ms) | p50 altitude lost (50-300 ms) |
|---|---|---|---|---|---|---|---|
| truth (E9-sim) | 99.7% | 99.3% | 97.7% | 94.3% | 67.0% | 1 / 2 / 7 / 17 / 99 | 0.57 / 0.67 / 0.83 / 1.05 / 1.65 m |
| 0 | 98.0% | 96.3% | 93.3% | 89.3% | 63.0% | 1 / 2 / 7 / 17 / 98 | 0.57 / 0.66 / 0.81 / 1.04 / 1.64 m |
| 0.01 | 98.0% | 96.7% | 93.3% | 89.3% | 63.0% | 1 / 2 / 7 / 17 / 98 | 0.57 / 0.66 / 0.81 / 1.04 / 1.64 m |
| 0.05 | 98.0% | 97.0% | 92.3% | 89.3% | 63.0% | 1 / 2 / 7 / 17 / 98 | 0.57 / 0.66 / 0.81 / 1.04 / 1.64 m |
| 0.2 | 46.7% | 44.0% | 42.3% | 41.0% | 26.7% | 1 / 2 / 7 / 17 / 97 | 0.61 / 0.67 / 0.82 / 1.03 / 1.64 m |
Pass line: FAIL (150 ms is below 95% at every b <= 0.05). Every extra failure is not-settled, none is a crash.
Attribution (diagnostic, not registered, throw_est --diag, sha 6bda172, clean). An oracle accelerometer gate
(used only when within 0.1 rad of true up) restores E9-sim exactly at b = 0 and b = 0.05 (99.7 / 99.3 / 97.7%), so the
b <= 0.05 loss is the magnitude gate passing thrust as gravity (18-22% of steps in the first second after arming).
At b = 0.2, z-axis bias alone gives 47.7 / 46.0 / 43.3% and roll/pitch bias alone 98.0 / 96.0 / 93.0%: the cliff is
yaw drift with no yaw reference.
Prediction scored. Hit: control reproduced; altitude lost unchanged (<= 0.03 m); extra failures not-settled, not crashes; yaw drift drives b = 0.2; the gate is the b = 0 error source. Miss: b <= 0.01 lost 1.7-5.0 points, not <= 1; b = 0.05 lost up to 5.4 points, not <= 2, and FAILED, not PASS; b = 0.2 lost 40-55 points, not 5-20; peak estimate error p95 was 0.16-0.23 rad, not < 0.10.
E9-sim-est2 registration (session 02, committed before any E9-sim-est2 code or run)
Question. E9-sim-est failed because the magnitude gate passes thrust as gravity while the airframe is still tilted (#1); an oracle gate that knew true "up" restored E9-sim exactly at b <= 0.05. Does a throw-mode accelerometer policy built only from onboard signals recover the pass line?
Domain. estimated-attitude, ideal-position sim, as E9-sim-est.
Unchanged from E9-sim-est. Protocol (300 throws per arm delay at 50 / 100 / 150 / 200 / 300 ms, IC Rng(42) in
the E9-sim order, release 2.0 m, setpoint z 1.5 m, 8 s, same success and altitude-lost definitions), seeds (gyro
noise 11, accel noise 13, bias direction 7), conditions (b = 0, 0.01, 0.05, 0.2 rad/s, paired), IMU model (all
PLACEHOLDER), estimator (Mahony, Kp 2.0, Ki 1.0, magnitude gate 0.15 g, bias clamp 0.5 rad/s, initialized to the
true attitude at release with zero bias). Only the decision to use an accelerometer sample changes.
Policy (fixed now; both numbers are inherited, neither is tuned).
- Throw mode lasts from release until 2.0 s after arming: the window in which the tilt kill is already suspended.
- In throw mode the accelerometer is used only when the magnitude gate passes AND the angle between the measured specific force and the estimated "up" (both in the body frame) is <= 0.10 rad, the session-01 oracle threshold with the estimate standing in for the truth. A multirotor accelerometer reads thrust along body z, so this admits it only when the estimator itself believes the airframe is within about 0.1 rad of level.
- After the window: the session-01 magnitude gate alone, unchanged (
Mahony::updateis not modified). - Inputs: gyro, accelerometer, the estimate, and time since arming. No truth.
Why it should work: from a correct start at release the estimate is gyro-propagated, so its tilt error stays near |b| x elapsed time (about 0.06 rad at b = 0.05 by 1.2 s), and "the estimate says near level" is then close to "truly near level", which is what the oracle tested. How it can fail: (a) lockout, if the estimate is more than 0.1 rad off when the drone levels, the gate stays shut and roll/pitch bias integrates until the window ends; (b) after the window, the magnitude gate again passes tilted-thrust readings for drones still flying back to the setpoint; (c) admitted readings up to 0.1 rad + estimate error from true "up" still pull the estimate.
Controls (the run is VOID if either fails). In the same binary: (1) the truth column reproduces E9-sim ok and
crash counts at all 5 delays; (2) the magnitude-gate column reproduces the E9-sim-est ok and crash counts at all
4 b x 5 delays. bin/throw_est stays unchanged and must still print its session-01 numbers.
Pass line (unchanged). >= 95% success at every arm delay <= 150 ms, for every b <= 0.05 rad/s. b = 0.2 has none.
Prediction.
- b <= 0.05: at 50 / 100 / 150 ms within 1 point of E9-sim (99.7 / 99.3 / 97.7%); 150 ms >= 96.7%. PASS.
- 200 / 300 ms within 2 points of E9-sim (94.3 / 67.0%). Crashes and p50 altitude lost unchanged (+-0.03 m).
- Bad admissions (accel used while > 0.1 rad from true up) in [arm, arm + 1 s): < 1% of steps at b <= 0.05 (gate: 18-22%). Peak estimate error p95 in that second < 0.10 rad at b <= 0.05 (gate: 0.16-0.23).
- b = 0.2: still far below E9-sim, within +-10 points of the E9-sim-est b = 0.2 row: the policy does nothing for yaw (#2), and lockout (a) is likelier there.
- Calibration: all five session-01 misses were optimistic. If this misses, expect the same direction, most likely at 150 ms through failure mode (b).
E9-sim-est2 result (session 02; registration above unchanged)
Domain: estimated-attitude, ideal-position sim. cargo run --release -p murmur-sim --bin throw_est2, sha 33bb4b4, tree
clean, rustc 1.99.1, 300 throws per cell, run once. Both controls reproduced (truth = E9-sim at 5 delays; gate = E9-sim-est
at 4 b x 5 delays, ok and crash counts). bin/throw_est unchanged, output identical below its provenance line at e75d117
(rustc 1.100.1) and 33bb4b4 (rustc 1.99.1).
| b (rad/s) | 50 ms | 100 ms | 150 ms | 200 ms | 300 ms | unsettled (50-300 ms) | vs gate, fixed / broke (50-300 ms) |
|---|---|---|---|---|---|---|---|
| truth (E9-sim) | 99.7% | 99.3% | 97.7% | 94.3% | 67.0% | 0 / 0 / 0 / 0 / 0 | |
| 0 | 99.7% | 99.3% | 97.7% | 94.3% | 67.0% | 0 / 0 / 0 / 0 / 0 | 5/0, 9/0, 13/0, 15/0, 13/1 |
| 0.01 | 99.7% | 99.3% | 97.7% | 94.3% | 67.3% | 0 / 0 / 0 / 0 / 0 | 5/0, 8/0, 13/0, 15/0, 13/0 |
| 0.05 | 99.7% | 99.3% | 97.7% | 94.3% | 67.3% | 0 / 0 / 0 / 0 / 0 | 5/0, 7/0, 16/0, 15/0, 13/0 |
| 0.2 | 39.0% | 38.3% | 38.3% | 37.0% | 25.7% | 182 / 183 / 178 / 171 / 125 | 7/30, 11/28, 14/26, 12/24, 12/15 |
Pass line: PASS (every b <= 0.05 at every delay <= 150 ms is >= 95%; lowest 97.7%). At b <= 0.05 every remaining failure is a crash, the same crashes as E9-sim (1 / 2 / 7 / 17 at 50-200 ms; 98 instead of 99 at 300 ms for b = 0.01, 0.05). Bad admissions in [arm, arm + 1 s): 0.15-1.14% of steps (gate 18-22%). Peak estimate error p95 there: 0.032-0.066 rad (gate 0.16-0.23). The policy matches the session-01 oracle bound without using truth.
b = 0.2 got worse. The policy breaks 15-30 throws the gate recovered and fixes 7-14. Not diagnosed. Consistent with registered failure mode (a), lockout: at 0.2 rad/s the gyro-only estimate drifts past 0.1 rad in about half a second, so the gate shuts. This adds weight to the bias spec (|b| <= 0.05 at throw time, #2).
Prediction scored. Hit: PASS; b <= 0.05 within 1 point of E9-sim at <= 150 ms (exact); 200 / 300 ms within 2 points (exact / +0.3); crashes and p50 altitude lost unchanged; peak error p95 < 0.10 rad; b = 0.2 within +-10 points of the E9-sim-est row (-1.0 to -7.7). Miss: bad admissions < 1% at b <= 0.05; b = 0.05 at 50 ms was 1.14% (14 of 15 cells under 1%). Not predicted: b = 0.2 is worse, not about the same. Failure mode (b), post-window gate admissions, cost nothing measurable.
E9-sim-est3 registration (session 03, committed before any E9-sim-est3 code or run)
Question (#8). E9-sim-est2 passed with the estimator started at the true attitude at release, and its policy trusts the estimate. On hardware the release estimate comes out of the throw motion. How large a tilt error in the release estimate can the throw-mode policy absorb before the E9-sim-est2 pass line fails, and is it more or less tolerant than the plain magnitude gate?
Domain. estimated-attitude, ideal-position sim, as E9-sim-est and E9-sim-est2.
Unchanged. Protocol, seeds (IC 42, gyro noise 11, accel noise 13, bias direction 7), IMU model (PLACEHOLDER),
Mahony gains and gate, ThrowAccelPolicy::default() (0.10 rad, 2.0 s). Neither the estimator nor the policy is changed.
Conditions. Release tilt error e0 = 0, 0.05, 0.10, 0.15, 0.20, 0.30, 0.50 rad. The initial estimate is the true
attitude rotated by e0 about a horizontal world axis, q_est = R(axis, e0) * q_true: estimated and true "up" differ by
exactly e0, with no rotation about vertical (no heading error; yaw is #2). Axis direction random per throw from a new
Rng(17), the same 300 axes at every e0, b, delay and estimator (paired). Gyro bias b = 0, 0.01, 0.05 rad/s (b = 0.2 is
already known bad and is left out). Two estimators per cell: the policy and the plain gate. Delays 50-300 ms.
Controls (the run is VOID if any fails, checked before any e0 > 0 row runs). In the same binary: truth reproduces E9-sim; at e0 = 0, through the new initial-error code path, the policy reproduces E9-sim-est2 and the gate reproduces E9-sim-est (ok and crash counts, b = 0, 0.01, 0.05, 5 delays).
Pass line. With the policy, >= 95% success at every arm delay <= 150 ms, for every b <= 0.05, at every e0 <= 0.10 rad. Why 0.10: it is the policy's own innovation threshold, and a rough hand-throw number lands there too. A 0.5 g horizontal hand acceleration gives |a| = 1.12 g, inside the 0.15 g gate, pointing 0.46 rad off true up; at Kp = 2 that drags the estimate about 0.09 rad in 0.1 s. Reported with it: tolerance, the largest e0 in the grid at which the line holds and holds at every smaller e0, for the policy and for the gate.
What the physics suggests. After arming, the controller levels the estimate, so the airframe ends up truly tilted by about e0 and accelerates sideways at g tan(e0). The accelerometer then reads thrust along body z and agrees with the estimate: no information. Only when the position loop has tilted the estimate by about e0 to stop the drift is the airframe truly level. The accelerometer then disagrees with the estimate by e0, and the policy admits that only if e0 <= 0.10. Above that it locks out until the window closes at arm + 2 s. Meanwhile the position loop holds a standing offset of about g tan(e0) / kp_xy (0.37 m at 0.15 rad, 0.76 m at 0.3), outside the 0.3 m integrator zone. After the window the magnitude gate corrects the error (time constant about 0.5 s) and the drone flies back. Settling is scored at 6-8 s, so lockout should cost time, not success, while g tan(e0) is below max_accel_xy = 4 m/s^2 (e0 < 0.39 rad). At 0.5 rad (5.4 m/s^2) the position loop cannot hold against the error during the window, and the drone drifts.
Prediction.
- Policy: PASS at e0 <= 0.10. Tolerance 0.30 rad: the line holds through 0.30 and fails at 0.50.
- Gate: tolerance "none" (it already fails at e0 = 0). The policy is at or above the gate at every e0 <= 0.30, b <= 0.05, delay <= 150 ms.
- Failures added by e0 are unsettled, not crashes. Crashes are within +-2 of e0 = 0 per cell for e0 <= 0.30, and p50 altitude lost rises by <= 0.05 m.
- At e0 = 0.50 the policy is below 90% at 150 ms.
- Calibration: session 01 missed 5 of 10, all optimistic; session 02 missed 1 of 7. The softest prediction is that 0.30 holds.
E9-sim-est3 result (session 03; registration above unchanged)
Domain: estimated-attitude, ideal-position sim. cargo run --release -p murmur-sim --bin throw_est3, sha 265a1d6, tree
clean, rustc 1.99.1, 300 throws per cell, run once (73 s). All three controls reproduced (truth = E9-sim; at e0 = 0 the
policy = E9-sim-est2 and the gate = E9-sim-est, ok and crash counts, 3 b x 5 delays).
Success at 150 ms arm delay (b = 0.01 is within 0.7 points of b = 0 in every cell):
| e0 (rad) | policy b=0 | policy b=0.05 | gate b=0 | gate b=0.05 | policy tilt err p95 at 8 s (b=0) | gate tilt err p95 at 8 s (b=0) |
|---|---|---|---|---|---|---|
| 0 | 97.7% | 97.7% | 93.3% | 92.3% | 0.005 rad | 0.017 rad |
| 0.05 | 97.7% | 97.7% | 93.7% | 93.3% | 0.004 | 0.015 |
| 0.10 | 97.7% | 97.7% | 93.7% | 92.3% | 0.006 | 0.020 |
| 0.15 | 97.3% | 96.7% | 89.7% | 88.3% | 0.008 | 0.393 |
| 0.20 | 96.3% | 96.3% | 83.3% | 83.3% | 0.009 | 0.456 |
| 0.30 | 73.3% | 69.0% | 63.7% | 62.7% | 0.428 | 0.680 |
| 0.50 | 0.0% | 0.0% | 3.7% | 4.0% | 1.949 | 2.729 |
Pass line: PASS (the policy holds the E9-sim-est2 line at e0 = 0, 0.05 and 0.10; lowest cell 97.7%). Tolerance: 0.20 rad with the policy (holds at every e0 <= 0.20, lowest cell 96.3%); fails at 0.30 (50 ms: 82.0-87.0%). The gate holds at no e0. The policy is at or above the gate in every cell with e0 <= 0.30. At 0.50 the gate is ahead (12.3% vs 0% at 50 ms) and both diverge: the tilt-estimate error at 8 s reaches p95 1.9-2.7 rad, and crashes at 150 ms rise from 7 to 38-70.
Where the added failures are (policy, b = 0, 150 ms): 0.20 rad, 3 unsettled and 1 extra crash; 0.30 rad, 72 unsettled and 1 extra crash. At 200-300 ms crashes rise by up to 3 (e0 = 0.20) and 9 (0.30, b = 0.05). p50 altitude lost at 150 ms moves at most +0.03 m for e0 <= 0.30 (0.83 to 0.86 m).
Prediction scored. Hit: PASS at e0 <= 0.10; gate tolerance none; policy at or above the gate at every e0 <= 0.30; added failures are unsettled, not crashes, at delays <= 150 ms; p50 altitude lost <= +0.05 m; at 0.50 the policy is below 90%. Miss: tolerance was 0.20, not 0.30 (0.30 gives 69.0-73.3% at 150 ms). Miss: crashes stay within +-2 only at delays <= 150 ms (+3 and +9 at 200-300 ms). Miss on mechanism: the physics section said lockout costs time, not success, while g tan(e0) < 4 m/s^2, and that the magnitude gate corrects the error after the window. At 0.30 (2.9 m/s^2) the tilt error at 8 s is p95 0.43 rad, larger than it started. With the gate the error grows past e0 from 0.15 up. The 0.50 collapse (divergence and crashes, not drift) was not predicted.
Attribution (diagnostic, not registered, throw_est3 --diag, sha d53c9b8, clean). Same throws, b = 0, 150 ms, run for
20 s instead of 8. The 6-8 s column reproduces the registered cells.
| e0 | estimator | ok at 6-8 s | ok at 18-20 s | crashes by 20 s (by 8 s) | tilt err p95 at 20 s |
|---|---|---|---|---|---|
| 0.20 | policy | 289 | 291 | 8 (8) | 0.000 rad |
| 0.20 | gate | 250 | 265 | 27 (8) | 2.127 |
| 0.30 | policy | 220 | 262 | 20 (8) | 0.939 |
| 0.30 | gate | 191 | 208 | 62 (13) | 2.754 |
| 0.50 | policy | 0 | 0 | 300 (38) | 2.601 |
| 0.50 | gate | 11 | 28 | 238 (67) | 2.978 |
Large release errors are not just slow. Some throws settle later, and a share diverge: the tilt estimate runs off to 2-3 rad and the drone crashes after the 8 s window. This is consistent with the coupling the physics section left out. The accelerometer only says "up" once the position loop has stopped the drone accelerating. The position loop is limited (max_accel_xy 4 m/s^2, max_tilt 0.52 rad), and once it saturates the gate's corrections chase body z instead of up. Not proven: no per-throw trace was inspected.
E9-sim-cal registration (session 04, committed before any E9-sim-cal code or run)
Question (#15, from #2). #2 sets the gyro-bias spec at throw time to |b| <= 0.05 rad/s and says to meet it with a stationary calibration before pick-up. Session 01 showed the stakes: at b = 0.2 rad/s throw success roughly halves, and z bias alone does it. Does a short stationary calibration with a stillness check meet the spec, refuse windows that motion has corrupted, and bring b = 0.2 throws back to the E9-sim-est2 pass line?
Domain. Parts A and B: IMU-model sim. The readings come from prescribed motion with no flight dynamics: the drone sits, or is moved, while the window runs. Part C: estimated-attitude, ideal-position sim, the E9-sim-est2 protocol.
Calibration (fixed now; every number PLACEHOLDER until a real IMU is measured, #5).
- Window: 1000 gyro and accelerometer samples at 1 kHz (1.0 s). Bias estimate b_hat = mean gyro reading over the window.
- Stillness check: all three must hold, or the calibration is refused and the drone does not arm.
- Per-axis gyro standard deviation over the window <= 0.10 rad/s (twice the PLACEHOLDER white noise).
- The angle between the mean accelerometer reading of the first and second halves of the window is <= 0.01 rad.
- | |mean accelerometer reading| - g | <= 0.05 g.
- Use: b_hat is subtracted from every later gyro sample, and the Mahony bias integral still runs on top. With the sim's
constant bias, that flight is exactly a flight with gyro bias b - b_hat. So Part C runs E9-sim-est2 with
ImuParams::gyro_bias = b - b_hat.
IMU during the window (same model as in flight, PLACEHOLDER). Gyro = body rate + b + white noise 0.05 rad/s (new
Rng(19)). Accelerometer = R^T (a_world + g z) + white noise 0.05 m/s^2 (new Rng(23)). The drone starts level. Bias
direction per window from Rng(7), the E9-sim-est directions, so Part C pairs with E9-sim-est2. Not modeled: bias
instability and flicker noise, temperature drift, the time between calibration and throw, Earth rate
(7.3e-5 rad/s, about 700 times below the spec), table vibration.
Part A, residual. Still windows, 300 per condition: b = 0, 0.05, 0.2, 0.5 rad/s (random direction) and 0.2 on z only. Pass line: at every b, >= 99% of windows are accepted, and every accepted window has |b_hat - b| <= 0.05 rad/s (the max over 300, not a percentile).
Part B, stillness check. 300 windows per condition at b = 0.2 rad/s (random direction), with motion during the window.
Axes per window come from a new Rng(29).
- tilt: constant world-frame rotation at 0.1 rad/s about a random horizontal axis.
- pick-up: at t = 0.5 s, a 0.3 s half-sine pulse with world rotation peaking at 1.5 rad/s about a random axis and vertical acceleration peaking at 3 m/s^2. PLACEHOLDER, not measured hand motion.
- yaw: constant rotation at 0.1 rad/s about vertical. Pass line: >= 99% of tilt windows and >= 99% of pick-up windows rejected. Yaw has no pass line. A constant rotation about gravity leaves the accelerometer unchanged and looks like bias to the gyro, so no check built from these two sensors can see it.
Part C, end to end. E9-sim-est2 unchanged (300 throws per delay, seeds 42 / 11 / 13 / 7, ThrowAccelPolicy::default()).
Before each throw, one still calibration window with that throw's bias draws b_hat; the throw then flies with bias b - b_hat.
A refused calibration counts as a failed throw. Conditions, calibrated: b = 0.05, 0.2 (random direction), 0.2 z-only.
Uncalibrated rows at the same b are run too.
Controls (the run is VOID, before any calibrated row, if either fails): truth reproduces E9-sim, and the uncalibrated policy at
b = 0.05 and 0.2 reproduces the E9-sim-est2 rows (ok and crash, 5 delays). Uncalibrated 0.2 z-only is informational.
Pass line: calibrated, >= 95% success at every arm delay <= 150 ms, for each of b = 0.05, 0.2 and 0.2 z-only.
What the physics suggests. The mean of N white-noise samples has a per-axis error of sigma / sqrt(N) = 0.05 / sqrt(1000) = 0.0016 rad/s. That is 30 times below the spec, so A is a test of the implementation, not of physics, under this model. On hardware, bias instability and 1/f noise set the floor instead (#5). Tilt rotation turns the accelerometer by omega T / 2 = 0.05 rad between the half-windows, five times the threshold. A pick-up's rate pulse gives a gyro standard deviation around 0.3-0.5 rad/s. A constant yaw rate is absorbed into b_hat: a 0.1 rad/s residual, twice the spec.
Prediction.
- A: PASS. Residual norm p95 about 0.005 rad/s and max < 0.01 at every b; 100% of still windows accepted.
- B: PASS. Tilt and pick-up 100% rejected. Yaw: about 100% accepted, residual about 0.10 rad/s. So the calibration has to happen with the drone set down (pad or stack), never in the hand.
- C: PASS. The calibrated rows are within 0.3 points of the E9-sim-est2 b = 0 row (99.7 / 99.3 / 97.7%) at every delay <= 150 ms. Uncalibrated 0.2 z-only: 35-50% at <= 150 ms.
- Calibration: the PASS calls are near-certain under this IMU model. That is a property of the model, not evidence for hardware.
E9-sim-cal result (session 04; registration above unchanged)
cargo run --release -p murmur-sim --bin gyro_cal, sha 2c5f825, tree clean, rustc 1.99.1, run once. Calibration and IMU
values are PLACEHOLDER. Part C controls reproduced: truth = E9-sim; uncalibrated policy at b = 0.05 and 0.2 = E9-sim-est2.
Part A (IMU-model sim): PASS. 300 still windows per condition, 300 accepted in every condition. The residual |b_hat - b| is p50 0.0023, p95 0.0044, max 0.0056 rad/s at b = 0, 0.05, 0.2, 0.5 and 0.2 z-only. It is identical across b to 1e-8 because the noise draws are shared and a constant bias subtracts out exactly. The worst window is 9 times below the 0.05 spec.
Part B (IMU-model sim): PASS. Tilt rotation at 0.1 rad/s: 300 of 300 refused (accelerometer turned). Pick-up: 300 of 300 refused (gyro not still). Yaw rotation at 0.1 rad/s (no line): 300 of 300 accepted, residual p50 0.100, max 0.105 rad/s, twice the spec. That is the blind spot, as predicted.
Part C (estimated-attitude, ideal-position sim): PASS.
| condition | 50 ms | 100 ms | 150 ms | 200 ms | 300 ms | flight bias p95 |
|---|---|---|---|---|---|---|
| truth (E9-sim) | 99.7% | 99.3% | 97.7% | 94.3% | 67.0% | |
| uncalibrated b = 0.05 | 99.7% | 99.3% | 97.7% | 94.3% | 67.3% | 0.05 rad/s |
| uncalibrated b = 0.2 | 39.0% | 38.3% | 38.3% | 37.0% | 25.7% | 0.2 |
| uncalibrated b = 0.2 z-only | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.2 |
| calibrated b = 0.05, 0.2, 0.2 z-only (each) | 99.7% | 99.3% | 97.7% | 94.3% | 67.0% | 0.0044 |
No calibration was refused. Each calibrated row equals E9-sim throw for throw in ok and crash counts at every delay. Uncalibrated 0.2 z-only fails every throw by not settling; crashes are 1 / 2 / 7 / 18 / 102.
Prediction scored. Hit: A PASS, residual p95 about 0.005 and max < 0.01, 100% accepted; B PASS, tilt and pick-up 100%
refused, yaw accepted with about 0.10 rad/s; C PASS within 0.3 points of the E9-sim-est2 b = 0 row (exact). Miss: uncalibrated
0.2 z-only was 0.0%, not 35-50%. Session 01's z-only diagnostic used the z component of a random direction (mean |z| 0.107 rad/s,
RMS 0.121, over the 300 Rng(7) directions, from a Python replica of the sim Rng); the full 0.2 on z leaves no throw settled within 8 s. The passes are what the white-noise model guarantees
(sigma / sqrt(N)); they test the implementation. Bias instability, 1/f noise and drift between calibration and throw (#5)
decide it on hardware.
Cost of the yaw blind spot (diagnostic, not registered, gyro_cal --diag, sha e72d4ca, clean). Part C at b = 0.2 (random
direction), with the calibration window rotating about vertical. Estimated-attitude, ideal-position sim.
| yaw rate during calibration | flight bias p95 | 50 ms | 100 ms | 150 ms |
|---|---|---|---|---|
| 0.02 rad/s | 0.023 rad/s | 99.7% | 99.3% | 97.7% |
| 0.05 rad/s | 0.053 rad/s | 99.7% | 99.3% | 97.7% |
| 0.10 rad/s | 0.103 rad/s | 93.7% | 93.0% | 89.0% |
A residual at the 0.05 rad/s spec costs nothing within 8 s; 0.10 rad/s fails the line through unsettled throws (18-26 per cell). The window has to be taken with the drone set down. The 8 s horizon hides yaw drift that keeps growing (#2).
Session 18 (#40). The part C controls now compute their reference rows at the commit they run on (sim::refrows,
the E9-sim and E9-sim-est2 loops) instead of comparing with fixed counts. At e3a8663 (clean) bin/gyro_cal prints what
it printed at aa609bb, every line but the provenance line. No line or threshold changed.
E9-sim-hand registration (session 05, committed before any E9-sim-hand code or run)
Question (#17, from #13 option 1). E9-sim-est3 set a spec: the tilt estimate must be within 0.2 rad of the truth at release. There, release error was an input. Here a PLACEHOLDER hand wind-up produces it, with the estimator running through the hand phase. (a) What release error does the current estimator give? (b) Does a pre-release policy keep the release error inside the spec and the throw line end to end?
Domain. Release error: IMU-model sim, PLACEHOLDER hand model (prescribed hand motion, estimator only, no flight). End to end: estimated-attitude, ideal-position sim, PLACEHOLDER hand model.
Hand model (every parameter PLACEHOLDER; nothing here is measured).
- Before the wind-up the drone is held still long enough for the estimate to converge. The wind-up starts with the true attitude in the estimate and a zero bias estimate (after the session-04 calibration the residual gyro bias is set by b). Pick-up and carry are not modeled.
- The wind-up lasts T_w and ends at release. Release is the E9-sim draw (
Rng(42), E9-sim order): attitude q0, body rate w0, velocity v0 at (0, 0, 2) m. τ = (t + T_w) / T_w runs from 0 to 1. - World hand acceleration: a(τ) = (π v0 / (2 T_w)) sin(π τ) + A g d sin(2π τ). The first term brings the drone from rest to v0. The second is a back-and-forth swing with peak A g along a random unit direction d, adding no net velocity.
- Body rate: ω(τ) = w0 τ + Ω e sin(π τ). That is a spin-up to w0, plus a hand wobble peaking at Ω about a random unit axis e. The attitude path is integrated backward from q0, so the wind-up ends exactly at the E9-sim release state.
- d and e are drawn per throw from a new
Rng(43), the same 300 at every condition (paired). - Release timing: release is at τ = 1, where both hand terms are zero. Throw detection after release is not swept: in free fall the accelerometer reads about 0 and every policy here rejects it, so the detection delay does not change the estimate.
- Sweep: T_w = 0.15, 0.30, 0.50 s; A = 0.25, 0.5, 1.0, 2.0 g; Ω = 0, 4 rad/s. That is 24 hand conditions, each at residual gyro
bias b = 0 and 0.05 rad/s (direction
Rng(7)). E9-sim-est3 showed b = 0.01 within 0.7 points of b = 0. - IMU in the hand phase: the E9-sim-est model (PLACEHOLDER) with new noise streams, gyro
Rng(31)and accelerometerRng(37). The flight's streams (11, 13) are untouched.
Hand-phase policies.
- (a) current: the magnitude gate (
Mahony::update). Throw mode starts at release. - (b) held: from the start of the wind-up, the accelerometer is used only if the magnitude gate passes and it is within 0.10 rad of
the estimated up. That is the throw-mode innovation gate applied before release (same threshold, inherited, not tuned).
From release,
ThrowAccelPolicy::default()as in E9-sim-est2. - freeze (informational): no accelerometer in the hand phase (gyro only). The flight continues from the estimator state at release (attitude and bias estimate), E9-sim-est2 unchanged.
Metrics. Release tilt error: the angle between estimated and true up at release, p50 / p95 / max per condition. Also the bias-estimate error at release. End to end, for (a) and (b): E9-sim-est2 success at 50 / 100 / 150 ms (300 throws each).
Controls (VOID before any hand row if either fails). Truth reproduces E9-sim at 50 / 100 / 150 ms. The new start-from-estimator-state path, given the untouched estimator at release, reproduces E9-sim-est2 at b = 0 and 0.05 (ok and crash).
Pass lines.
- (a): release tilt error p95 <= 0.20 rad in every one of the 48 conditions.
- (b): release tilt error p95 <= 0.20 rad in every condition AND >= 95% throw success at every arm delay <= 150 ms in every condition. End to end for (a) and freeze have no line.
What the physics suggests. The hand's push is what the 1 g gate cannot see. A horizontal hand acceleration of a reads g sqrt(1 + (a/g)^2), inside the gate up to about 0.57 g, while pointing atan(a/g) off up. Mahony then integrates the error at Kp = 2/s. The push that sets the release velocity is one-signed, so the release error grows as Kp ∫ (a_h / g) dt ≈ 2 v_h / g, about 0.2 rad per 1 m/s of horizontal release speed. That holds only while the push stays inside the gate, i.e. for gentle, long wind-ups; a short hard push is mostly rejected. The swing term mostly cancels (its net velocity is zero). The held policy admits a reading only while it is within 0.1 rad of the estimate. A wind-up turns the specific force by tenths of a radian in tens of milliseconds, far faster than the estimate can follow at Kp = 2/s, so the push is rejected after the first few milliseconds. The cost is gyro-only drift, at most b x T_w = 0.025 rad.
Prediction.
- (a): FAIL. Release p95 above 0.20 rad at T_w = 0.50 s (0.2-0.35 rad), 0.10-0.20 at 0.30 s, < 0.10 at 0.15 s. A and Ω are second-order. The bias estimate is corrupted by up to about 0.05 rad/s.
- (a) end to end (no line): below 95% at 150 ms only at T_w = 0.50 s.
- (b): PASS. Release p95 <= 0.05 rad in every condition, throw success >= 96.3% at 150 ms in every condition (most at 97.7%).
- freeze: release p95 <= 0.03 rad, marginally below (b).
- Calibration: my session-03 physics missed a coupling. The softest call here is that the swing cancels, i.e. that A does not matter for (a).
E9-sim-hand result (session 05; registration above unchanged)
Run once: cargo run --release --bin hand_throw at d8b7558 (code f5db95b, plus one strengthened test in d8b7558), tree
clean, rustc 1.99.1 (rustup stable), release, started 2026-12-04T00:11:29Z, 23.5 s wall. Every hand, IMU and airframe
parameter is PLACEHOLDER. Controls reproduced: truth gave ok 299 / 298 / 293 and crash 1 / 2 / 7, which is E9-sim. From-state
with an untouched estimator at b = 0 and 0.05 gave the same counts, which is E9-sim-est2.
(a), magnitude gate through the wind-up: FAIL. Release tilt error p95 is above 0.20 rad in 4 of 48 conditions, all at T_w = 0.50 s, A = 1 g: 0.253 / 0.250 rad (b = 0, Ω = 0 / 4) and 0.249 / 0.245 rad (b = 0.05). Domain: IMU-model sim, PLACEHOLDER hand model.
| T_w | gate release p95, range over A, Ω, b |
|---|---|
| 0.15 s | 0.045-0.096 rad |
| 0.30 s | 0.097-0.163 rad |
| 0.50 s | 0.149-0.253 rad |
-
The largest single-throw error is 0.350 rad (T_w 0.30, A 0.5, b = 0).
-
The bias estimate is corrupted too: the p95 of the bias error reaches 0.114 rad/s at b = 0 and 0.131 rad/s at b = 0.05.
-
End to end (no line): success is below 95% at 150 ms in 8 of 48 conditions, all at T_w = 0.50 s. The worst is 272 / 300.
-
A matters, and not monotonically. At T_w = 0.50 s, b = 0, Ω = 0:
A p95 fraction of wind-up steps admitted 0.25 g 0.175 rad 0.69 0.5 g 0.178 rad 0.48 1 g 0.253 rad 0.29 2 g 0.152 rad 0.18 -
Ω barely matters: it moves p95 by at most 0.005 rad.
(b), held policy through the wind-up: PASS.
- The release tilt error p95 is at most 0.032 rad (b = 0.05, T_w 0.50, A 0.25). At most 25% of wind-up steps are admitted.
- End to end, all 48 conditions give exactly the no-hand control: ok 299 / 298 / 293 and crash 1 / 2 / 7 at 50 / 100 / 150 ms. Domain: estimated-attitude, ideal-position sim, PLACEHOLDER hand model.
- The hand phase does not learn the bias. The p95 bias error is 0.050-0.055 rad/s at b = 0.05, which is |b|, and at most 0.008 at b = 0.
- Freeze (informational): release p95 is at most 0.024 rad (b T_w = 0.025 predicted).
Prediction scored.
| Prediction | Observed | Score |
|---|---|---|
| (a) FAIL | FAIL | hit |
| p95 0.2-0.35 at 0.50 s | 0.149-0.253; above 0.2 only at A = 1 g | miss in range |
| p95 0.10-0.20 at 0.30 s | 0.097-0.163 | hit (one edge) |
| p95 < 0.10 at 0.15 s | 0.045-0.096 | hit |
| A and Ω second order | Ω yes; A first order and non-monotonic | miss on A |
| Bias corruption up to about 0.05 rad/s | 0.114 at b = 0 | miss (2.3x) |
| (a) end to end below 95% at 150 ms only at T_w = 0.50 s | 8 conditions, all at 0.50 s | hit |
| (b) PASS | PASS | hit |
| (b) release p95 <= 0.05 | 0.032 | hit |
| (b) >= 96.3% at 150 ms, most at 97.7% | 97.7% in all 48 | hit |
| Freeze <= 0.03 rad and below (b) | 0.024 vs 0.032 | hit |
The A miss is the call I flagged as softest: I assumed the swing cancels. A hypothesis, not tested: the gate admits only the part of the swing cycle whose magnitude falls inside the band, so it rectifies a zero-mean swing into a one-signed error. At 2 g most of the wind-up is rejected (0.18 admitted), so less of the push is integrated.
Probes, before the run, in fresh worktrees.
- Ten mutants of the new code; nine killed. M8 survived: the hand-phase specific force with the gravity sign flipped. Mahony's cross-product correction is zero for an antiparallel reading, so a still estimate never moves. I strengthened my new test so the held policy must admit a still reading (d8b7558). M8 and a body/world frame swap are now killed.
- Wrong expected counts in the binary give exit 2 and no hand rows.
- M12 survived: with the flight accelerometer seed in the control set to 37 instead of 13, the counts still match. The count control cannot see the noise seed. The bit-identity unit test covers the from-state path instead (it killed a seed-drift mutant).
- A mutant with moved thresholds printed (a) PASS and (b) FAIL (end to end), so both branches of each line are reachable.
- Wart: probe M12 printed the hand rows before the registered run. That mutant changed only the control closure, so the rows were the same code. The registration (d3ab269) is older, and nothing changed after it except the strengthened test.
What this does not show.
- Real throws: every hand parameter is a guess. That 4 of 48 conditions fail, and where the line is crossed, are properties of ranges chosen before any data. They say nothing about how often a real wind-up exceeds 0.2 rad.
- Not modeled: pick-up, carry, hand vibration and release jerk. The estimate is assumed converged at the start of the wind-up.
- How firmware would enter the held policy is not decided.
- The end-to-end counts cannot resolve release errors as small as (b)'s, or a seed swap (M12).
- Position is ideal, nothing has touched hardware, and #13 option 2 (real throw logs) stays open.
E9-sim-trigger registration (session 06, committed before any E9-sim-trigger code or run)
Question (#19). In E9-sim-hand (b), the held policy started at the start of the wind-up, by fiat. Can a trigger built only from the IMU and existing firmware state start it, hold it from the table to release, and keep (b)'s lines? What happens if it starts late or with the estimate already off? How long can held mode last against gyro drift?
Domain. Release error: IMU-model sim, PLACEHOLDER hand model. End to end: estimated-attitude, ideal-position sim, PLACEHOLDER hand model.
The trigger (T1, IMU only). When the session-04 stillness calibration (GyroCal, defaults) accepts a window:
- its bias estimate is subtracted from every later gyro reading;
- the estimator's own bias estimate is reset to zero (attitude kept), so the bias is not removed twice;
- held mode begins:
ThrowAccelPolicy::admit_helddecides accelerometer use until release.
From release, ThrowAccelPolicy::default() as in E9-sim-est2. Before acceptance, the magnitude gate. No new input.
A refused calibration never enters held mode; session 04 says the drone does not arm then. Release detection is by fiat at the end of the wind-up, as registered in E9-sim-hand: free-fall readings are rejected either way. One IMU-only alternative is not registered as its own design: enter held at the first detected motion after calibration. With calibration on the table it enters at pick-up, no earlier than T1 and from the same state, so its only distinct risk is firing late. The late-start conditions measure that. Triggers needing a new input (a button, a hand sensor, an app action) are not built; they are noted on #19 for Scott.
Pre-release truth, per throw (every parameter PLACEHOLDER), at 1 kHz, built backward from the E9-sim release state.
- Table, still at attitude q_t for 10 s (the estimator converges with the raw biased gyro). The last 1 s is the calibration window.
- Pick-up, 0.3 s. This is the session-04 pick-up pulse: body rate 1.5 sin(π τ) rad/s about a random axis, and vertical acceleration 3 sin(π τ) m/s^2.
- Hold, T_h s, at the wind-up start attitude. Two motions:
- tremor: body rate 0.5 sin(2π 8 t) rad/s about a random axis, plus world acceleration 0.05 g sin(2π 8 t) along a random direction;
- sway: tremor plus 0.15 g sin(2π 1 t) along a random horizontal direction.
- Wind-up: the E9-sim-hand model at T_w = 0.5 s, Ω = 4 rad/s, A = 0.25 or 1 g. Those were (b)'s worst and (a)'s worst
conditions. Directions come from
Rng(43)in E9-sim-hand order (paired).
The estimator starts at the true attitude with a zero bias estimate at the start of the table period.
Gyro bias.
- "cal": true bias 0.2 rad/s along
Rng(7), removed by the calibration, so the residual is whatever the calibration leaves (session 04: <= 0.0056 rad/s). - "spec": the residual after calibration is set to 0.05 rad/s along the same direction, the #2 spec limit.
The flight sees the same residual.
Noise streams. One pre-release stream per sensor (gyro Rng(31), accelerometer Rng(37)), with the E9-sim-est IMU model.
Axes and directions come from Rng(53), the off-estimate axis from Rng(59). Flight streams (11, 13) are untouched.
Conditions.
- Main grid (the pass line), 32 conditions: T_h = 0, 2, 10, 30 s × hold motion tremor or sway × A = 0.25 or 1 g × residual cal or spec, with T1 entry. At T_h = 0 the two hold motions are identical, which is a consistency check.
- Late start (no line), 4 conditions. A trigger that fires late: calibration and reset as T1, but held mode begins at a fraction f = 0.25 or 0.5 of the way into the wind-up, with the magnitude gate before. A = 0.25 or 1; T_h 2 s, tremor; residual cal.
- Already off (no line), 8 conditions. At T1 entry the estimate is turned by a pure tilt e0 = 0.05, 0.10, 0.15 or 0.20 rad
(
tilt_error, axisRng(59)). T_h = 0 or 10 s, tremor, A 0.25, residual cal. - Gyro-only hold (no line), 6 conditions: as the main grid (tremor, A 0.25), but no accelerometer during the hold. T_h = 2, 10 or 30 s × cal or spec. Release error only.
Metrics. Release tilt error p50 / p95 / max. Calibration acceptances (expected 300 / 300). Throw success at 50 / 100 / 150 ms (300 throws, E9-sim-est2 protocol) for every condition except gyro-only.
Controls (VOID before any trigger row).
- Truth reproduces E9-sim at 50 / 100 / 150 ms.
- From-state with an untouched estimator reproduces E9-sim-est2 at b = 0 and 0.05.
- The E9-sim-hand (b) path is unchanged: held from the wind-up start at b 0.05, T_w 0.5, A 0.25, Ω 4 gives release p50 / p95 / max 0.019 / 0.030 / 0.045 rad, and ok 299 / 298 / 293, crash 1 / 2 / 7 (session-05 output at d8b7558).
Pass line. In every one of the 32 main conditions: release tilt error p95 <= 0.20 rad AND >= 95% success at every arm delay <= 150 ms. These are E9-sim-hand (b)'s lines, with T1 replacing entry by fiat.
How long held mode can last (computed before the run).
- Held mode can only drift while it rejects. If no reading is admitted, the tilt error grows at the residual's tilt component, at most |r| rad per second.
- Once the estimate is more than 0.1 rad off, held mode also rejects a correct still reading, and it locks out until release. Worst-case lockout time 0.1 / |r|: 17.9 s at the session-04 worst residual (0.0056 rad/s), 2.0 s at the 0.05 rad/s spec.
- The 0.2 rad release spec is reached at 0.2 / |r|: 35.7 s and 4.0 s.
- A hold that keeps readings inside 0.1 rad of the estimate keeps correcting, and these limits do not bind. The T_h sweep tests that for tremor and sway; the gyro-only rows measure the bound.
What the physics suggests.
- At entry, the estimate is converged: 10 s on the table is long enough for the Kp 2 / Ki 1 filter at 0.2 rad/s.
- The pick-up reads up to 1.31 g, outside the gate for most of its 0.3 s, so the gyro carries it: at most 0.015 rad at the spec residual.
- Tremor moves the reading at most 0.05 rad and sway at most 0.149 rad. Held mode admits the tremor readings, and the sway readings for about 46% of each cycle, both signs equally, so the estimate wobbles by about 0.01-0.02 rad. No drift builds up.
- The wind-up then costs what it cost in (b).
- Late start: the gate error built before entry stays. The push is about 15% done at f = 0.25 and 50% at f = 0.5.
- Already off: below 0.1 rad the hold readings are admitted and pull the estimate back (time constant about 1 s). At e0 >= 0.15 the tremor reading is at least 0.10 rad from the estimate and is rejected, so it locks out.
Prediction.
-
Main grid: PASS. Release p95 <= 0.05 rad in all 32 conditions; p95 at T_h = 30 s within 0.01 rad of T_h = 2 s for both motions and residuals; 299 / 298 / 293 ok in all 32 (>= 97.3% at 150 ms). Calibration accepts 300 / 300 everywhere.
-
Late start:
f A = 1 g, p95 A = 0.25 g, p95 0.25 0.04-0.09 rad 0.03-0.06 rad 0.5 0.12-0.18 rad 0.08-0.12 rad All four >= 95% at 150 ms.
-
Already off:
e0 T_h = 0, p95 T_h = 10 s, p95 0.05 e0 + 0-0.03 rad <= 0.05 rad (converged) 0.10 e0 + 0-0.03 rad <= 0.05 rad (converged) 0.15 e0 + 0-0.03 rad 0.12-0.18 rad (mostly locked out) 0.20 e0 + 0-0.03 rad 0.20-0.23 rad (locked out, above the spec) -
Gyro-only hold: p95 about |r| T_h, plus up to 0.03 from the wind-up:
T_h spec residual cal residual 2 s 0.08-0.13 rad <= 0.03 rad 10 s 0.40-0.53 rad <= 0.06 rad 30 s > 1 rad 0.08-0.17 rad -
Softest call: that sway does not drag the estimate (no creep), and that e0 = 0.10 converges rather than locks out.
E9-sim-trigger result (session 06; registration above unchanged)
Run once: cargo run --release --bin held_trigger at be0e22a (code 5b8d5b8, plus one test strengthened in be0e22a), tree
clean, rustc 1.99.1 (rustup stable), release, started 2026-12-04T00:57:30Z, 14.0 s wall. Every hand, IMU and airframe
parameter is PLACEHOLDER.
Controls reproduced:
- truth = E9-sim: ok 299 / 298 / 293, crash 1 / 2 / 7;
- from-state = E9-sim-est2 at b = 0 and 0.05;
- the E9-sim-hand (b) row: release 0.019 / 0.030 / 0.045 rad, ok 299 / 298 / 293.
Calibration accepted 300 / 300 in every condition, and the tilt error at entry was 0.000 rad (p95).
Pass line: FAIL, end to end; the release part passes.
- Release tilt error p95 is at most 0.163 rad across the 32 main conditions:
- tremor holds: 0.005-0.041 rad;
- sway holds (T_h > 0): 0.052-0.163 rad.
- Every one of the 32 conditions is below 95% at every arm delay. Success is 36-72 of 300 at 150 ms (12.0-24.0%), and 36-75 at any delay.
- Domains: release error is IMU-model sim, PLACEHOLDER hand model. End to end is estimated-attitude, ideal-position sim, PLACEHOLDER hand model.
Diagnostic, not registered (bin/held_trigger_diag, e503a76, clean; written after the run). Six main conditions were
re-flown with the same draws. Its as-run counts equal the registered rows. In each, the yaw part of the estimate error at
release, and the success when the release truth is turned about vertical to the estimate's heading (estimator untouched, so the
remaining error is pure tilt):
| condition | heading error p50 / p95 | success at 150 ms, heading aligned |
|---|---|---|
| cal, T_h 0 | 0.940 / 1.928 rad | 295 / 300 |
| spec, T_h 30 s | 1.675 / 3.055 rad | 292 / 300 |
The other four conditions fall between these. Aligned success is 292-299 at every delay, against 36-75 as run (any delay).
The cause: there is no heading reference. On the table, the bias component along body up (0.2 rad/s total) is unobservable from gravity and integrates into heading for 10 s before calibration. After calibration, the residual's vertical component keeps integrating through the hold. Ideal position is given in the true world frame, so a heading error rotates the position loop. E9-sim-hand (b) never showed this: its hand phase was at most 0.5 s (T_w = 0.15-0.5 s) and started from the true attitude. The #13 release spec (0.2 rad) is a tilt spec. Heading at release was never given a spec or a measurement, and it is the binding constraint here. The mechanism itself was not new: E9-sim-est (session 01) found that a z-axis bias collapses throws through yaw drift (#2), and E9-sim-cal (session 04) measured 0.0% with an uncalibrated yaw-only bias. My prediction did not apply either.
Stress rows (no line).
| condition | release tilt p95 | success at 150 ms |
|---|---|---|
| late start f = 0.25, A = 0.25 / 1 g | 0.061 / 0.142 rad | |
| late start f = 0.5, A = 0.25 / 1 g | 0.152 / 0.259 rad (A = 1 above the spec) | |
| already off e0 = 0.05 / 0.10 / 0.15 / 0.20, T_h = 0 | 0.047 / 0.084 / 0.154 / 0.204 rad | |
| already off, same e0, T_h = 10 s | 0.016 / 0.016 / 0.178 / 0.228 rad | |
| gyro-only hold, cal residual, T_h 2 / 10 / 30 s | 0.017 / 0.034 / 0.098 rad | not flown |
| gyro-only hold, spec residual, T_h 2 / 10 / 30 s | 0.134 / 0.528 / 1.516 rad | not flown |
- Already off: entries at 0.10 rad or less converge; 0.15 and 0.20 lock out. The admitted fraction of the hold was 0.17 at 0.15 and 0.00 at 0.20.
- Throw success in the late and off rows is low as well (53-67 at 150 ms), with the same heading confound.
Prediction scored.
| Prediction | Observed | Score |
|---|---|---|
| Main grid PASS | FAIL (end to end) | miss |
| Release p95 <= 0.05 in all 32 | tremor yes; sway up to 0.163 | miss |
| T_h = 30 within 0.01 of T_h = 2 | tremor yes; sway cal 0.053 → 0.099 | miss for sway |
| 299 / 298 / 293 ok in all 32 | 36-75 at any delay | large miss |
| Calibration 300 / 300 | 300 / 300 | hit |
| Late, f = 0.25 | A = 0.25 0.061 (outside 0.03-0.06); A = 1 0.142 (outside 0.04-0.09) | miss |
| Late, f = 0.5 | A = 0.25 0.152 (outside 0.08-0.12); A = 1 0.259 (outside 0.12-0.18) | miss |
| Late, >= 95% at 150 ms | 53-57 | miss |
| Already off, T_h 0, e0 + 0-0.03 | 0.047, 0.084 (below e0), 0.154, 0.204 | 2 hits, 2 misses |
| Already off, T_h 10 | <= 0.05, <= 0.05, 0.12-0.18, 0.20-0.23 all as predicted | hit (4 of 4) |
| Gyro-only hold | all in range except spec T_h 2 s (0.134, above 0.08-0.13) | 5 hits, 1 miss |
The two soft calls: e0 = 0.10 converging was a hit. No sway creep was a miss. The held gate admits sway readings selectively: those on the side the estimate already leans toward are admitted more, so the estimate is pulled toward the edge of the 0.1 rad cone (a hypothesis, not tested).
Probes, before the run.
- Thirteen code mutants against the tests only. The first batch of my harness reported nothing usable: zsh does not word-split
an unquoted
$T, so cargo ran no tests. I fixed it and made it report the suite count. - Ten were killed on the first valid pass. S2 (hold rotation sign), S8 (no pick-up lift) and S9 (no sway) survived. I strengthened my new test with a per-step attitude/rate check and the accelerations (be0e22a), and all three are killed now.
- The per-step check first used
quat_angle, whose f32acoscannot resolve below about 7e-4 rad. It now uses component distance. - The binary's void probe exits 2 with no trigger rows. It was filtered to control lines, so no result was seen.
- The pass-line branch probe ran after this result. A mutant with the success threshold lowered to 10% prints PASS, so both branches are reachable.
What this does not show.
- Real hands: every motion is a guess.
- Whether a real system would have this heading problem. That depends on the position system and its frame, which is not modeled. A heading reset at calibration would not fix it unless the position frame is also defined at calibration.
- The heading tolerance at release, which was never measured.
- Position is ideal, and nothing here has touched hardware.
E9-sim-heading registration (session 07, committed before any E9-sim-heading code or run)
Question (#20). E9-sim-trigger (session 06, PR #21) kept the release tilt estimate inside the 0.2 rad spec from #13 and still failed the throw line. An unregistered diagnostic put the failure on heading error at release (p50 0.94-1.68 rad). How large a heading error in the release estimate can the throws absorb before the E9-sim-est2 pass line fails? This is E9-sim-est3 (session 03) with heading in place of tilt.
Domain. estimated-attitude, ideal-position sim, as E9-sim-est3. Ideal position is in the true world frame.
Unchanged. Protocol, seeds (IC 42, gyro noise 11, accel noise 13, bias direction 7, tilt axis 17), IMU model
(PLACEHOLDER), Mahony gains and gate, ThrowAccelPolicy::default() (0.10 rad, 2.0 s), the controller. Neither the
estimator, the policy nor the controller is changed. Gyro bias b = 0, 0.01, 0.05 rad/s. Delays 50-300 ms. 300 throws.
Conditions. The initial estimate is q_est = R_z(s psi0) * T(axis, e_t) * q_true: T is session 03's world-frame tilt
error (tilt_error), R_z a rotation about the world vertical, s = +1 or -1 per throw from a new Rng(61), the same 300
signs in every cell (paired). The estimate's "up" is then off by exactly e_t, and its heading by exactly psi0.
- Main grid: e_t = 0 (no tilt error, inside the 0.2 rad spec), psi0 = 0, 0.10, 0.20, 0.30, 0.40, 0.50, 0.75, 1.00, 1.50 rad. Two estimators per cell, the policy and the plain gate.
- Combined grid (reported, no pass line): e_t = 0.20 rad, the edge of the tilt spec, at the same psi0. Policy only.
Controls (the run is VOID if any fails, checked before any psi0 > 0 row runs). In the same binary: truth reproduces
E9-sim. At psi0 = 0, through the new initial-error code path, the policy reproduces E9-sim-est2 and the gate E9-sim-est
(e_t = 0), and the policy reproduces E9-sim-est3's e0 = 0.20 rows (e_t = 0.20). Ok and crash counts, 3 b x 5 delays. The
E9-sim-est3 constants come from bin/throw_est3 rerun at this session's base (b469311), since session 03 recorded only the
150 ms cells.
Pass line. With the policy and e_t = 0, >= 95% success at every arm delay <= 150 ms, for every b <= 0.05, at every psi0 <= 0.20 rad. Why 0.20: it is the tilt spec, so a heading spec there would make the release requirement one angle; and 0.17 rad is the worst calibration residual (0.0056 rad/s, E9-sim-cal A) integrated over a 30 s hold, the drift left if heading were reset at calibration (one option in #20). Reported with it: tolerance, the largest psi0 in the grid at which the line holds and holds at every smaller psi0, for the policy, the gate, and the combined grid, with the cells either side of it.
What the physics suggests. Heading does not enter the tilt estimate: the accelerometer sees only "up", so neither the policy nor the gate can see or correct psi0, and it stays for the whole flight (plus drift b_z t, at most 0.4 rad in 8 s at b = 0.05). The attitude loop drives the estimate to the commanded attitude, so the true horizontal thrust is the command rotated by -psi0 about vertical: the position loop has rotated feedback. Linearized (x'' = -R(-psi) (kp x + kd x' + ki integral x), kp 4, kd 3.2, ki 1, the inner loops as one first-order lag tau), it loses stability at psi_c = 1.22 rad for tau = 0, 1.05 at 0.05 s, 0.92 at 0.09 s, 0.75 at 0.15 s. Here kq = 15 and a 20 ms motor lag give tau of about 0.09 s, so psi_c is about 0.9 rad. Below that, the slowest PD pole's decay rate falls from 2.1 /s at psi = 0 to 1.8 (0.2), 1.2 (0.5) and 0.47 (0.75). Settling from about 1 m to < 10 cm RMS by 6 s needs a decay rate of about 0.5 /s, so 0.75 rad is marginal. The integrator pole (-0.33 /s) does not move, and acts only within 0.3 m. Saturation (4 m/s^2, 0.52 rad tilt) is not in the linear model. Altitude and tilt do not depend on heading, so the added failures should be unsettled drift and spirals, not crashes. Session 06's 12-24% at 150 ms with release heading p50 0.94-1.68 rad fits psi_c near 0.9.
Prediction.
- Policy: PASS at psi0 <= 0.20. Tolerance 0.50 rad: the line holds through 0.50 and fails at 0.75.
- At psi0 = 1.00 and 1.50 the policy is below 50% at 150 ms.
- Crashes stay within +-2 of psi0 = 0 in every cell at delays <= 150 ms, at every psi0; the added failures are unsettled.
- Gate: tolerance "none" (it fails at psi0 = 0). The policy is at or above the gate in every cell with psi0 <= 0.75.
- Combined grid (e_t = 0.20): tolerance 0.20 rad. It starts with 4 throws of margin at 150 ms (289 of 300).
- Calibration: session 03's tolerance missed by one grid step, optimistic; session 06 missed outright. The softest prediction is the combined tolerance, then 0.50 holding.
E9-sim-heading result (session 07; registration above unchanged)
Domain: estimated-attitude, ideal-position sim. cargo run --release -p murmur-sim --bin throw_heading, sha 4b42e57, tree
clean, rustc 1.99.1, 300 throws per cell, run once (130 s). All controls reproduced: truth = E9-sim; at psi0 = 0 the policy =
E9-sim-est2, the gate = E9-sim-est, and the policy with tilt 0.20 = E9-sim-est3's e0 = 0.20 rows (ok and crash, 3 b x 5 delays).
Success at 150 ms arm delay (b = 0.01 is within 3 points of b = 0 at every psi0 <= 0.30):
| psi0 (rad) | policy b=0 | policy b=0.05 | gate b=0 | gate b=0.05 | policy, tilt 0.20, b=0 | policy, tilt 0.20, b=0.05 |
|---|---|---|---|---|---|---|
| 0 | 97.7% | 97.7% | 93.3% | 92.3% | 96.3% | 96.3% |
| 0.1 | 97.7% | 97.7% | 93.3% | 93.0% | 96.0% | 96.0% |
| 0.2 | 97.7% | 96.3% | 91.0% | 87.7% | 95.7% | 93.0% |
| 0.3 | 97.7% | 81.3% | 88.0% | 68.7% | 91.3% | 76.3% |
| 0.4 | 85.0% | 60.3% | 34.7% | 41.7% | 80.0% | 51.7% |
| 0.5 | 1.3% | 38.7% | 2.0% | 14.7% | 6.0% | 36.3% |
| 0.75 | 0.0% | 0.0% | 0.0% | 0.3% | 0.0% | 0.0% |
| 1 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 1.5 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
Pass line: PASS (the policy, tilt 0, holds the E9-sim-est2 line at psi0 = 0, 0.10 and 0.20; lowest cell 289 of 300). Tolerance: 0.20 rad with the policy (lowest line cell 289 at 0.20; 244 at 0.30, which is b = 0.05 at 150 ms). By bias, b = 0 and 0.01 hold through 0.30 (lowest 293 and 292) and fail at 0.40 (255 and 225); b = 0.05 binds. The gate holds at no psi0 (lowest 277 at 0). Combined (tilt 0.20): tolerance 0.10 rad (lowest 288 at 0.10, 279 at 0.20).
The cliff is steep: at b = 0 the policy goes from 293 at 0.30 to 255 at 0.40 and 4 at 0.50. At 0.50, b = 0.05 does better than b = 0 (116 vs 4): with a random sign per throw, the bias drift takes heading back toward zero in some throws.
Where the failures are, at delays <= 150 ms (crash change against psi0 = 0, over b and delay):
- Policy: -1 to +2 through psi0 = 1.00, -4 to +1 at 1.50. The added failures are unsettled.
- Gate: +1 to +4 at 0.50, +18 to +38 at 0.75, +146 to +168 at 1.00, +229 to +273 at 1.50.
- Combined: +2 to +5 at 0.75, +57 to +72 at 1.00, +215 to +225 at 1.50.
The tilt estimate does not stay put. Tilt-estimate error p95 at 8 s, b = 0, 150 ms, by psi0 = 0 ... 1.50: policy 0.005, 0.006, 0.010, 0.021, 0.063, 0.169, 0.979, 1.171, 1.097 rad; gate 0.017, 0.034, 0.316, 0.482, 0.931, 1.214, 1.480, 2.063, 1.995 rad. A heading error that starts with no tilt error ends with one.
Prediction scored.
- Hit: PASS at psi0 <= 0.20. Gate tolerance none. Below 50% at 1.00 and 1.50 (0.0%).
- Miss: tolerance 0.20, not 0.50. At 0.50 the lowest cell is 4 of 300.
- Miss: combined tolerance 0.10, not 0.20.
- Miss, in part: crashes stay within +-2 only for the policy through 1.00. The gate and the combined grid crash.
- Miss: the policy is below the gate in 2 cells with psi0 <= 0.75 (0.50, b = 0, 150 ms: 4 vs 6; 0.75, b = 0.05, 150 ms: 0 vs 1).
- Miss on mechanism: the physics section said heading does not enter the tilt estimate, so tilt and altitude would not depend on it. They do (the tilt p95 above). The linear analysis put the loss of stability near 0.9 rad; the success cliff is at 0.4-0.5, about half that. I first saw the coupling in a test mutant before the run (M3, a sign flip: a 3 s hover from a tumble at effective psi = -0.5 ended with 0.068 rad of tilt error). The registration was not edited.
Attribution (diagnostic, not registered, bin/throw_heading_diag, sha 6dfc582, clean). Same throws and signs, no
estimator: the controller sees the true attitude through a fixed heading error R_z(s psi0) (Attitude::TruthRotated),
so tilt is exact and the heading error neither grows nor drifts. Ideal-state sim with a fixed heading error. psi0 = 0
reproduces E9-sim.
| psi0 (rad) | 0 | 0.30 | 0.50 | 0.75 | 1.00 | 1.50 |
|---|---|---|---|---|---|---|
| ok of 300, 150 ms | 293 | 293 | 291 | 288 | 8 | 0 |
| lowest at 50-150 ms | 293 | 293 | 291 | 288 | 8 | 0 |
The controller alone holds the line through 0.75 rad and fails at 1.00, where the linear analysis put it (about 0.9). With the estimator in the loop the cliff is at 0.4-0.5. So most of the lost tolerance is in the estimator: with a heading error, the position loop's correction goes in a rotated direction, the drone keeps accelerating sideways, and accelerometer samples admitted during that motion pull the tilt estimate off (the tilt p95 above). Not proven: no per-throw trace was inspected, and the policy's 2 s window, after which it is the magnitude gate, was not separated out.
Session 18 (#40). The controls now compute their reference rows at the commit they run on (sim::refrows, the
E9-sim, E9-sim-est, -est2 and -est3 loops) instead of comparing with fixed counts. At e3a8663 (clean)
bin/throw_heading prints what it printed at aa609bb, every line but the provenance line. No line or threshold changed.
E9-sim-detect registration (session 08, committed before any E9-sim-detect code or run)
Question (#23). Every throw so far armed the motors on a timer: "arm delay is an input, not a throw detector" (BUILDLOG,
2026-12-03). Can a release detector built only from the IMU, in murmur-core, replace the timer? Three parts: (a) how
late it fires after true release, (b) whether it fires without a release, and (c) the throw line with it in the loop.
Domain. (a), (b): IMU-model sim, PLACEHOLDER hand model. (c): estimated-attitude, ideal-position sim, PLACEHOLDER hand model, with heading at release set to truth by construction (below).
The detector (D1, IMU only, every number PLACEHOLDER). Armed only while the session-06 HeldTrigger is in held mode
(after an accepted table calibration). It fires when the accelerometer magnitude stays below 0.3 g (2.94 m/s^2) for 100
consecutive 1 kHz samples, and then stays fired (latched). A sample at or above 0.3 g, or any sample while not held, resets
the count. Informational second setting D1-50: the same with 50 samples, for (a) and (b) only.
Hand model (PLACEHOLDER). Session 06's pre-release (table 10 s with the calibration in its last 1 s, pick-up 0.3 s, hold
T_h = 2 s with tremor, residual "cal" from a true bias of 0.2 rad/s), then session 05's wind-up over its full grid:
T_w = 0.15, 0.3, 0.5 s x A = 0.25, 0.5, 1, 2 g x Omega = 0, 4 rad/s (24 wind-ups). Seeds and draw order as in session 06's
bin/held_trigger (IC 42, bias direction 7, hand directions 43, motion 53, pre-release gyro 31 / accel 37; flight 11 / 13).
New: the release itself, a contact force that falls linearly to zero over T_r = 0 or 20 ms (PLACEHOLDER). During it,
the drone sags (acceleration -g t/T_r along world z). It is built backward, like the other phases, so that the state at
contact end is still the E9-sim release state. True release is contact end, and latency is measured from it.
Handling sequences with no release (PLACEHOLDER), for (b). Every one starts with the same table, pick-up and hold.
- Pump fake (24 x 300): the throw's wind-up, then a brake that takes the drone from the release velocity back to rest over T_b = T_w, with acceleration -(pi v0 / 2 T_b) sin(pi tau) and the body rate ramping down to zero. Then a 1 s tremor hold.
- Carry (300): 10 s of walking, a vertical bob of 0.25 g at 2 Hz plus the tremor.
- Set-down (2 x 300): a lowering of zero net velocity over 0.6 s, acceleration -a_d g sin(2 pi tau) along z, with a_d = 0.3 or 0.6 g. Then 1 s still.
- Stress (no line): set-down with a_d = 0.8 and 0.9 g.
Metrics and pass lines.
- (a) Latency from contact end to the sample at which D1 fires, as the time that sample is processed (100 samples of free fall give 100 ms). Reported as p50 / p95 / max over each of the 48 throw conditions (24 wind-ups x 2 T_r). Budget, from the throw line: the timer passes at arm delays <= 150 ms. The BUILDLOG design target puts detection, motor arm and spin-up inside that, so the budget is latency + arm (5 ms, PLACEHOLDER) + spin-up (20 ms, the modelled motor lag) <= 150 ms, which is latency <= 125 ms. The sim already models the spin-up after its arm delay, so this counts the 20 ms twice; I'm keeping the design target's accounting as margin. Pass (a): every release detected after contact end, and the max latency <= 125 ms in every condition. Throws where D1 fired before release are excluded from (a) and counted in (b).
- (b) False triggers. A false trigger is D1 firing in a no-release sequence, or before contact end in a throw sequence (motors armed in the hand). A near miss is a sub-threshold run of at least 50 samples (half of D1) while held that does not fire. Both are counted per condition. Pass (b): zero false triggers in all 8,100 no-release sequences (pump fake, carry, set-down) and all 14,400 throw sequences. The stress set-downs and D1-50 are reported, with no line.
- (c) End to end. Each throw is flown from the pre-release estimator state, with the session-06 throw policy, at
arm delay = latency + 5 ms (the spin-up is the sim's motor lag). An early fire, a missed release (no fire within 1 s) or a
refused calibration counts as a failed throw. Heading at release is set to truth by construction: the release truth is
turned about vertical to the estimate's heading (
heading_aligned, session 06), so the heading error at release is 0 rad, inside the 0.1 rad spec from #20. Tilt and bias are whatever the pre-release left. Pass (c): >= 95% success in every one of the 48 throw conditions.
Controls (VOID before any detector row). C1: truth reproduces E9-sim at 50 / 100 / 150 ms. C2: through the refactored
pre-release path, the condition T_w 0.5, Omega 4, A = 1 and A = 0.25, T_r = 0, flown on the timer without heading alignment,
reproduces session 06's rows "T1 cal 2 tremor" (A 1: tilt p50 / p95 / max 0.002 / 0.005 / 0.006 rad, ok 62 / 61 / 60,
crash 4 / 7 / 12; A 0.25: 0.006 / 0.016 / 0.026, ok 62 / 61 / 60, crash 7 / 7 / 14). These are from bin/held_trigger
rerun at the base 03f1666.
What the physics suggests.
- After release with the motors off, the accelerometer reads only drag and noise. Drag is at most 0.01 x 3 = 0.03 m/s^2, and the noise is 0.05 m/s^2 per axis. Both are far below 2.94, so D1 counts from the first free-flight sample: latency is 100 ms at T_r = 0. With the ramp, the reading crosses 0.3 g at 0.7 T_r, 6 ms before contact end, so latency is 94 ms at T_r = 20 ms. The IMU sits at the centre of mass, so the spin adds nothing (not true on a real board).
- An accelerometer reads near zero whenever the hand accelerates the drone downward at about 1 g. That is free fall as
far as any magnitude test can tell. In this hand model it happens in two ways (idealized, no other terms):
- Swing at A = 1 g within about 15 degrees of vertical (either lobe): below 0.3 g for up to 127 ms at T_w = 0.5 s, 76 ms at 0.3 and 38 ms at 0.15. About 3.4% of directions are within 15 degrees. A = 2 g gives only short crossings (<= 28 ms). A <= 0.5 g never goes below 0.3 g.
- Push straight down (a downward throw) with peak P = pi v0 / (2 T_w g) near 1: below 0.3 g for up to 253 ms (T_w 0.5, v0 3.1 m/s), 152 ms (T_w 0.3, 1.9 m/s) and 76 ms (T_w 0.15, 0.94 m/s). The pump-fake brake does the same for upward throws. Only near-vertical directions (within about 17 degrees) and speeds in a band qualify, so it is rare: about 0.2% of draws at T_w 0.3.
- Set-down: 97 ms at a_d = 0.8 g and 130 ms at 0.9 g. Never at 0.3 or 0.6 g (|f| >= 0.4 g).
- So D1's 100 ms window can't reject every hand motion in this registered range. Making it longer runs out of budget: the vertical A = 1 g swing at T_w 0.5 needs more than 127 ms. Separating the two needs more than accelerometer magnitude. The hand torques the drone, and free flight is torque-free, so the gyro could tell them apart, but that needs the inertia (a PLACEHOLDER), and it is not built. A grip or button input would also work, but that is out of scope, and it is noted on #23 for Scott.
Prediction.
- (a) PASS. Every release is detected. Latency is 100 ms at T_r = 0 and 94 ms at T_r = 20 ms in every condition, within 1 ms. The max is 100 ms.
- (b) FAIL.
- Pump fakes: 10-50 false triggers in 7,200. Most are at A = 1 g, T_w = 0.5 s (about 7 per 300). The rest come from downward pushes and upward brakes at T_w >= 0.3. There are none at T_w = 0.15.
- Throw sequences: 15-80 early fires in 14,400, from the same wind-ups.
- Carry and set-down at 0.3 and 0.6 g: zero, with no near misses.
- Stress: a_d = 0.8 gives 0 fires and near misses in all 300; a_d = 0.9 gives 300 fires.
- D1-50: 3-5 times D1's false-trigger count.
- (c) PASS in all 48 conditions. The lowest are at A = 1 g, T_w = 0.5 s, where early fires cost about 7 throws. The others are within 2 throws of the 100 ms timer rate. This is the soft call: the A = 1, T_w = 0.5 conditions start with a margin of about 10 throws.
- Calibration: session 07's tolerance was off by about a factor of 2.5, optimistic, and session 06 missed. The false-trigger counts are the least certain numbers here. They depend on how often the draws land near vertical, which I estimated, not counted.
E9-sim-detect result (session 08; registration above unchanged)
Run once: cargo run --release -p murmur-sim --bin throw_detect at a597540, tree clean, rustc 1.99.1, release, started
2026-12-04T02:06:16Z, 7.7 s wall. Every hand, IMU, airframe and detector number is PLACEHOLDER. Controls reproduced: C1
truth = E9-sim (ok 299 / 298 / 293, crash 1 / 2 / 7); C2 both session-06 rows (A 1: 0.002 / 0.005 / 0.006 rad, ok 62 / 61 / 60,
crash 4 / 7 / 12; A 0.25: 0.006 / 0.016 / 0.026 rad, ok 62 / 61 / 60, crash 7 / 7 / 14). The calibration was accepted 300 / 300
in all 48 throw conditions.
(a) PASS (IMU-model sim, PLACEHOLDER hand model). Every release was detected (0 missed in 14,356 throws without an early fire). Latency was 100 / 100 / 100 ms (p50 / p95 / max) in every T_r = 0 condition, and 95 / 95 / 95 or 94 / 95 / 95 ms at T_r = 20 ms. The max is 100 ms, against a 125 ms budget.
(b) FAIL (IMU-model sim, PLACEHOLDER hand model). D1 fired 30 times in the 8,100 no-release sequences and 44 times before contact end in the 14,400 throws. Per wind-up (Omega and T_r change no count by more than 2):
| T_w | A (g) | throws: early fires / near misses (per 300) | pump fakes: fired / near misses (per 300) |
|---|---|---|---|
| 0.15 | 0.25 / 0.5 / 1 / 2 | 0 / 1, 0 / 0-1, 0 / 0, 0 / 0 | 0 / 1, 0 / 0, 0 / 0, 0 / 0 |
| 0.3 | 0.25 / 0.5 / 1 / 2 | 0 / 1, 0 / 2, 0 / 12, 0 / 0 | 1 / 1, 1 / 2, 1 / 12, 1 / 0 |
| 0.5 | 0.25 / 0.5 / 1 / 2 | 0 / 0, 0 / 0, 11 / 3-5, 0 / 0 | 0 / 0, 0 / 0, 11 / 5, 0 / 0 |
- Every early fire is at A = 1 g, T_w = 0.5 s: 11 of 300 in each of the 4 conditions. The pump fakes there also fire 11. Their samples are identical to the throws' up to the brake, so a wind-up fire happens in both by construction, and the brake added none.
- The 8 pump-fake fires at T_w = 0.3 are 1 per condition, at every A, so they come from the brake, not the swing. The throws with the same wind-ups do not fire.
- Carry and set-down at a_d = 0.3 and 0.6 g: 0 fires and 0 near misses. The longest sub-threshold run was 0 samples.
- Stress set-down: at a_d = 0.8 g, 0 fires and a near miss in all 300 (longest run 99 samples, one short); at 0.9 g, 300 fires.
- D1-50 (informational): 72 no-release fires and 126 early fires.
(c) PASS (estimated-attitude, ideal-position sim, PLACEHOLDER hand model, heading at release = truth by construction). Success was at least 285 of 300 in all 48 conditions. The lowest are 285 (T_w 0.5, A 1, Omega 4) and 286 (Omega 0), exactly at and one above the 95% line; there, the 11 early fires count as failed throws. Every other condition is 296-298, against 298 for the 100 ms timer with true attitude. Crashes were 2-4 per condition.
Prediction scored.
- (a): hit. PASS; 100 ms at T_r = 0; 94-95 ms at T_r = 20 ms (predicted 94 within 1 ms); max 100.
- (b): FAIL, a hit, and the counts fall inside the predicted ranges: 30 pump-fake fires (10-50) and 44 early fires (15-80). Most were at A = 1, T_w = 0.5, and none were at T_w = 0.15. Carry and gentle set-downs gave 0 with no near misses. The stress rows came out as predicted.
- Miss: about 7 per 300 at A = 1, T_w = 0.5. It was 11.
- Miss: D1-50 at 3-5 times D1. It was 2.7 times (198 vs 74).
- Miss in detail: I put the T_w >= 0.3 extras on downward pushes and upward brakes. Only the brake fired; no throw's push did.
- (c): PASS, a hit, and the lowest conditions are where I said. But I put the margin at about 10 throws, and it was 0 and 1. The soft call held by one throw.
E9-sim-detect2 registration (session 09, committed before any E9-sim-detect2 code or run)
Question (#23, way out 1). D1 cannot tell free fall from a hand that accelerates the drone downward at about 1 g: E9-sim-detect (b) failed with 30 no-release fires and 44 early fires. Free flight with the motors off is torque-free and a hand is not. Does adding a gyro test of that (D2) remove the false triggers without costing latency or the throw line? IMU only. A new input (grip, button: way out 3 on #23) stays Scott's call.
Domain. As E9-sim-detect. (a), (b): IMU-model sim, PLACEHOLDER hand model. (c): estimated-attitude, ideal-position sim,
PLACEHOLDER hand model, heading at release = truth by construction (heading_aligned).
The detector D2 (IMU only, every number PLACEHOLDER). D1's magnitude run with a torque-free check on the gyro over the same run.
- Inputs per 1 kHz sample: armed (held mode, as D1), the accelerometer, and the bias-corrected gyro (raw minus the calibrated bias, the gyro the estimator uses).
- A sample with |accel| >= 0.3 g, or not armed, resets the run (as D1).
- The first sample of a run sets the prediction w_p = gyro. Each later sample first steps w_p as a torque-free rigid body, w_p <- w_p - dt J^-1 (w_p x J w_p) (explicit Euler, dt = 1 ms, the step the sim plant takes), then compares. If |gyro - w_p| < 0.5 rad/s, the run continues. Otherwise the run restarts at this sample (w_p = gyro, run = 1).
- It fires when the run reaches 100 samples, and latches.
- Detector inertia J = diag(2.4e-5, 2.4e-5, 4.0e-5) kg m^2, micro45's, so in sim the model matches the plant exactly. PLACEHOLDER twice over: the plant's inertia is itself a guess.
- By construction, D2 fires only on a sample where D1's run is at least 100. So D2 cannot fire in a sequence where D1 does not, and it is never earlier than D1 in the same run.
What the physics suggests.
- What a hand looks like. With the motors off, J w' + w x J w = 0 (the sim has no angular drag). A hand changes that by
tau_hand = J (w' - w'_tf). The detector sees it as the gyro leaving the torque-free path, by about |w' - w'_tf| t after t.
At the 0.5 rad/s threshold that takes 62 ms at 8 rad/s^2 and 100 ms at 5.
- micro45 is axisymmetric (Ixx = Iyy). Torque-free motion keeps w_z constant, and w_xy precesses at k w_z, with k = (Izz - Ixx) / Ixx = 0.667. w'_tf is perpendicular to w, with magnitude at most k |w|^2 / 2: 21 rad/s^2 at 8 rad/s, 6.8 at 4.5.
- The PLACEHOLDER wind-up spins the drone up linearly: w = w0 tau + Omega a sin(pi tau), so w' = (w0 + pi Omega cos(pi tau) a) / T_w. At Omega = 0, w' = w0 / T_w lies along w and w'_tf is perpendicular, so |w' - w'_tf| >= |w0| / T_w >= 8 rad/s^2 at T_w = 0.5 s (every |w0| >= 4 rad/s). The residual passes 0.5 rad/s within 62 ms of any start, so no 100-sample run survives. All 22 Omega = 0 early fires go, and so do their 11 pump fakes.
- Pump-fake brake: w = w0 (1 - tau), so w' = -w0 / T_b along w, at least 13 rad/s^2 at T_b = 0.3 s. The 8 brake fires go.
- At Omega = 4 rad/s, the wobble's w' along a (up to 25 rad/s^2 at T_w 0.5) can cancel the spin-up along a. That needs a nearly anti-parallel to w0, around tau* with cos(pi tau*) = |w0| / (4 pi). The A = 1 g swing's near-0 g phase is tau of about 0.12-0.38. tau* falls inside it only for |w0| of about 5.5 rad/s or more, and the perpendicular part keeps the residual under 0.5 only within about 20 degrees of anti-parallel. About 26% of spins are that fast and about 3% of axes that close: roughly 0.8% of draws, or about 0.1 of the 11 draws on which D1 fires. Those draws are shared by both throw T_r and the pump fake.
- Not separable at all: a hand that accelerates the drone without changing its rotation. w = 0, or any torque-free spin, is free flight to a gyro. The set-down has no rotation, so the a_d = 0.9 g stress row should still fire 300 of 300. Whether D2 helps therefore rests on the PLACEHOLDER hand spinning the drone up during its near-0 g phase. New stress row (no line), late spin-up: the A = 1 g, T_w = 0.5 s, Omega = 0 wind-up with the spin-up moved into its last 0.1 s (w = 0 before tau = 0.8, then linear to w0), at T_r = 0. Its accelerometer magnitude stream is identical, so D1 fires on the same 11 draws, and D2 should too.
- Noise. Gyro white noise is 0.05 rad/s per axis per sample. The residual is the difference of two noisy samples (start and now): sigma 0.071 per axis, typically 0.11 rad/s in norm. 0.5 rad/s is 7 sigma per axis, so free fall restarts by noise at about 1e-6 per sample. On the release ramp (T_r = 20 ms) the run starts about 6 samples before contact end, while the hand holds w = w0 (not torque-free). That offset is at most w'_tf x 6 ms <= 0.13 rad/s. So D2's latency should equal D1's.
- Inertia. In sim J is exact. For an axisymmetric body only k matters. A detector k off by dk gives a residual of about
|w_xy| |w_z| dk t <= |w|^2 dk t / 2.
- Izz off by 10% (dk = 0.167): at most 0.53 rad/s at 100 ms for |w| = 8 rad/s in the worst direction, and 0.17 at 4.5.
- An isotropic detector J (no gyroscopic term, dk = 0.667): the residual exceeds 0.5 rad/s at 100 ms when |w|^2 sin(2 phi) > 15, with phi the spin's angle from body z. That is 25% of directions at 4 rad/s and 51% at 4.5, and those releases restart every window and are missed.
- Stress rows (no line), through the same sequences: detector Izz x 0.9, Izz x 1.1, and J isotropic (2.4e-5 per axis).
- Lever arm. A real board's IMU is not at the centre of mass, but the sim's stays there for every registered row.
- An IMU at r reads f_cg + w' x r + w x (w x r). The gyro is unaffected (rigid body).
- In free fall f_cg is about 0, so the accelerometer reads at most (|w'| + |w|^2) |r|: at 8 rad/s, 0.85 m/s^2 at r = 10 mm and 2.55 m/s^2 at 30 mm, against D1's and D2's 2.94 m/s^2.
- Stress rows (no line), after release only: r = 10 and 30 mm in a random body direction per throw (
Rng(73)), for D1 and D2, from the released state. - Not modeled in the hand, where the wobble takes |w| to about 12 rad/s (1.4 m/s^2 of centripetal at 10 mm), and not in (b).
Unchanged from E9-sim-detect. The hand model, sequences, seeds and draw order; the 48 throw conditions and the 8,100 +
stress no-release sequences; the arming, the 5 ms arm and the 125 ms budget; heading_aligned for (c); C1 and C2. New seeds:
D2's gyro after release, Rng(71) (0.05 rad/s white noise plus the calibration residual), and lever-arm directions, Rng(73).
Before release, D2 reads the pre-release gyro stream (seed 31), the same one the estimator reads.
Pass lines (as E9-sim-detect, with D2 in place of D1).
- (a) Every release is detected after contact end, and D2's max latency is <= 125 ms in all 48 throw conditions.
- (b) Zero D2 false triggers in the 8,100 no-release and 14,400 throw sequences.
- (c) >= 95% success in every one of the 48 throw conditions, with D2 setting the arm time.
- The stress rows have no line.
Controls (VOID before any D2 row).
- C1 and C2 as in session 08.
- D1, run in the same binary on the same sequences, reproduces session 08 (run at a597540; rerun identical at 832b6e3):
- (b): 30 false triggers in 8,100, 44 early fires in 14,400, 42 no-release near misses;
- (a): latency p50 / p95 / max 100 / 100 / 100 ms over 14,356 detected releases;
- (c): 14,212 successes over the 48 conditions (lowest 285), 144 crashes.
Prediction.
- (a) PASS. D2's latency equals D1's for every detected throw except at most 3 of 14,400 (noise restarts). Max 100 ms.
- (b) PASS, 0 + 0. The Omega = 0 and brake fires go by the bound above. Softest call: A 1 g, T_w 0.5 s, Omega 4 rad/s, where an anti-parallel wobble can hide the spin-up. I expect 0 there. Anything that does fire will be there, in the same draws for both T_r and the pump fake.
- (c) PASS. Every condition >= 290. A 1 g, T_w 0.5 s rises from 285-286 to >= 294. Every other condition equals D1's.
- Stress:
- set-down: 0.8 g, 0 fires (max run <= 99); 0.9 g, 300 fires;
- late spin-up: D2 early fires = D1's 11, within 1;
- Izz x 0.9 and x 1.1: at most 3 missed per condition, and the rest have max latency <= 125 ms;
- isotropic J: 20-50% of throws missed;
- lever arm: at 10 mm, every latency equals r = 0's; at 30 mm, at most 2 per condition delayed past 100 ms or missed.
- Calibration: sessions 03 and 07 were optimistic by 1.5-2.5x on tolerances; session 08's counts fell inside their ranges. The soft spots here are the Omega = 4 cancellation estimate and the isotropic range.
E9-sim-detect2 result (session 09; registration above unchanged)
Run once: cargo run --release -p murmur-sim --bin throw_detect2 at e364015, tree clean, rustc 1.99.1, release, output file
written 2026-12-04T16:39:11Z (wall time not recorded). Every hand, IMU, airframe and detector number is PLACEHOLDER. Controls
reproduced before any D2 row:
- C1 truth = E9-sim (ok 299 / 298 / 293, crash 1 / 2 / 7).
- C2 both session-06 rows.
- D1 = session 08: 30 false, 44 early, 42 no-release near misses; latency 100 / 100 / 100 ms over 14,356; (c) sum ok 14,212, lowest 285, crashes 144.
The calibration was accepted 300 / 300 in all 48 throw conditions.
(a) PASS (IMU-model sim, PLACEHOLDER hand model). D2 detected every one of the 14,400 releases (D1's 44 early fires included), with 0 missed and 0 early. Latency was 100 / 100 / 100 ms (p50 / p95 / max) over all of them. It differed from D1's in 0 of the throws both detected after release.
(b) PASS (IMU-model sim, PLACEHOLDER hand model). 0 false triggers in the 8,100 no-release sequences and 0 early fires in the 14,400 throws.
- The 44 D1 early fires and the 22 matching pump-fake fires (A 1 g, T_w 0.5 s) are gone.
- The longest D2 run there was 64 samples (Omega 0) and 63 (Omega 4).
- D2 near misses (run >= 50) were 8 / 7 / 1 / 0 in the four throw conditions (Omega 0 T_r 0, Omega 0 T_r 0.02, Omega 4 T_r 0, Omega 4 T_r 0.02), and 8 / 1 in the pump fakes. Every other throw and pump condition had 0.
- The 8 brake fires at T_w 0.3 s are gone (longest run there 33-42).
- Set-down stress: a_d 0.8 g, 0 fires and 300 near misses (longest 99); 0.9 g, 300 fires. This is D1's result, as the physics said: a hand that does not rotate the drone looks like free fall to D2 as well.
(c) PASS (estimated-attitude, ideal-position sim, PLACEHOLDER hand model, heading at release = truth by construction). Every condition had at least 296 of 300. At A 1 g, T_w 0.5 s the four conditions went from 286 / 286 / 285 / 285 to 297 / 297 / 296 / 296. Every other condition equals D1's. Sum ok was 14,256 (D1 14,212), and crashes were 144 in both.
Stress rows (no line).
- Late spin-up (A 1 g, T_w 0.5 s, Omega 0, T_r 0; w = 0 before tau 0.8): D1 fired early 11, D2 7 (near 8, missed 0, latency 100 / 100 / 100).
- Detector inertia:
- Izz x 0.9: missed 0, latency max 194 ms, 120 of 14,400 over 125 ms.
- Izz x 1.1: missed 0, latency max 250 ms, 328 over 125 ms. Filed as #25.
- Isotropic J: 6,736 of 14,400 missed (46.8%; worst condition 142 of 300), p95 513 ms. None fired early or in a no-release sequence.
- Lever arm, after release only:
- 10 mm: D1 and D2 missed 0, latency unchanged in every throw;
- 30 mm: the same.
Diagnosis of the late spin-up miss (scratch copy of the binary with one eprintln, not in the tree; same SHA, same seeds).
D1's 11 early-fire runs in the base condition cover tau 0.128-0.332 in 3 draws and tau 0.600-0.840 in 8.
- The registration put the A = 1 g near-0 g phase at tau 0.12-0.38 only. With an upward swing direction, sin(2 pi tau) < 0 puts it in the second half.
- In the late path the spin-up starts at tau 0.8 (40-80 rad/s^2 over the last 0.1 s), inside those second-half windows. D2 still fired on every run that reached 100 samples by tau 0.824, and on none that needed tau 0.828-0.840 (D2's longest run 88-96).
- So, of the 11: 4 runs (the 3 first-half ones and the one ending at tau 0.798) had no rotation in them, and D2 fired on all 4. 3 caught 6-12 ms of the spin-up (ending at tau 0.812-0.824, 500 samples per wind-up), still under 0.5 rad/s, and D2 fired. The 4 that caught 14-20 ms restarted, and D2 separated them. (Corrected while writing the sessions 08-09 post: this first said that 7 had no rotation.)
Prediction scored.
- (a) Hit. PASS, latency equal to D1's in all but 0 (I allowed 3), max 100 ms.
- (b) Hit. PASS, 0 + 0. Omega 4 held: longest run 63.
- (c) Hit. PASS: lowest 296 (said >= 290); A 1 g, T_w 0.5 s at 296-297 (said >= 294); the others equal to D1's.
- Set-down: hit (0 at 0.8 g with longest 99; 300 at 0.9 g).
- Late spin-up: miss. 7, not 11 within 1. The physics behind it was wrong about where the 0 g phase falls (above). The Omega 4 cancellation estimate used the same wrong window. It came out 0 anyway, but its 0.1-draw figure is not supported.
- Izz x 0.9 / x 1.1: miss. Missed was 0 (said at most 3 per condition), but I also said the rest stay within 125 ms, and 120 and 328 did not. Each restart costs a whole new 100-sample run, so a restart is a delay, not a miss. I predicted misses only. The 2.7 times asymmetry between x 0.9 and x 1.1 is unexplained.
- Isotropic J: hit (46.8%, said 20-50%).
- Lever arm: hit (10 mm identical; 30 mm 0 changed, allowed 2 per condition).
What this does NOT show.
- That a real hand rotates the drone during a near-0 g phase. D2's (b) pass rests on the PLACEHOLDER hand doing so. A hand that pushes down without turning the drone (set-down 0.9 g; the late spin-up's 4 runs with no rotation in them) fires D2 exactly as it fires D1.
- A real inertia. In sim the detector's J is the plant's. A 10% error delays 0.8-2.3% of releases past budget (#25).
- Rotor angular momentum after release, angular drag, gyro scale and misalignment, vibration, and the lever arm before release or in (b).
- Hardware of any kind. No code here arms a motor.
E9-sim-detect3 registration (session 10, committed before any E9-sim-detect3 code or run)
Question (#25). D2 predicts the gyro with the airframe inertia. In E9-sim-detect2, with the detector's Izz off by 10%, nothing was missed, but 120 (x 0.9) and 328 (x 1.1) of 14,400 latencies went past 125 ms (max 194 / 250 ms). micro45's inertia is itself a guess. Can D2 be made robust to an inertia-ratio error of at least 10%, IMU only, and still reject the hand?
Domain. As E9-sim-detect2: (a), (b) IMU-model sim, PLACEHOLDER hand model; (c) estimated-attitude, ideal-position sim,
heading at release = truth by construction (heading_aligned), reported only.
What an inertia error does. micro45 is axisymmetric (Ixx = Iyy).
- Torque-free motion, for any Izz, keeps w_z and |w_xy| constant. w_xy precesses about body z at k w_z, with k = Izz / Ixx - 1 = 0.667.
- A detector whose Izz is s times the truth predicts k' = 1.667 s - 1, so dk = k' - k = 1.667 (s - 1). That is +-0.167 at +-10%, +-0.333 at +-20% and +-0.5 at +-30%. An isotropic J gives k' = 0 (dk = -0.667).
- So the error rotates the prediction about body z by dk w_z t, and changes neither w_z nor |w_xy|.
- Explicit Euler drifts |w_xy| by (k'^2 - k^2) w_z^2 dt^2 / 2 per step, at most 0.02 rad/s over 100 ms.
- Session 09's x 1.1 / x 0.9 asymmetry (unexplained in #25). On the T_r = 20 ms ramp the run starts about 6 samples
before contact end, while the hand holds w0 and nothing precesses. The prediction precesses at k' from the start. The
angle error after release is (k - k') t - 0.006 k (times w_z).
- For k' > k (x 1.1) the two terms add; for k' < k (x 0.9) they partly cancel.
- So the excess at x 1.1 should be in the T_r = 20 ms rows.
- Testable on the D2 control rows split by T_r (no line).
The detector D3 (IMU only, every number PLACEHOLDER). D2, with one change: the comparison.
- The residual is the distance from the gyro to the nearest point of the arc {R_z(theta) w_p : |theta| <= theta_max}.
R_z is a rotation about body z, and theta_max = min(beta |w_p,z| t, pi), where t is the time since the run's first
sample.
- Nearest point: theta = clamp(atan2((w_p x g)_z, w_p,xy . g_xy), +-theta_max).
- That accepts, exactly (not to first order), every precession rate within +-beta of the detector's k' over the run.
- beta = 0.35 covers |dk| <= 0.333 (Izz +-20% at micro45's ratio) with a 5% slope margin.
- Everything else is D2's: 0.5 rad/s, 100 samples, a restart on a break, latched, the bias-corrected gyro, and the detector J = micro45's.
- With beta = 0, D3 does D2's arithmetic exactly; that is a control.
What the physics suggests.
- Inertia error inside the band (|dk| <= beta): absorbed. What is left is D2's own residual at the true inertia: noise,
and the ramp offset at T_r = 20 ms.
- The ramp angle beyond the band is |(k - k') t - 0.006 k| - beta t, at most 0.006 k at the start of the run, at every s in 0.8-1.2. That is 0.13 rad/s at |w_xy| |w_z| = 32, the same as D2 at the true inertia, where D2 had 0 latencies different from D1's.
- So at s = 0.8-1.2, D3's latency should be D2's at s = 1.
- Outside the band (stress).
- s = 0.7 and 1.3 (|dk| = 0.5): the excess slope is 0.15 |w_xy| |w_z|, close to D2's 0.167 at +-10%. So D3 x 0.7 should look like D2 x 0.9, and D3 x 1.3 like D2 x 1.1, the ramp asymmetry included.
- D3 with an isotropic J: excess slope 0.317, like D2 at +-20%.
- D2 at s = 0.8 / 1.2: a restart whenever 0.333 |w_xy| |w_z| t passes about 0.5 rad/s within 100 ms. That needs |w|^2 sin(2 phi) > 30 (phi from body z), so |w| > 5.5 rad/s, which is 27% of draws (|w| = 8 (0.5 + 0.5 min(|N|/3, 1))). Each restarted run crosses again at the same time, so it is a miss, not a delay.
- What D3 gives up in (b). D2 rejects the hand in two ways.
- (1) The hand changes |w| (the wind-up's spin-up along w, the pump fake's brake).
- (2) The hand does not precess, while the prediction precesses at k' |w_xy| |w_z|.
- D3 keeps (1) whole. R_z preserves |w_xy| and w_z, so the residual is at least the change in (|w_xy|, w_z), and at least ||g| - |w_p||. At Omega = 0, T_w = 0.5 s, that is at least 8 rad/s^2 x t, past 0.5 rad/s within 62 ms as for D2. Brakes are at least 13 rad/s^2.
- D3 gives up (2) up to beta. At s = 1 about half remains, (0.667 - 0.35) / 0.667. At s = 1.2 (k' = 1.0), 65% remains. At s = 0.8 (k' = 0.333 < beta), none does.
- So the Omega = 0 and brake cases stay separated by (1).
- Omega = 4 is the soft spot, where the wobble can cancel the spin-up in |w|. Over a 100-sample run in the second-half window (tau about 0.6-0.84) at T_w = 0.5 s, the hand's net change is about 0.2 w0 - 1.5 a. Cancelling it needs the wobble axis a within about 20 degrees of w0 (3% of axes) and |w0| of about 7-8 rad/s (about 4% of draws). Over the 11 draws on which D1 fires there, that is well under 0.1 expected.
- Late spin-up. Before tau = 0.8, w = 0, so the run's prediction starts at w_p of about 0, the arc is a point, and D3 is D2: 7.
- Set-down. There is no rotation: 0.8 g gives 0 fires (longest run 99), 0.9 g gives 300.
- Plant asymmetry (stress, after release only). The true Ixx is 1.1 times micro45's, while the detector stays
axisymmetric at the nominal values.
- w_z drifts as w_z' = 0.06 w_x w_y: at most 0.19 rad/s over 100 ms at |w| = 8.
- w_xy traces an ellipse, with an asymmetric part of at most 0.02 |w_xy| |w_z| t (0.06 rad/s).
- The mean precession shifts by dk = -0.08, which D3's band absorbs and D2's does not.
Unchanged from E9-sim-detect2. The hand model, sequences, seeds and draw order; the 48 throw conditions and 8,100 no-release
sequences plus the stress set-downs and the late spin-up; the arming, the 5 ms arm and the 125 ms budget; the pre-release gyro
(seed 31) and the post-release gyro (Rng(71)) for every detector; C1 and C2. The lever-arm rows are dropped.
Pass lines (D3, beta = 0.35).
- (a) At each detector Izz scale s = 0.8, 0.9, 1.0, 1.1 and 1.2 separately: every release is detected after contact end, and the max latency is <= 125 ms in all 48 throw conditions. This includes D2's 120 and 328 over-budget throws at s = 0.9 and 1.1; their D3 latencies are reported by name.
- (b) At each of those s: zero false triggers in the 8,100 no-release and 14,400 throw sequences.
- (c) is reported at s = 1 with no line. A detector reaches (c) only through its latency.
- The stress rows have no line: s = 0.7, 1.3 and isotropic for D3; D2 at s = 0.8 and 1.2; the plant with Ixx x 1.1 for D2 and D3; D2 at s = 0.9 / 1.1 split by T_r.
Controls (VOID before any D3 row).
- C1, C2 and D1 as in E9-sim-detect2.
- D2 reproduces E9-sim-detect2 (run at e364015):
- at s = 1: 0 + 0, latency 100 / 100 / 100 ms over 14,400, (c) sum ok 14,256, lowest 296, crashes 144, late spin-up 7;
- at s = 0.9 / 1.1: 0 / 0 missed, 120 / 328 over 125 ms, max 194 / 250 ms;
- isotropic: 6,736 missed.
- D3 with beta = 0 at s = 1 equals D2 on every sequence (pre-release fired_at and max run, post-release latency): 0 mismatches.
Prediction.
- (a) PASS at all five s. D3's latency equals D2's at s = 1 in all but at most 3 throws per s; max 100 ms; 0 over 125 ms. D2's 120 / 328 over-budget throws come in at 100 ms (94-95 at T_r = 20 ms).
- (b) PASS at all five, 0 + 0.
- Longest D3 run at A 1 g, T_w 0.5 s: at Omega 0, <= 72 at every s (D2: 64); at Omega 4, <= 95, highest at s = 0.8.
- Softest call: A 1 g, T_w 0.5 s, Omega 4, at s = 0.8. Anything that fires will be there, in the same draw for both T_r and the pump fake.
- (c) at s = 1: equal to D2's (14,256 / 296 / 144).
- Stress:
- late spin-up: 7 at every s;
- set-down: 0.8 g gives 0 fires (longest 99), 0.9 g gives 300;
- D3 x 0.7: 50-150 over budget; x 1.3: 150-400 over budget; missed <= 10 each;
- D3 isotropic: 5-20% missed;
- D2 at s = 0.8 / 1.2: 5-20% missed each;
- plant Ixx x 1.1: D3 at most 10 over budget in all; D2 at s = 1: 0-100 over budget;
- D2 x 1.1's over-budget throws: more at T_r = 20 ms than at T_r = 0. D2 x 0.9's: the reverse. The T_r = 0 counts at x 0.9 and x 1.1 within a factor of 1.5 of each other.
- Calibration: session 09 missed both stress rows that depended on the hand model's timing and on how restarts cost latency. The soft spots here are Omega 4 at s = 0.8 and the stress ranges, which rest on rough estimates of the spin distribution.
E9-sim-detect3 result (session 10; registration above unchanged)
Run once: cargo run --release -p murmur-sim --bin throw_detect3 at 06a57d1, tree clean, rustc 1.99.1, release, started
2026-12-04T17:12:41Z, 14 s wall. Every hand, IMU, airframe and detector number is PLACEHOLDER. Controls reproduced before any
D3 row:
- C1 truth = E9-sim; C2 both session-06 rows.
- D1 = session 08: 30 / 44 / 42; 100 / 100 / 100 ms over 14,356; (c) 14,212 / 285 / 144.
- D2 = session 09:
- at s = 1: 0 + 0; 100 / 100 / 100 ms over 14,400; (c) 14,256 / 296 / 144; late spin-up 7;
- at s = 0.9 / 1.1: 0 / 0 missed, 120 / 328 over 125 ms, max 194 / 250 ms;
- isotropic: 6,736 missed.
- D3 with no band = D2 at s = 1: 0 mismatches over every throw and no-release sequence.
(a) PASS at all five s (IMU-model sim, PLACEHOLDER hand model). At s = 0.8, 0.9, 1.0, 1.1 and 1.2:
- 0 missed of 14,400;
- latency 100 / 100 / 100 ms;
- 0 over 125 ms;
- the outcome differs from D2's at s = 1 in 0 throws.
D2's over-budget throws all came in. At s = 0.9, 120 of 120 were detected at 100 / 100 / 100 ms; at s = 1.1, 328 of 328 at 95 / 100 / 100 ms.
(b) PASS at all five s (IMU-model sim, PLACEHOLDER hand model). 0 false triggers in the 8,100 no-release sequences and 0 early fires in the 14,400 throws, at each s.
- The longest D3 run at A 1 g, T_w 0.5 s (throws and pump fakes), at s = 0.8 / 0.9 / 1.0 / 1.1 / 1.2, was:
- 67 / 67 / 67 / 64 / 64 at Omega 0;
- 67 / 64 / 64 / 64 / 63 at Omega 4.
- D2 at s = 1 had 64 / 63.
- At s = 1, D3's near misses there were 11 / 10 / 2 / 1 in the four throw conditions (D2: 8 / 7 / 1 / 0). Every other throw condition had 0.
- The T_w 0.3 brake pumps' longest runs were 31-43 at every s.
(c) at s = 1, reported (estimated-attitude, ideal-position sim, heading = truth): 14,256 / 296 / 144. This equals D2's in every condition.
Stress rows (no line).
| detector | missed of 14,400 | latency p50 / p95 / max (ms) | over 125 ms |
|---|---|---|---|
| D3 Izz x 0.7 | 0 | 100 / 100 / 197 | 72 |
| D3 Izz x 1.3 | 0 | 100 / 100 / 281 | 224 |
| D3 isotropic J | 784 (5.4%) | 100 / 194 / 888 | 1,616 |
| D2 Izz x 0.8 | 1,040 (7.2%) | 100 / 194 / 760 | 1,752 |
| D2 Izz x 1.2 | 1,144 (7.9%) | 100 / 194 / 750 | 2,592 |
| plant Ixx x 1.1, D2 at s = 1 | 0 | 100 / 100 / 100 | 0 |
| plant Ixx x 1.1, D3 at s = 1 | 0 | 100 / 100 / 100 | 0 |
-
None of these fired early or in a no-release sequence.
-
Late spin-up: early fires were D1 11, every D2 variant 7, and every D3 variant 7.
-
Set-down: 0.8 g gave 0 fires (longest run 99), and 0.9 g gave 300, at every s.
-
D2's over-budget throws, split by T_r:
D2 detector T_r 0 T_r 20 ms Izz x 0.9 120 0 Izz x 1.1 120 208 This is #25's asymmetry: at T_r = 0 the two are equal, and the excess at x 1.1 is the release ramp, as the registration's physics said.
Prediction scored.
- (a) Hit. PASS at all five; latency equal to D2's at s = 1 in every throw (allowed 3 per s); D2's 120 / 328 at 100 ms and 95-100 ms.
- (b) Hit. PASS, 0 + 0 at all five.
- Longest runs: Omega 0 at most 67 (said <= 72); Omega 4 at most 67 (said <= 95), and highest at s = 0.8, as said.
- The Omega 4 soft spot never came near.
- (c) Hit: equal to D2's.
- Stress counts:
- late spin-up 7 at every s: hit;
- set-down: hit;
- D3 x 0.7: 72 over budget (said 50-150), hit;
- D3 x 1.3: 224 (said 150-400), hit;
- D3 isotropic: 5.4% missed (said 5-20%), a hit at the low edge;
- D2 at s = 0.8 / 1.2: 7.2% / 7.9% (said 5-20%), hits;
- plant asymmetry: D3 0 over (said <= 10), D2 0 (said 0-100), hits;
- the T_r split: hit, all three parts.
- Miss, in the mechanism. For D2 at s = 0.8 / 1.2 I wrote that a restarted run "crosses again at the same time, so it is
a miss, not a delay". In fact 1,752 / 2,592 throws were delayed past budget, more than the 1,040 / 1,144 missed.
- A likely cause, not checked: at T_r = 20 ms the first run carries the ramp offset, and a run after a restart is all free flight, so it can complete.
- The counts landed in range anyway.
What this does NOT show.
- A real inertia. The band covers |dk| <= 0.35: Izz within about +-21% at micro45's guessed ratio. It covers the plant asymmetry tried (Ixx x 1.1) but not larger asymmetry. Beyond +-30% the restarts return.
- That the band costs nothing against real hands. D3 forgives a hand that turns the drone's rate about body z by up to 0.35 |w_z| t, i.e. at any precession rate within 0.35 of the detector's. The PLACEHOLDER hand never does that on purpose, so (b) rests, as for D2, on the hand changing |w|. At s = 0.8 the band forgives all of the hand's missing precession, and (b) still passed on |w| alone.
- Rotor momentum after release, gyro scale and misalignment, vibration, a lever arm, real hands, and hardware. No code here arms a motor.
E9-sim-lh registration (session 11, committed before any E9-sim-lh code or run)
Question (#29; #20, #2). Scott decided on #20 that Lighthouse is the heading source. This registration uses a PLACEHOLDER Lighthouse model and a yaw fix fused into the Mahony estimator. Two questions:
- (a) Is the release estimate inside the #20 spec (heading within 0.1 rad, together with tilt within 0.2 rad) across the session 08 hand range?
- (b) Does the throw line hold end to end, with D3 deciding when to arm and heading no longer set by construction?
Domain.
- (a): IMU- and Lighthouse-model sim, PLACEHOLDER hand and Lighthouse models.
- (b): estimated-attitude, ideal-position sim, same models.
- Position is ideal: the controller gets the true position, and the E2 position EKF is not built. The yaw fit fits its own position as a nuisance and does not use the true one.
Lighthouse model (sim; every number PLACEHOLDER).
-
Room. Two base stations at (-1.5, -1.5, 3.0) and (1.5, 1.5, 3.0) m. Each looks at (0, 0, 1.5) with its x axis horizontal. The throw world frame is the Lighthouse frame.
-
Sweeps.
- Each station measures two angles of every photodiode it sees: azimuth atan2(x, z) and elevation atan2(y, z) in its own frame.
- Rate: once every 20 ms (50 Hz). Station 1 is offset by 10 ms.
- Both angles are taken at one instant. LH2's two slanted planes, and the time between them, are not modelled.
- Noise: white, sigma = 5e-4 rad per angle, from its own Rng. It is drawn for every photodiode on every sweep, seen or not.
-
Receiver. 4 photodiodes at the corners of a 30 x 15 mm rectangle in the body xy plane, centred on the body origin (the IMU and centre of mass). All face body +z: sensors on top, #20's grip constraint.
-
Visibility. A station sees a photodiode when all three hold:
- the station is within 70 deg of body +z;
- the photodiode is inside the station's field of view (+-75 deg azimuth, +-55 deg elevation);
- the hand is not covering it.
Not modelled: airframe self-occlusion, reflections, the floor.
-
Hand. While the drone is held (table end to contact end), a fraction f of the photodiodes is covered. f = 0.25: one of the four, chosen per throw from Rng(67).
-
Tumble. No sweep is used for L = 0.3 s after contact end. This stands in for the loss of sync and the sweep skew at up to 8 rad/s, which are not modelled. After that, visibility alone decides.
-
Position before release. Fixed at (0, 0, 1.2) m for the table and the hand; the wind-up's travel is not modelled. After release, the flight's true position.
Table attitude (a change to the session 08 path). Sessions 06-10 built the pre-release backward from the release attitude, so the drone sat on the table at a random attitude, upside down in some throws. With the receiver on top, that alone decides whether the table sees a station. So the table is now level:
- From pick-up on, the session 08 ramp path is unchanged.
- The table attitude is the level attitude closest to the old one (same heading).
- A new 1.0 s turn between table and pick-up takes the drone from there to the old attitude. It rotates about a fixed body axis through the old table's tilt (0-pi rad), with a half-sine rate profile and no acceleration.
- The calibration still uses the table's last 1 s. Every IMU sample from pick-up on is the session 08 sample; the noise draws shift by 1,000 samples.
Baselines on this path are reported (below).
The yaw fix (murmur-core, flight logic; every number PLACEHOLDER). It runs on one station's sweep when that sweep saw at least 3 photodiodes.
- Unknowns. The receiver position p (a nuisance, discarded) and a turn delta of the attitude estimate about world vertical. Tilt comes from the estimate. The photodiode positions are p + R_z(delta) q_est a_i.
- Fit. Gauss-Newton on the angle residuals, at most 12 iterations. It starts from delta = 0, with p at the starting
position (the true position here, used only as the first guess; the fit moves it).
- Converged when |d delta| < 1e-5 rad.
- If that start does not converge, or its chi-square fails the gate, it tries delta = pi/2, pi and -pi/2 and keeps the lowest chi-square.
- Gates.
- Chi-square per residual degree of freedom (2n - 4) at most 9, at the assumed sigma = 5e-4 rad.
- The fit's predicted sd of delta, sigma sqrt((J^T J)^-1)_dd, at most 0.3 rad.
- Fusion. Each accepted fix turns the estimate about world vertical by g delta, with g = 0.05 (q <- R_z(g delta) q).
- This leaves "up" in the body frame unchanged. So the tilt estimate, the accelerometer gate and the policy are untouched.
- The bias estimate is not touched either: there is no yaw integral.
- The fix is used in the pre-release (from t = 0, table included) and in flight, with the same gain.
Conditions.
- Session 08's 48 throw conditions: T_w 0.15, 0.3, 0.5 s x A 0.25, 0.5, 1, 2 g x Omega 0, 4 rad/s x T_r 0, 20 ms. 300 throws each.
- Its draws and seeds: IC 42, bias direction 7, hand 43, motion 53, pre-release 31 / 37, flight 11 / 13, post-release gyro 71. True bias 0.2 rad/s, calibrated.
- New seeds: occlusion 67, boot heading 73, Lighthouse noise 79 (pre-release) and 83 (flight).
- The estimate boots at the true attitude, as in sessions 06-10. Boot heading is a stress row.
Metrics and pass lines.
- (a) Release estimate.
- Heading error at contact end: the angle of the estimate's turn about world vertical away from the truth (the angle
heading_alignedreturns). - Tilt error as before.
- Pass (a): heading p95 <= 0.1 rad and tilt p95 <= 0.2 rad, in every one of the 48 conditions.
- Heading error at contact end: the angle of the estimate's turn about world vertical away from the truth (the angle
- (b) End to end. Each throw is flown from the true release state, with the Lighthouse-fused estimator state and
Lighthouse in flight.
- (b1) D3 at the true inertia (session 10's s = 1) decides the arm time: latency + 5 ms. An early fire, a missed release or a refused calibration counts as a failed throw.
- (b2) The timer, at arm delays 50, 100 and 150 ms.
- Pass (b): >= 95% (285 of 300) in every one of the 48 conditions, for (b1) and at each (b2) delay.
Controls (VOID before any Lighthouse row).
- C1: truth reproduces E9-sim (ok 299 / 298 / 293, crash 1 / 2 / 7).
- C2: session 06's two rows, through the session 08 path, as in sessions 08-10.
- C3, heading by construction on the session 08 path (sum ok / lowest / sum crash):
- D1 (c): 14,212 / 285 / 144 (session 08);
- D3 at s = 1 (c): 14,256 / 296 / 144 (session 10).
- C4, heading by construction, session 07: the policy rows at tilt 0, psi0 = 0, 0.1 and 0.2, b = 0 and 0.05, delays 50-150
ms. Ok and crash as printed by
bin/throw_headingat this session's base, e0317d4 (clean). Ok at 50 / 100 / 150 ms (crash): psi0 0, b 0 and b 0.05: 299 / 298 / 293 (1 / 2 / 7); psi0 0.1, b 0 and b 0.05: 299 / 299 / 293 (1 / 1 / 7); psi0 0.2, b 0: 299 / 297 / 293 (1 / 3 / 7); psi0 0.2, b 0.05: 297 / 293 / 289 (1 / 3 / 7). - C5, identity: the Lighthouse code paths with both stations off reproduce C2 (tilt, ok, crash) exactly.
- C6, independence: in every sequence, D1 and D3 fire on the same sample and have the same longest run with and without Lighthouse. The fix does not touch the detectors' inputs.
Reported with the result (no line).
- On the level-table path: heading by construction with D3 (
heading_aligned, b1 and b2), and Lighthouse off, flown as run. - Per condition:
- fixes accepted on the table, while held, and in flight;
- release heading p50 / p95 / max, and heading error at 8 s;
- for table fixes, the median predicted sd and the RMS of delta minus the true correction.
Stress rows (no line; all 48 conditions; (a) and (b1)).
- Noise sigma x 4 and x 20 (the fit's assumed sigma scaled with it).
- Rectangle / 3 (10 x 5 mm) and x 2 (60 x 30 mm).
- Hand occlusion f = 0, 0.5 and 1.0.
- Tumble dropout L = 1, 2 and 8 s (8 s: no Lighthouse in flight).
- Hold T_h = 10 and 30 s, with f = 0.5.
- Boot heading uniform in (-pi, pi].
- One station (station 1 off).
What the physics suggests.
- One fix.
- Face-on, a turn delta moves photodiode i by rho_i delta across the line of sight. So sd(delta) ~ sigma r / sqrt(sum rho_i^2) = 5e-4 x 2.78 / 0.0335 = 0.041 rad at the hand (r = 2.78 m).
- Obliquity and the position nuisance cost more. Linearized at this geometry (a scratch script, not the sim), the per-fix
sd over yaw is:
- 0.044-0.057 rad at the hand;
- 0.042-0.057 rad at hover;
- 0.063 rad median (max 0.072) with 3 photodiodes.
- It scales with sigma and with 1 / baseline: 0.20 rad at x 4 noise, 0.15 at / 3 baseline, 0.025 at x 2 baseline.
- The filter.
- With gain g per fix, the steady-state heading noise is sd x sqrt(g / (2 - g)) = 0.16 sd: 0.008 rad with 4 photodiodes, 0.010 with 3.
- Time constant 1 / (g x fix rate): 0.2 s at 100 Hz (both stations).
- Bias lag.
- Before calibration, the estimate turns at the vertical part of the 0.2 rad/s bias, which gravity does not see.
- The P-only fix holds that at a lag of 0.2 cos(theta) / (g x 100 Hz) = 0.04 cos(theta) rad. theta is the angle between the bias and the table's vertical; cos(theta) is uniform, so |lag| p95 = 0.038 rad.
- In the hand.
- After calibration, the residual is about 0.0016 rad/s per axis (0.05 / sqrt(1000)).
- Fixes go on in the hand only when a station is within 70 deg of body +z and 3 photodiodes are uncovered. At the hand position, a random attitude sees at least one station 58% of the time (scratch script).
- In the other 42%, the estimate coasts from the turn to release, about 3.8 s. It keeps the table-end lag, 0.04 cos(theta), plus about 0.006 rad of drift.
- Integration does not turn a tilt error into heading, because the truth and the estimate integrate the same body rate. So the wind-up adds only the residual's drift.
- Tilt alias. The fit takes tilt from the estimate.
- A tilt error e moves the photodiodes vertically by up to e rho. Seen obliquely, part of that looks like a turn: the scratch fit gives |delta| up to 0.8 e (median 0.35 e).
- It matters only when fixes arrive with a tilt error: in the hand (tremor tilt p95 <= 0.03 rad, so <= 0.024) and right after release.
- After release.
- The top faces a station once the controller has leveled the drone. The release heading error then decays with tau = 0.2 s.
- Session 07's tolerance (0.2 rad at tilt 0, 0.1 at tilt 0.2) is for a heading error held for the whole flight. A release error <= 0.06 rad that decays should cost nothing.
- Gates. At nominal noise, the chi-square and sd gates should reject almost no table fixes. At sigma x 20, sd ~ 1 rad
0.3, so every fix is rejected.
Prediction.
- Controls C1-C6 reproduce.
- (a) PASS.
- Heading p95 0.03-0.06 rad in every condition, dominated by the table lag in the throws that coast.
- Tilt p95 within 0.001 rad of Lighthouse off on the same path.
- (b) PASS.
- (b1): lowest >= 290 of 300.
- (b2): lowest >= 288 at 150 ms, and within 3 of heading by construction on the same path at each delay.
- Reported rows:
- Heading by construction with D3 on the level-table path: within 3 throws of C3's D3 row in each condition.
- Lighthouse off fails like session 06: release heading p50 0.9-1.7 rad, 10-30% success at 150 ms.
- Table fixes: the RMS of delta minus the true correction is within 15% of the median predicted sd, which is 0.044-0.057 rad.
- Stress:
- sigma x 4: (a) worst p95 0.07-0.11 rad, borderline; (b1) lowest >= 288.
- sigma x 20: every fix is rejected, so it is identical to Lighthouse off.
- Rectangle / 3: worst p95 0.06-0.09 rad. x 2: 0.03-0.05 rad (the lag dominates, so less than linear).
- f = 0: within 0.005 rad of main.
- f = 0.5: no fixes in the hand; worst p95 0.04-0.06 rad.
- f = 1.0: bit-identical to f = 0.5.
- L = 1, 2 and 8 s: (a) identical to main (same pre-release). (b1) within 3 of main at each, 8 s included.
- T_h = 10 s (f = 0.5): worst p95 0.05-0.07 rad.
- T_h = 30 s (f = 0.5): worst p95 0.10-0.15 rad, FAIL in some conditions. The drift is 0.0016 x 32 s = 0.05 rad sd, plus the lag.
- Boot heading uniform: within 0.005 rad of main. It converges on the table in about 1.1 s.
- One station: (a) within 0.01 rad of main; (b1) within 3.
- Calibration:
- Session 10's counts all landed; sessions 06 and 07 missed on mechanism.
- The softest calls here are the hand visibility (the 58% rests on a guessed FOV) and the sigma x 4 row.
E9-sim-lh result (session 11; registration above unchanged)
Run once: cargo run --release -p murmur-sim --bin throw_lh at d00a4e4, tree clean, rustc 1.99.1, release, started
2026-12-04T19:08:36Z, 147 s wall, exit 0. Every hand, IMU, airframe, detector and Lighthouse number is PLACEHOLDER. Position
is ideal. Controls reproduced before any Lighthouse row:
- C1 truth = E9-sim: ok 299 / 298 / 293, crash 1 / 2 / 7.
- C2 both session-06 rows; C5, the Lighthouse paths with both stations off, equal to C2 in tilt, ok and crash.
- C3 on the session 08 path: D1 14,212 / 285 / 144; D3 at s = 1 14,256 / 296 / 144.
- C4 all six session-07 policy rows, as registered.
- C6: 0 mismatches in D1 and D3 (fired_at, longest run) with and without Lighthouse, in every sequence.
(a) PASS (IMU- and Lighthouse-model sim). Over the 48 conditions:
- heading p95 0.032-0.037 rad (p50 0.007-0.011, max 0.057-0.095);
- tilt p95 0.004-0.018 rad;
- the calibration accepted 300 of 300 in every condition.
(b) PASS (estimated-attitude, ideal-position sim).
- (b1) D3-armed: 298 ok, 2 crash, 0 early, 0 missed in every condition. Sum 14,304 ok, 96 crash.
- (b2) timer: ok 299 / 298 / 293 at 50 / 100 / 150 ms (crash 1 / 2 / 7) in every condition. That is C1's truth row.
- Heading at 8 s: p95 0.006-0.007 rad.
Reported (no line).
- Fixes per throw: 1,000 on the table, 152-162 while held, 769 in flight.
- Table fixes: median predicted sd 0.0501-0.0512 rad; the RMS of delta minus the true turn is 0.0508-0.0518 rad, a ratio of 1.011-1.016.
- Heading by construction with D3, level-table path: (b1) 14,256 / 297 / 144; (b2) lowest 299 / 297 / 294. Lighthouse minus it is the same in every condition: (b1) +1; (b2) 0 / +1 / -1 at 50 / 100 / 150 ms. It minus C3's D3 row (session 08 path), per condition: -1 to +1.
- Lighthouse off, level-table path: release heading p50 1.140-1.145 rad; (b1) 58-60 of 300; 150 ms 58. Tilt p95, Lighthouse minus off: 0.0000 rad at most.
Stress rows (no line; all 48 conditions). Worst heading p95 / conditions failing (a) / (b1) lowest, sum ok, sum crash / fixes per throw (table / held / flight) / median predicted table sd.
| row | heading p95 (rad) | fail (a) | (b1) lowest / sum / crash | fixes | sd (rad) |
|---|---|---|---|---|---|
| main | 0.037 | 0 | 298 / 14,304 / 96 | 1000 / 156 / 769 | 0.0501-0.0512 |
| dropout 1, 2, 8 s | = main | 0 | 298 / 14,304 / 96 | ||
| sigma x 4 | 0.282 | 48 | 297 / 14,308 / 92 | 957 / 84 / 714 | 0.1957-0.1983 |
| sigma x 20 | 1.942 | 48 | 68 / 3,720 / 374 | 6 / 1 / 6 | 0.2687-0.2714 |
| rectangle / 3 | 0.210 | 48 | 297 / 14,300 / 100 | 997 / 122 / 766 | 0.1498-0.1520 |
| rectangle x 2 | 0.021 | 0 | 298 / 14,304 / 96 | 1000 / 156 / 769 | 0.0249-0.0257 |
| cover f 0 | 0.029 | 0 | 298 / 14,304 / 96 | 1000 / 157 / 769 | |
| cover f 0.5 | 0.048 | 0 | 298 / 14,304 / 96 | 1000 / 0 / 769 | |
| cover f 1.0 | 0.048 | 0 | 298 / 14,304 / 96 | 1000 / 0 / 769 | |
| hold 10 s, f 0.5 | 0.063 | 0 | 298 / 14,304 / 96 | 1000 / 0 / 769 | |
| hold 30 s, f 0.5 | 0.120 | 48 | 298 / 14,304 / 96 | 1000 / 0 / 769 | |
| boot heading U(-pi, pi] | 0.037 | 0 | 298 / 14,304 / 96 | 1000 / 156 / 769 | |
| one station | 0.045 | 0 | 298 / 14,305 / 95 | 500 / 80 / 384 |
Worst tilt p95 is 0.017-0.018 rad in every row. No row had an early fire or a missed release.
In-flight Lighthouse changed nothing measurable here: dropout 8 s (no Lighthouse in flight) equals main in every printed number. The throws already succeed on the release estimate.
Prediction scored.
- Controls: hit, all six.
- (a) Hit: PASS, heading p95 0.032-0.037 (said 0.03-0.06). Tilt within 0.001 of Lighthouse off: hit (0.0000). That the table lag dominates was not checked.
- (b) Hit: PASS. (b1) lowest 298 (said >= 290); (b2) 293 at 150 ms (said >= 288), within 1 of heading by construction at each delay (said 3).
- Reported rows: by construction on the level path within 3 of C3's D3 (-1 to 1), hit. Lighthouse off p50 1.14 rad and 58 of 300 (19%) at 150 ms (said 0.9-1.7 rad, 10-30%), hit. Table RMS / predicted sd 1.011-1.016 with sd 0.050-0.051 (said within 15%, 0.044-0.057), hit.
- Stress, hits: f 0.5 (no fixes in the hand, 0.048); f 1.0 equal to f 0.5 in every printed number (bit identity not checked); dropout rows; T_h 10 s (0.063); boot heading (= main); one station (0.045, 298); sigma x 4's (b1) (297).
- Miss: sigma x 4. Worst p95 0.282 rad, FAIL in all 48 (said 0.07-0.11, borderline). The per-fix sd landed (0.196-0.198, said 0.20). The filter's 0.16 x sd would give about 0.03 rad of noise, so the shortfall is not the per-fix scatter.
- Miss: rectangle / 3. 0.210 rad, FAIL in all 48 (said 0.06-0.09). Its per-fix sd landed too (0.150-0.152, said 0.15).
- Miss: sigma x 20. Not identical to Lighthouse off: about 6 table fixes per throw passed both gates, with a median predicted sd of 0.27 rad, not the 1 rad I said every fix would have. (b1) lowest 68, against Lighthouse off's 58-60.
- Miss: rectangle x 2. 0.021 rad (said 0.03-0.05, "the lag dominates"). Main falls to 0.021 when the baseline doubles, so per-fix noise is a larger part of main than I said.
- Miss: f 0. 0.029 rad, 0.008 from main (said within 0.005).
- Half miss: T_h 30 s. 0.120 rad, in the range, but FAIL in all 48, not "some".
- Calibration: I named sigma x 4 as the softest call; it missed by a factor of 3. The hand-visibility guess (58%) was not measured directly.
After the run (unregistered diagnostic, not a result; #30).
- A fit whose inverse failed got sd 0 and passed both gates (
inv.max(0.0)); some fits put the receiver tens of millions of metres away. - Rejecting those and gating the fitted position (variant B, scratch) moves sigma x 4 to 0.182 and rectangle / 3 to 0.192. Both still fail (a).
- The rest of the sigma x 4 miss is a per-pose bias. At a fixed pose with one photodiode covered, the mean fix error reaches 0.256 rad (p90 0.117) over 40 poses, so the filter converges onto it while the drone is held. Nominal: 0.006 at most.
- The mechanism is a hypothesis, not checked: nonlinearity, and selection by the sd gate on a fitted range correlated with delta.
- The registered result above stands at d00a4e4.
E9-sim-lh2 registration (session 13, committed before any E9-sim-lh2 code or run)
Question (#30; #29). Session 11's yaw fix passed (a) and (b), and missed three stress rows: sigma x 4 (worst heading p95 0.282 rad), rectangle / 3 (0.210) and sigma x 20 (1.942, not equal to Lighthouse off). #30 names two defects. This registration fixes each, keeps session 11's lines, and asks:
- Do (a) and (b) still pass at nominal noise?
- Do sigma x 4 and rectangle / 3 come inside (a)'s spec? If not, how far does the fixed fit go, and what limits it?
- Is sigma x 20 identical to Lighthouse off?
Domain. As E9-sim-lh: (a) IMU- and Lighthouse-model sim, (b) estimated-attitude, ideal-position sim. Every hand, Lighthouse, IMU, airframe and detector number is PLACEHOLDER. The fit's start position is the true position (ideal position); the fit still fits its own position.
Diagnostics behind this registration (unregistered, session 11's fit, not results). Scratch worktree at d4be959 with a scratch patch, rustc 1.99.1, release. Sources go on #30.
-
In the throw (throw_lh's draws and seeds, pre-release only), the sigma x 4 error is born in the hand. Heading error p95 over all throws: 0.068 rad at table end, 0.136 after the turn and pick-up, 0.241 at the end of the hold. The per-throw mean error of the hold's fixes has |p95| 0.412 rad (main: 0.023). Rectangle / 3: 0.059, 0.102, 0.194; hold mean 0.320. The harness reproduces the registered worst p95 (main 0.037, sigma x 4 0.282, rectangle / 3 0.210).
-
At a fixed pose (uniform random attitude at the hand position, estimate = truth, 1,000 sweeps, 300 poses), |per-pose mean turn| p95, under three acceptance rules on the same fixes:
case as built no sd gate, failed inverse rejected that, plus fitted position within 1 m nominal, 4 photodiodes 0.005 0.005 0.005 nominal, 3 photodiodes 0.008 0.008 0.007 sigma x 4, 4 photodiodes 0.389 0.033 0.024 sigma x 4, 3 photodiodes 0.642 0.094 0.064 rectangle / 3, 4 photodiodes 0.170 0.020 0.019 rectangle / 3, 3 photodiodes 0.387 0.038 0.040 -
Linearized at the truth (J^T J from the fit's own normal equations; not the sim), the predicted sd of the turn at nominal noise: level table p50 0.0507 rad (max 0.0566); hand, uniform attitude, 4 photodiodes p50 0.066 (p90 0.100), 3 photodiodes p50 0.081 (p90 0.137, max 0.210). Range sd p50 0.13-0.17 m.
The physics.
- Defect 1, the gate.
sd = sigma sqrt(max(inv, 0)): a failed inverse gives sd 0 and passes the sd gate, and nothing checks the fitted position. At sigma x 20, fits 3.7e7 m away were accepted (#30). - Defect 2, the bias: selection by the sd gate. The gate is evaluated at the fitted point. The predicted sd there depends on the fitted range and turn: a noise draw that fits the receiver nearer, or turned more face-on, predicts a smaller sd. Where a pose's sd is near the 0.3 rad gate, the gate keeps a one-sided subset of the draws, and its mean is not the truth. The hand holds the pose for 2 s, five to ten time constants of the fusion (0.2-0.4 s with one or two stations), so the estimate converges onto that mean. The table above shows it: removing the gate takes sigma x 4, 3 photodiodes, from 0.642 to 0.094. At nominal the gate does not bind (sd about 0.05-0.08 against 0.3), so nominal is unchanged.
- Rectangle / 3 is sigma x 3. The fit sees the angles in units of the receiver's angular size, so the per-fix sd scales with m = (sigma / 5e-4) x (30 mm / baseline). Session 11's per-fix sd (0.150 against 0.197) and its misses (0.210 against 0.282) both have the ratio 3 : 4.
- What is left once the selection is gone.
- Nonlinearity: a bias of order sd^2. Sigma x 4, 3 photodiodes: p95 0.064 rad (max 0.155) in the table above.
- The fusion's noise floor: per-fix sd x sqrt(g / (2 - g)) = 0.16 sd at g = 0.05. At m = 4, hand sweeps (3 photodiodes, f = 0.25) have sd about 0.25-0.3, so the floor is about 0.04-0.05 rad and its p95 alone is about 0.08-0.09. This is the session 11 prediction for sigma x 4 (0.07-0.11, borderline), which assumed an unbiased fit.
- Where the fixed fit stops. The prior-point sd gate (below) passes a sweep while m x sd_nominal <= 0.3.
- 3-photodiode hand sweeps: 94%, 72%, 39%, 12% and 0% pass at m = 2, 3, 4, 5 and 6.
- The level table (4 photodiodes, sd p10 0.044, max 0.057): all pass up to m = 5, 46% (by heading) at m = 6, none at m = 8.
- Past m = 6 the fit is silent and the estimator is Lighthouse off by construction. A table that does not pass the gate gets no fixes, and its heading carries the 10 s of uncalibrated bias drift (Lighthouse off: release p50 1.14 rad).
- At m = 20 no geometry can pass: the face-on bound is 0.041 rad at the hand, x 20 = 0.8.
The fixed fit (murmur-core, flight logic; a new function; session 11's yaw_fix is unchanged and is the control).
Same receiver model, the same 4 unknowns, the same Gauss-Newton, starts and convergence test. The gates, in order:
- At least 3 photodiodes (as before).
- Prior sd (new, for defect 2). sigma sqrt((J^T J)^-1)_dd evaluated at the prior point: the start position p0 and the estimate's heading (turn 0), with the photodiodes this sweep saw. It must be finite, positive and <= 0.3 rad. It uses the geometry and the estimate, not this sweep's angles, so it cannot select on this sweep's error.
- Converged, chi-square per degree of freedom <= 9 (as before; the multi-start rule unchanged).
- Inverse at the solution (new, defect 1). (J^T J)^-1_dd at the fitted point finite and positive; otherwise the fit failed.
- Position (new, defect 1). The fitted position within 1 m of p0 (PLACEHOLDER; about 6 range sd at nominal). At m = 4 it is about 1.5 range sd and trims the draws: in the table above it lowered the bias.
Fusion unchanged: q <- R_z(g delta) q, g = 0.05, before release and in flight. The sd reported for a fix is the prior-point sd.
Rows. Session 11's 48 conditions, draws, seeds and path, with the fixed fit before release and in flight:
- Main (cover f 0.25, dropout 0.3 s): (a), (b1), (b2), the dropout rows and the reported baselines, as in E9-sim-lh.
- All 11 of session 11's stress rows.
- New stress rows: m = 2, 3, 5, 6 and 8 by noise (sigma and the fit's assumed sigma scaled together).
Pass lines.
- (a) and (b), main grid: session 11's lines, unchanged. (a) heading p95 <= 0.1 rad and tilt p95 <= 0.2 rad in all 48; (b) >= 285 of 300 in all 48, (b1) and each (b2) delay.
- Spec rows: sigma x 4 and rectangle / 3 each meet (a)'s line in all 48 conditions. Each is scored PASS or FAIL. A FAIL is answered by the limit statement above, checked against the m rows.
- Sigma x 20: 0 fixes accepted (table, held and flight). In every condition, each throw's release heading and tilt are bit-equal to Lighthouse off on the same path, and (b1) ok and crash are equal.
Controls (VOID before any fixed-fit row).
- C1-C6 as in E9-sim-lh.
- C7: session 11's fit reproduces E9-sim-lh: main worst heading p95 0.037, (b1) sum ok 14,304, crash 96; sigma x 4: 0.282, 14,308, 92; sigma x 20: 1.942, 3,720, 374; rectangle / 3: 0.210, 14,300, 100.
Reported with the result (no line). For each row:
- the rejects before release by gate (too few, prior sd, no fit, chi-square, inverse, position);
- fixes per throw (table, held, flight);
- heading p95 at table end and at the end of the hold.
Prediction.
- Controls C1-C7 reproduce.
- Main, (a) PASS: worst heading p95 0.034-0.040 rad, within 0.003 of session 11 per condition. (b) PASS: (b1) lowest >= 297, (b2) as session 11 within 2.
- Rejects at nominal: at most 1 in 1,000 sweeps by the inverse or position gates.
- Sigma x 4: (a) PASS, worst heading p95 0.07-0.10 rad, borderline, and the softest call. (b1) lowest >= 290.
- Rectangle / 3: (a) PASS, 0.05-0.08.
- Sigma x 20: 0 fixes, bit-equal to Lighthouse off, (b1) lowest 58-60.
- m rows, worst heading p95:
- m = 2: 0.04-0.06, PASS;
- m = 3: 0.05-0.08, PASS, within 0.01 of rectangle / 3;
- m = 5: 0.09-0.13, FAIL in some conditions;
- m = 6: FAIL in all 48, worst p95 > 1 rad (the tables that do not pass the gate);
- m = 8: equal to Lighthouse off in every printed number, at most a few fixes in all.
- The other stress rows: within 0.005 rad of session 11 (rectangle x 2, the f rows, the hold rows, boot heading, one station, the dropout rows). Hold 30 s still fails: it is drift, not the fit.
- Calibration: the softest calls are sigma x 4 (the floor sits at the line) and m = 5.
E9-sim-lh2 result (session 13; registration above unchanged)
Run once: cargo run --release -p murmur-sim --bin throw_lh2 at 0ebe283, tree clean, rustc 1.99.1, release. It finished at
2026-12-04T21:42:20Z after about 249 s (the binary before it in the run ended at 21:38:11Z), exit 0. It was not a separate
command: my identity script runs every binary at the new commit, and that now includes throw_lh2, so this is the first and
only run of the registered binary. Every hand, IMU, airframe, detector and Lighthouse number is PLACEHOLDER. Position is
ideal. Controls reproduced before any gated-fit row:
- C1-C6 as in E9-sim-lh (C6: 0 mismatches under the gated fit).
- C7: session 11's fit gave main 0.037 / 14,304 / 96, sigma x 4 0.282 / 14,308 / 92, sigma x 20 1.942 / 3,720 / 374, and rectangle / 3 0.210 / 14,300 / 100: E9-sim-lh's numbers.
(a) PASS (IMU- and Lighthouse-model sim). Heading p95 0.031-0.037 rad, tilt p95 0.004-0.018, the calibration 300 of 300, in all 48. Gated minus session 11's fit, per condition: heading p95 -0.0015 to +0.0005 rad.
(b) PASS (estimated-attitude, ideal-position sim). (b1) 298 ok, 2 crash, 0 early, 0 missed in every condition (sum 14,304 / 96, as session 11). (b2) lowest 299 / 298 / 293. Heading at 8 s p95 0.006-0.007.
Spec rows: sigma x 4 PASS, rectangle / 3 PASS.
| row | worst heading p95 (rad) | fail (a) | (b1) lowest / sum / crash | fixes table / held / flight | rejects per 1,000 sweeps: prior sd / position |
|---|---|---|---|---|---|
| main | 0.037 | 0 | 298 / 14,304 / 96 | 1000 / 156 / 769 | 0.0 / 0.0 |
| sigma x 4 | 0.081 (session 11: 0.282) | 0 | 298 / 14,306 / 94 | 920 / 76 / 695 | 50.0 / 68.0 |
| rectangle / 3 | 0.077 (0.210) | 0 | 298 / 14,304 / 96 | 965 / 116 / 744 | 21.9 / 29.6 |
Sigma x 20 = Lighthouse off: PASS. 0 fixes accepted, and 0 conditions differ from Lighthouse off in release heading, tilt (bit for bit, every throw) or (b1). Worst heading p95 1.915 rad; (b1) lowest 58, sum 2,864.
How far the fixed fit goes (m rows, no line). m = (sigma / 5e-4) x (30 mm / baseline).
| m | worst heading p95 (rad) | fail (a) | (b1) lowest / sum | fixes table / held / flight | heading p95 at table end / hold end |
|---|---|---|---|---|---|
| 1 (main) | 0.037 | 0 | 298 / 14,304 | 1000 / 156 / 769 | 0.045 / 0.041 |
| 2 | 0.074 | 0 | 298 / 14,304 | 996 / 145 / 767 | 0.052 / 0.072 |
| 3 | 0.078 | 0 | 298 / 14,304 | 968 / 118 / 745 | 0.061 / 0.076 |
| 3 (rectangle / 3) | 0.077 | 0 | 298 / 14,304 | 965 / 116 / 744 | 0.061 / 0.078 |
| 4 | 0.081 | 0 | 298 / 14,306 | 920 / 76 / 695 | 0.070 / 0.085 |
| 5 | 0.089 | 0 | 298 / 14,324 | 867 / 23 / 655 | 0.079 / 0.086 |
| 6 | 1.531 | 48 | 295 / 14,222 | 338 / 0 / 379 | 1.536 / 1.531 |
| 8 | 1.915 | 48 | 96 / 4,737 | 0 / 0 / 32 | 1.909 / 1.915 |
| 20 | 1.915 | 48 | 58 / 2,864 | 0 / 0 / 0 | 1.909 / 1.915 |
- (a) holds to m = 5 and fails at m = 6, where the level table passes the prior gate in only some headings (338 table fixes per throw, against 1,000).
- From m = 2 to 5 the worst p95 barely moves (0.074-0.089); it does not grow with m. A hypothesis, not checked: the gate caps the accepted per-fix sd at 0.3 rad, so above m = 2 the worst accepted hand fixes are about equally poor at every m, and they set the p95.
- In flight the drone is nearer the stations than the hand, so flight fixes pass the gate at m = 8 (32 per throw), and at m = 6 they turn a release heading p95 of 1.53 rad into (b1) 295 of 300. Session 11 saw no in-flight effect because its release heading was already good.
The other stress rows equal session 11's in worst heading p95 and (b1): rectangle x 2 0.021, cover f 0 0.029, f 0.5 and 1.0 0.048, hold 10 s 0.063, hold 30 s 0.120 (fail in all 48: drift, not the fit), boot heading 0.037, one station 0.045 (b1 298 / 14,305 / 95), the dropout rows 298 / 14,304 / 96. Worst tilt p95 0.017-0.018 in every row; no early fire or missed release in any row.
Rejects at nominal (main, per 1,000 sweeps before release): too few 151.3, prior sd 0.0, no fit 0.3, chi-square 0.0, inverse 0.0, position 0.0. Table fixes: median prior-point sd 0.0497-0.0513 rad against an RMS error of 0.0508-0.0518, a ratio of 1.007-1.025.
Prediction scored.
- Controls C1-C7: hit.
- Main: hit. (a) worst 0.037 (said 0.034-0.040, within 0.003 of session 11: -0.0015 to +0.0005). (b1) 298 (said >= 297); (b2) as session 11.
- Rejects at nominal by the inverse or position gates: 0.0 per 1,000 (said at most 1). Hit.
- Sigma x 4: PASS at 0.081 (said 0.07-0.10, borderline). Hit. (b1) 298 (said >= 290). Hit.
- Rectangle / 3: PASS at 0.077 (said 0.05-0.08). Hit.
- Sigma x 20: 0 fixes, bit-equal to off, (b1) lowest 58. Hit.
- m = 3: 0.078, within 0.001 of rectangle / 3. Hit. m = 6: FAIL in all 48, worst > 1 rad. Hit.
- Miss: m = 2. 0.074 (said 0.04-0.06). It sits near m = 3-5, not halfway to main.
- Miss: m = 5. PASS in all 48 at 0.089 (said 0.09-0.13, FAIL in some). I scaled the floor with m; the p95 stayed flat.
- Miss: m = 8. Not equal to off: 32 flight fixes per throw and (b1) 96 against off's 58. My limit statement used the hand's geometry and forgot that the drone flies nearer the stations.
- The other stress rows within 0.005 of session 11: hit (all equal).
- Calibration: I named sigma x 4 and m = 5 the softest calls. Sigma x 4 landed; m = 5 missed in direction.
What #30 asked, answered. Both defects are fixed in yaw_fix_gated, and the misses they caused are gone: sigma x 4
and rectangle / 3 are inside the spec, and sigma x 20 is Lighthouse off. With the registered gain and gates, the fit holds
(a) up to m = 5 and stops at m = 6. Above m = 2, the worst p95 tracks the 0.3 rad gate, not the noise (unchecked). Further
reach would need a different fusion gain or gate, which is a new registration.
E9-sim-sens registration (session 14, committed before any E9-sim-sens code or run)
Question (#34). E9-sim-lh2's throw line passes on PLACEHOLDER parameters. Which of those guesses could break it? Each is varied alone, the rest nominal, with the gated Lighthouse fit and D3 on. The result is a ranked "measure these first" list for the bench kit (#34).
Domain. (a) IMU- and Lighthouse-model sim; (b1) estimated-attitude, ideal-position sim. Every number is PLACEHOLDER, including the plausible ranges below, which are my estimates, not measurements or datasheet values I checked. Truth varies; the firmware does not. The controller, mixer, estimator, calibration, D3 and the fit keep their nominal parameters, including micro45's mass and inertia and the fit's assumed sigma. This is the situation on the first hardware: unmeasured truth against fixed firmware.
Base. E9-sim-lh2's main row (bin/throw_lh2 at 0ebe283): the 48 conditions, 300 throws each, its draws, seeds and
path; cover f 0.25, dropout 0.3 s, hold 2 s, the gated fit before release and in flight; (b1) D3-armed at latency + 5 ms.
Metric (per row).
- H = worst release heading p95 over the 48 conditions; T = worst tilt p95; B = lowest (b1) ok of 300 over the 48.
- The line is E9-sim-lh2's (a) and (b1): H <= 0.1 rad, T <= 0.2 rad, B >= 285.
- Margin M = min(1 - H / 0.1, 1 - T / 0.2, 1 - (300 - B) / 15). Each term is the fraction of that line's room left; M < 0 fails a line. Nominal: H 0.037, T 0.018, B 298, so M0 = 0.63, set by heading.
Ranking (per parameter).
- M is linear-interpolated between adjacent swept values, nominal included. Every parameter's sweep includes both ends of its plausible range.
- F = the fraction of the plausible range (linear in the swept unit) where the interpolated M < 0. This is the chance the line fails if the true value is uniform over my range.
- Rank by F, descending. Ties (F = 0) are ranked by M_plaus ascending, where M_plaus = the lowest M at a swept value inside the plausible range (nominal included).
- Reported for each parameter: F, M_plaus, M_all (the lowest over everything swept) and the break values (the interpolated M = 0 crossings).
- "Measure these first" is every parameter with F > 0, then those with M_plaus < 0.3 (more than half the nominal margin eaten).
Parameters, swept values and plausible ranges (truth only; nominal in brackets):
| # | parameter | nominal | swept | plausible | why that range |
|---|---|---|---|---|---|
| 1 | gyro white noise, motors off (pre-release, D3 after release), rad/s per 1 kHz sample | 0.05 | 0.003, 0.01, 0.025, 0.075, 0.1, 0.15 | 0.003-0.05 | a still MEMS gyro is well under 0.05; nominal is the pessimistic end |
| 2 | accelerometer white noise, motors off, m/s^2 | 0.05 | 0.01, 0.1, 0.2, 0.5 | 0.01-0.1 | still sensor, no vibration |
| 3 | gyro bias magnitude (calibrated), rad/s | 0.2 | 0.01, 0.05, 0.4, 0.8 | 0.01-0.2 | turn-on bias; nominal is the pessimistic end |
| 4 | accelerometer bias magnitude (new; constant, body frame, direction per throw from Rng(89)), m/s^2 | 0 | 0.1, 0.25, 0.4, 0.5, 0.6, 1.0 | 0-0.6 | an uncalibrated consumer part's offset |
| 5 | gyro white noise, motors on (flight), rad/s | 0.05 | 0.01, 0.1, 0.2, 0.3, 0.5 | 0.01-0.3 | prop vibration |
| 6 | accelerometer white noise, motors on (flight), m/s^2 | 0.05 | 0.2, 0.5, 1, 2, 4 | 0.05-2 | prop vibration, up to about 0.2 g |
| 7 | plant Izz / Ixx (Izz varies) | 1.667 | 1.0, 1.2, 1.4, 1.9, 2.0, 2.2, 2.5 | 1.2-2.0 | a flat X frame is about 2; a battery and boards stacked on it lower it |
| 8 | plant inertia, all axes, x | 1 | 0.5, 0.6, 0.8, 1.25, 1.6, 2.0 | 0.6-1.6 | never weighed or swung |
| 9 | plant mass, x (max thrust fixed) | 1 | 0.8, 0.9, 1.15, 1.3, 1.5 | 0.9-1.3 | builds come in heavy |
| 10 | plant max thrust per motor, x | 1 | 0.7, 0.8, 1.2 | 0.8-1.2 | prop, motor and battery sag |
| 11 | plant motor time constant, s | 0.02 | 0.01, 0.03, 0.04, 0.05, 0.08 | 0.01-0.05 | small brushed and brushless motors |
| 12 | arm latency, detection to first motor command (ESC start included), ms | 5 | 20, 50, 80, 100, 120, 150, 200 | 5-150 | from motors that are stopped in the hand: a brushed motor starts at once, and a sensorless brushless start can take 100 ms or more |
| 13 | plant linear drag, x | 1 (0.01 /s) | 0, 10, 30 | 0-30 | rotor drag is not modelled |
| 14 | plant yaw torque coefficient, x | 1 | 0.5, 2 | 0.5-2 | prop choice |
| 15 | true sweep noise, x (the fit still assumes 5e-4 rad) | 1 | 0.2, 0.5, 2, 3, 4, 6 | 0.2-4 | unknown |
| 16 | receiver baseline, x (a design value: truth and fit both) | 1 (30 x 15 mm) | 0.5, 1/3, 1/5, 1/6, 2 | 1/3-2 | 10-60 mm fits a 45 g frame |
| 17 | photodiode field of view, half-angle from body +z, deg | 70 | 45, 50, 55, 60, 80 | 45-80 | the part and its window are not chosen |
| 18 | one station's sweep period, ms | 20 | 30, 40, 60 | 20-40 | unknown |
| 19 | hand cover fraction f | 0.25 | 0, 0.5, 0.75, 1.0 | 0-0.5 | a grip on the sides |
| 20 | Lighthouse dropout after release, s | 0.3 | 0.1, 1, 2, 8 | 0.1-2 | sync loss in the tumble |
| 21 | station field of view, x | 1 | 0.7, 0.85 | 0.85-1 | a product value |
| 22 | time on the table, s | 10 | 1.5, 3, 30 | 1.5-30 | |
| 23 | hold, s | 2 | 0.5, 5, 10, 30 | 0.5-10 | |
| 24 | tremor rate amplitude, x | 1 (0.5 rad/s, 8 Hz) | 0, 0.5, 2, 4 | 0.5-2 | |
| 25 | tremor acceleration, x | 1 (0.05 g) | 0, 0.5, 2, 4 | 0.5-2 | |
| 26 | sway in the hold, g (1 Hz, horizontal) | 0 | 0.05, 0.1, 0.15, 0.2 | 0-0.15 | 0.15 g at 1 Hz is about 4 cm |
| 27 | throw spin, max, rad/s | 8 | 4, 12, 16 | 4-12 | |
| 28 | throw speed, max, m/s | 3 | 1, 4, 5, 6 | 1-5 | |
| 29 | wind-up amplitude grid A, x | 1 (0.25-2 g) | 1.5, 2 | 1-2 | |
| 30 | wind-up wobble grid Omega, x | 1 (0, 4 rad/s) | 2, 3 | 1-2 | |
| 31 | release ramp grid T_r, x | 1 (0, 20 ms) | 2.5, 5 | 1-2.5 | |
| 32 | wind-up time grid T_w, x | 1 (0.15-0.5 s) | 0.67, 0.33 | 0.67-1 |
Plumbing (sim only).
simulategains a plant / model split: the plant (dynamics, specific force) is varied, and the model (position controller, rate controller, mixer, hover thrust) stays micro45.- An accelerometer bias is added to the pre-release, flight and post-release (D3) streams.
- The existing functions delegate with plant = model and zero bias. Every existing binary's output must be unchanged.
- Motors off and on: the pre-release and D3 streams use rows 1-2; flight uses rows 5-6.
Excluded, and why.
- Firmware choices (gains, gates, thresholds, calibration and D3 parameters, the fit's gain and gates): they are designs, not measurements.
- Station placement and the room: an installation choice. Row 17's break depends on it.
- LH2's slanted planes and timing, and sync loss: not modelled. Position: ideal, since E2 is not built.
- Release height and setpoint: test design. Arm length and IMU lever arm: a ruler measures them. Tremor and sway frequencies: amplitudes only.
Controls (VOID before any sweep row).
- C1: the nominal row = E9-sim-lh2 main: worst heading p95 0.037, (b1) lowest 298, sum 14,304, crash 96.
- C2: baseline / 3 = E9-sim-lh2 rectangle / 3: 0.077, 14,304, 96.
- C3: cover f 0.5 = E9-sim-lh2's f 0.5: 0.048, 14,304, 96.
- C4: every existing binary's output equals 0f7b131's apart from provenance (the identity diff).
- C5: every plant-only row (7-14 and flight noise 5-6) gives each throw's release heading and tilt bit-equal to nominal. The pre-release does not see the plant.
Reported with the result. Per row: H, T, B, (b1) sum ok and crash, calibration refusals, early fires, missed, fixes per throw, and whether (a) is bit-equal to nominal. Per parameter: F, M_plaus, M_all, the breaks. A tornado figure of M over each parameter's plausible range, if at least one M_plaus differs from M0 by more than 0.1. Every value also goes in a table.
What the physics suggests (the predictions).
- Arm latency (12). The total arm delay is D3's latency (100 ms) + this. E9-sim truth gives 293 of 300 at 150 ms and 283 at 200 ms. So the break is at 80-100 ms, inside 5-150: F 0.3-0.45. Rank 1.
- Accelerometer bias (4).
- The calibration refuses a table window when | |mean a| - g | > 0.05 g = 0.49 m/s^2. On the level table that is |b_z| > 0.49, a fraction 1 - 0.49 / |b| of uniform directions.
- So 0 refused up to 0.49; 2% (6 throws) at 0.5; 18% at 0.6; 51% at 1.0. Break 0.51-0.53, F 0.1-0.15.
- Before that, tilt p95 is about |b| / g (at most 0.06). Heading gains the fit's tilt alias, +0.01-0.03.
- Rank 2 or 3.
- Photodiode field of view (17). The level table on its 1.2 m stand sees both stations 49.7 deg from body +z. Below that the table gets no fix, and its 10 s of uncalibrated drift reach release (Lighthouse off: about 1.1 rad). Break between 45 and 50 deg, F 0.1-0.14, H > 1 rad at 45. Rank 2 or 3.
- Sway (26). Session 06 saw release tilt p95 up to 0.163 rad at 0.15 g (longer holds, no Lighthouse). In a 2 s hold, tilt p95 is 0.05-0.10 at 0.15 g, and the tilt alias carries it into heading: H 0.07-0.12. F 0-0.2. Rank 4.
- Rank 5-7, F 0-0.1:
- motor time constant (11): the rate loop crosses over near 25 rad/s, and a 0.05 s lag puts a pole at 20; B 280-292 at 0.05;
- true sweep noise (15): the chi-square gate passes about 60% at x 3 and 35-45% at x 4, and the prior gate no longer caps per-fix noise; H 0.09-0.13 at x 4;
- throw speed (28): B 285-292 at 5 m/s, FAIL at 6.
- Everything else F = 0.
- Gyro noise off (1) breaks only above the plausible range: the calibration refuses std > 0.10, so about half the windows at 0.1 and all at 0.15.
- Izz / Ixx (7): M_plaus 0.3-0.6. D3's band covers 1.32-2.02; outside it, latency grows on the spinning throws (session 10: 72 and 224 of 14,400 over 125 ms at detector Izz x 0.7 and x 1.3).
- Mass (9): B 290-296 at x 1.3, 275-290 at x 1.5. Hold (23): H 0.07-0.11 at 30 s, 0.04-0.06 at 10 s.
- Within 0.01 of M0: rows 2, 3, 5, 6, 8, 10, 13, 14, 18-22, 24, 25, 27, 29, 30, 32.
- Rows 31 (T_r x 5: B 285-292) and 16 match E9-sim-lh2's m rows (/ 3: 0.077, / 5: 0.089, / 6: about 1.5).
- Rows bit-equal to nominal in (a): 5-14 (C5), 20.
- Predicted "measure these first": motor start latency, the accelerometer bias (with the calibration's 0.05 g check), the photodiode FOV (with the station placement), hand sway.
E9-sim-sens result (session 14; registration above unchanged)
Run once: cargo run --release -p murmur-sim --bin throw_sens at a2423a8, tree clean, rustc 1.99.1, release. It started at
2026-12-04T22:37:42Z and took 1,020 s, exit 0. Every parameter and plausible range is PLACEHOLDER. Truth varies and the
firmware is nominal; position is ideal. The tables below are the run's output, turned into Markdown by a script
(the only edit: 0.3333333333333333 and 0.16666666666666666 are written 0.333 and 0.167).
Controls, before any sweep row.
- C1: nominal = E9-sim-lh2 main (0.037, 298, 14,304 / 96).
- C2: baseline / 3 = rectangle / 3 (0.077, 298, 14,304 / 96).
- C3: cover f 0.5 (0.048, 298, 14,304 / 96).
- C4: the identity diff at 71a3ada, provenance aside. The 15 simulation binaries, murmur-sim and its CSVs equal 0ebe283's outputs (no simulation source changed between 0ebe283 and 0f7b131), and fig's 16 files equal 0f7b131's.
- C5: every plant-only row's (a) is bit-equal to nominal.
Ranking (domain: (a) IMU- and Lighthouse-model sim, (b1) estimated-attitude, ideal-position sim; M0 = 0.631):
| rank | parameter | plausible | F | M_plaus / highest in range | M_all | breaks (M = 0) |
|---|---|---|---|---|---|---|
| 1 | #12 arm latency (ms) | 5-150 | 0.391 | -2.133 / 0.631 | -5.667 | 93.333 |
| 2 | #15 true sweep noise, x (fit assumes 5e-4) | 0.2-4 | 0.375 | -0.680 / 0.867 | -2.948 | 2.575 |
| 3 | #9 plant mass, x (thrust fixed) | 0.9-1.3 | 0.364 | -19.000 / 0.631 | -19.000 | 1.155 |
| 4 | #4 accel bias (m/s^2) | 0-0.6 | 0.162 | -4.400 / 0.631 | -15.600 | 0.503 |
| 5 | #17 photodiode field of view (deg) | 45-80 | 0.138 | -16.454 / 0.633 | -16.454 | 49.815 |
| 6 | #16 receiver baseline, x (design) | 0.333-2 | 0.000 | 0.229 / 0.792 | -14.360 | 0.200 |
| 7 | #26 sway in the hold (g) | 0-0.15 | 0.000 | 0.375 / 0.631 | 0.375 | - |
| 8 | #8 plant inertia, x | 0.6-1.6 | 0.000 | 0.400 / 0.631 | 0.067 | - |
| 9 | #22 time on the table (s) | 1.5-30 | 0.000 | 0.456 / 0.685 | 0.456 | - |
| 10 | #10 plant max thrust, x | 0.8-1.2 | 0.000 | 0.467 / 0.631 | -0.533 | 0.753 |
| 11 | #19 hand cover fraction f | 0-0.5 | 0.000 | 0.524 / 0.706 | 0.524 | - |
| 12 | #28 throw speed max (m/s) | 1-5 | 0.000 | 0.533 / 0.631 | 0.267 | - |
| 13 | #23 hold (s) | 0.5-10 | 0.000 | 0.548 / 0.631 | 0.080 | - |
| 14 | #18 sweep period (ms) | 20-40 | 0.000 | 0.552 / 0.666 | 0.487 | - |
| 15 | #11 plant motor time constant (s) | 0.01-0.05 | 0.000 | 0.600 / 0.631 | -19.000 | 0.051 |
| 16 | #27 throw spin max (rad/s) | 4-12 | 0.000 | 0.600 / 0.631 | 0.600 | - |
| 17 | #24 tremor rate, x | 0.5-2 | 0.000 | 0.602 / 0.631 | 0.602 | - |
| 18 | #3 gyro bias, calibrated (rad/s) | 0.01-0.2 | 0.000 | 0.603 / 0.636 | 0.173 | - |
| 19 | #31 release ramp grid, x | 1-2.5 | 0.000 | 0.612 / 0.631 | 0.612 | - |
| 20 | #32 wind-up time grid, x | 0.67-1 | 0.000 | 0.614 / 0.631 | 0.614 | - |
| 21 | #25 tremor acceleration, x | 0.5-2 | 0.000 | 0.618 / 0.631 | 0.542 | - |
| 22 | #30 wind-up wobble grid, x | 1-2 | 0.000 | 0.621 / 0.631 | 0.621 | - |
| 23 | #1 gyro noise, motors off (rad/s) | 0.003-0.05 | 0.000 | 0.629 / 0.635 | -19.000 | 0.076 |
| 24 | #2 accel noise, motors off (m/s^2) | 0.01-0.1 | 0.000 | 0.630 / 0.632 | 0.602 | - |
| 25 | #29 wind-up amplitude grid, x | 1-2 | 0.000 | 0.631 / 0.635 | 0.631 | - |
| 26 | #7 plant Izz / Ixx | 1.2-2 | 0.000 | 0.631 / 0.631 | -4.800 | 1.116, 2.235 |
| 27 | #5 gyro noise, motors on (rad/s) | 0.01-0.3 | 0.000 | 0.631 / 0.631 | 0.631 | - |
| 28 | #6 accel noise, motors on (m/s^2) | 0.05-2 | 0.000 | 0.631 / 0.631 | 0.631 | - |
| 29 | #13 plant drag, x | 0-30 | 0.000 | 0.631 / 0.631 | 0.631 | - |
| 30 | #14 plant yaw coefficient, x | 0.5-2 | 0.000 | 0.631 / 0.631 | 0.631 | - |
| 31 | #20 Lighthouse dropout after release (s) | 0.1-2 | 0.000 | 0.631 / 0.631 | 0.631 | - |
| 32 | #21 station field of view, x | 0.85-1 | 0.000 | 0.631 / 0.631 | 0.631 | - |
Measure these first (F > 0): arm latency, the true sweep noise (against the fit's assumed sigma), plant mass, accelerometer bias, photodiode field of view. Then (F = 0, M_plaus < 0.3): receiver baseline (a design value).
Every row (H, T: worst release heading and tilt p95 over the 48 conditions, rad; B: lowest (b1) of 300):
| parameter | value | H (rad) | T (rad) | B | (b1) sum ok / crash | refused / early / missed | fixes table / held / flight | M | (a) = nominal |
|---|---|---|---|---|---|---|---|---|---|
| nominal | - | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | - |
| #1 gyro noise, motors off (rad/s) | 0.003 | 0.037 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.633 | no |
| #1 gyro noise, motors off (rad/s) | 0.01 | 0.036 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.635 | no |
| #1 gyro noise, motors off (rad/s) | 0.025 | 0.037 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.629 | no |
| #1 gyro noise, motors off (rad/s) | 0.075 | 0.039 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.614 | no |
| #1 gyro noise, motors off (rad/s) | 0.1 | 0.302 | 0.259 | 0 | 0 / 0 | 14400 / 0 / 14400 | 1000 / 156 / 0 | -19.000 | no |
| #1 gyro noise, motors off (rad/s) | 0.15 | 0.301 | 0.259 | 0 | 0 / 0 | 14400 / 0 / 14400 | 1000 / 156 / 0 | -19.000 | no |
| #2 accel noise, motors off (m/s^2) | 0.01 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.630 | no |
| #2 accel noise, motors off (m/s^2) | 0.1 | 0.037 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.632 | no |
| #2 accel noise, motors off (m/s^2) | 0.2 | 0.040 | 0.015 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.602 | no |
| #2 accel noise, motors off (m/s^2) | 0.5 | 0.040 | 0.011 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.605 | no |
| #3 gyro bias, calibrated (rad/s) | 0.01 | 0.040 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.603 | no |
| #3 gyro bias, calibrated (rad/s) | 0.05 | 0.036 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.636 | no |
| #3 gyro bias, calibrated (rad/s) | 0.4 | 0.040 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.603 | no |
| #3 gyro bias, calibrated (rad/s) | 0.8 | 0.083 | 0.138 | 298 | 14305 / 95 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.173 | no |
| #4 accel bias (m/s^2) | 0.1 | 0.040 | 0.020 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.600 | no |
| #4 accel bias (m/s^2) | 0.25 | 0.048 | 0.035 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.519 | no |
| #4 accel bias (m/s^2) | 0.4 | 0.061 | 0.052 | 296 | 14279 / 100 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.392 | no |
| #4 accel bias (m/s^2) | 0.5 | 0.072 | 0.064 | 287 | 13925 / 96 | 192 / 0 / 192 | 1000 / 156 / 758 | 0.133 | no |
| #4 accel bias (m/s^2) | 0.6 | 0.128 | 0.138 | 219 | 10686 / 48 | 2832 / 0 / 2832 | 1000 / 156 / 617 | -4.400 | no |
| #4 accel bias (m/s^2) | 1 | 0.227 | 0.285 | 51 | 2770 / 48 | 7392 / 0 / 7392 | 1000 / 155 / 374 | -15.600 | no |
| #5 gyro noise, motors on (rad/s) | 0.01 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #5 gyro noise, motors on (rad/s) | 0.1 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #5 gyro noise, motors on (rad/s) | 0.2 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #5 gyro noise, motors on (rad/s) | 0.3 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #5 gyro noise, motors on (rad/s) | 0.5 | 0.037 | 0.018 | 295 | 14198 / 100 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #6 accel noise, motors on (m/s^2) | 0.2 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #6 accel noise, motors on (m/s^2) | 0.5 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #6 accel noise, motors on (m/s^2) | 1 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #6 accel noise, motors on (m/s^2) | 2 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #6 accel noise, motors on (m/s^2) | 4 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #7 plant Izz / Ixx | 1 | 0.037 | 0.018 | 272 | 13108 / 492 | 0 / 0 / 800 | 1000 / 156 / 725 | -0.867 | yes |
| #7 plant Izz / Ixx | 1.2 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #7 plant Izz / Ixx | 1.4 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #7 plant Izz / Ixx | 1.9 | 0.037 | 0.018 | 297 | 14284 / 116 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #7 plant Izz / Ixx | 2 | 0.037 | 0.018 | 297 | 14276 / 124 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #7 plant Izz / Ixx | 2.2 | 0.037 | 0.018 | 296 | 14232 / 168 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #7 plant Izz / Ixx | 2.5 | 0.037 | 0.018 | 213 | 10417 / 799 | 0 / 0 / 3184 | 1000 / 156 / 597 | -4.800 | yes |
| #8 plant inertia, x | 0.5 | 0.037 | 0.018 | 300 | 14400 / 0 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #8 plant inertia, x | 0.6 | 0.037 | 0.018 | 299 | 14376 / 24 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #8 plant inertia, x | 0.8 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #8 plant inertia, x | 1.25 | 0.037 | 0.018 | 295 | 14184 / 216 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #8 plant inertia, x | 1.6 | 0.037 | 0.018 | 291 | 14028 / 372 | 0 / 0 / 0 | 1000 / 156 / 767 | 0.400 | yes |
| #8 plant inertia, x | 2 | 0.037 | 0.018 | 286 | 13823 / 577 | 0 / 0 / 0 | 1000 / 156 / 765 | 0.067 | yes |
| #9 plant mass, x (thrust fixed) | 0.8 | 0.037 | 0.018 | 300 | 14400 / 0 | 0 / 0 / 0 | 1000 / 156 / 767 | 0.631 | yes |
| #9 plant mass, x (thrust fixed) | 0.9 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #9 plant mass, x (thrust fixed) | 1.15 | 0.037 | 0.018 | 294 | 14152 / 248 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.600 | yes |
| #9 plant mass, x (thrust fixed) | 1.3 | 0.037 | 0.018 | 0 | 0 / 384 | 0 / 0 / 0 | 1000 / 156 / 769 | -19.000 | yes |
| #9 plant mass, x (thrust fixed) | 1.5 | 0.037 | 0.018 | 0 | 0 / 988 | 0 / 0 / 0 | 1000 / 156 / 769 | -19.000 | yes |
| #10 plant max thrust, x | 0.7 | 0.037 | 0.018 | 277 | 13350 / 913 | 0 / 0 / 0 | 1000 / 156 / 763 | -0.533 | yes |
| #10 plant max thrust, x | 0.8 | 0.037 | 0.018 | 292 | 14047 / 353 | 0 / 0 / 0 | 1000 / 156 / 767 | 0.467 | yes |
| #10 plant max thrust, x | 1.2 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #11 plant motor time constant (s) | 0.01 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #11 plant motor time constant (s) | 0.03 | 0.037 | 0.018 | 295 | 14196 / 204 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #11 plant motor time constant (s) | 0.04 | 0.037 | 0.018 | 295 | 14160 / 240 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #11 plant motor time constant (s) | 0.05 | 0.037 | 0.018 | 294 | 14112 / 288 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.600 | yes |
| #11 plant motor time constant (s) | 0.08 | 0.037 | 0.018 | 0 | 0 / 14400 | 0 / 0 / 0 | 1000 / 156 / 418 | -19.000 | yes |
| #12 arm latency (ms) | 20 | 0.037 | 0.018 | 295 | 14184 / 216 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #12 arm latency (ms) | 50 | 0.037 | 0.018 | 293 | 14064 / 336 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.533 | yes |
| #12 arm latency (ms) | 80 | 0.037 | 0.018 | 289 | 13950 / 450 | 0 / 0 / 0 | 1000 / 156 / 766 | 0.267 | yes |
| #12 arm latency (ms) | 100 | 0.037 | 0.018 | 283 | 13608 / 792 | 0 / 0 / 0 | 1000 / 156 / 766 | -0.133 | yes |
| #12 arm latency (ms) | 120 | 0.037 | 0.018 | 276 | 13250 / 1150 | 0 / 0 / 0 | 1000 / 156 / 765 | -0.600 | yes |
| #12 arm latency (ms) | 150 | 0.037 | 0.018 | 253 | 12367 / 2033 | 0 / 0 / 0 | 1000 / 156 / 763 | -2.133 | yes |
| #12 arm latency (ms) | 200 | 0.037 | 0.018 | 200 | 9780 / 4620 | 0 / 0 / 0 | 1000 / 156 / 760 | -5.667 | yes |
| #13 plant drag, x | 0 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #13 plant drag, x | 10 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #13 plant drag, x | 30 | 0.037 | 0.018 | 299 | 14376 / 24 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #14 plant yaw coefficient, x | 0.5 | 0.037 | 0.018 | 296 | 14216 / 184 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #14 plant yaw coefficient, x | 2 | 0.037 | 0.018 | 299 | 14352 / 48 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #15 true sweep noise, x (fit assumes 5e-4) | 0.2 | 0.012 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 157 / 769 | 0.867 | no |
| #15 true sweep noise, x (fit assumes 5e-4) | 0.5 | 0.021 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 157 / 769 | 0.792 | no |
| #15 true sweep noise, x (fit assumes 5e-4) | 2 | 0.078 | 0.018 | 297 | 14296 / 104 | 0 / 0 / 0 | 944 / 132 / 721 | 0.224 | no |
| #15 true sweep noise, x (fit assumes 5e-4) | 3 | 0.117 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 587 / 89 / 455 | -0.166 | no |
| #15 true sweep noise, x (fit assumes 5e-4) | 4 | 0.168 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 267 / 57 / 211 | -0.680 | no |
| #15 true sweep noise, x (fit assumes 5e-4) | 6 | 0.395 | 0.018 | 298 | 14337 / 63 | 0 / 0 / 0 | 75 / 23 / 62 | -2.948 | no |
| #16 receiver baseline, x (design) | 0.167 | 1.536 | 0.018 | 294 | 14218 / 128 | 0 / 0 / 0 | 330 / 0 / 361 | -14.360 | no |
| #16 receiver baseline, x (design) | 0.2 | 0.090 | 0.018 | 298 | 14321 / 79 | 0 / 0 / 0 | 844 / 22 / 638 | 0.103 | no |
| #16 receiver baseline, x (design) | 0.333 | 0.077 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 965 / 116 / 744 | 0.229 | no |
| #16 receiver baseline, x (design) | 0.5 | 0.072 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 996 / 144 / 767 | 0.279 | no |
| #16 receiver baseline, x (design) | 2 | 0.021 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.792 | no |
| #17 photodiode field of view (deg) | 45 | 1.745 | 0.018 | 256 | 12606 / 94 | 0 / 0 / 0 | 0 / 62 / 22 | -16.454 | no |
| #17 photodiode field of view (deg) | 50 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 88 / 46 | 0.633 | no |
| #17 photodiode field of view (deg) | 55 | 0.040 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 111 / 500 | 0.604 | no |
| #17 photodiode field of view (deg) | 60 | 0.039 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 127 / 757 | 0.613 | no |
| #17 photodiode field of view (deg) | 80 | 0.040 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 185 / 770 | 0.604 | no |
| #18 sweep period (ms) | 30 | 0.033 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 667 / 104 / 513 | 0.666 | no |
| #18 sweep period (ms) | 40 | 0.045 | 0.018 | 298 | 14309 / 91 | 0 / 0 / 0 | 500 / 78 / 384 | 0.552 | no |
| #18 sweep period (ms) | 60 | 0.051 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 334 / 52 / 256 | 0.487 | no |
| #19 hand cover fraction f | 0 | 0.029 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 157 / 769 | 0.706 | no |
| #19 hand cover fraction f | 0.5 | 0.048 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 0 / 769 | 0.524 | no |
| #19 hand cover fraction f | 0.75 | 0.048 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 0 / 769 | 0.524 | no |
| #19 hand cover fraction f | 1 | 0.048 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 0 / 769 | 0.524 | no |
| #20 Lighthouse dropout after release (s) | 0.1 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 778 | 0.631 | yes |
| #20 Lighthouse dropout after release (s) | 1 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 700 | 0.631 | yes |
| #20 Lighthouse dropout after release (s) | 2 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 600 | 0.631 | yes |
| #20 Lighthouse dropout after release (s) | 8 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 0 | 0.631 | yes |
| #21 station field of view, x | 0.7 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 768 | 0.631 | yes |
| #21 station field of view, x | 0.85 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | yes |
| #22 time on the table (s) | 1.5 | 0.054 | 0.019 | 298 | 14316 / 84 | 0 / 0 / 0 | 150 / 156 / 769 | 0.456 | no |
| #22 time on the table (s) | 3 | 0.045 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 300 / 156 / 769 | 0.549 | no |
| #22 time on the table (s) | 30 | 0.032 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 3000 / 156 / 769 | 0.685 | no |
| #23 hold (s) | 0.5 | 0.038 | 0.016 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 105 / 769 | 0.624 | no |
| #23 hold (s) | 5 | 0.040 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 258 / 769 | 0.602 | no |
| #23 hold (s) | 10 | 0.045 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 428 / 769 | 0.548 | no |
| #23 hold (s) | 30 | 0.092 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 1107 / 769 | 0.080 | no |
| #24 tremor rate, x | 0 | 0.039 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.608 | no |
| #24 tremor rate, x | 0.5 | 0.040 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.603 | no |
| #24 tremor rate, x | 2 | 0.040 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.602 | no |
| #24 tremor rate, x | 4 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.630 | no |
| #25 tremor acceleration, x | 0 | 0.037 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | no |
| #25 tremor acceleration, x | 0.5 | 0.037 | 0.017 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.628 | no |
| #25 tremor acceleration, x | 2 | 0.038 | 0.029 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.618 | no |
| #25 tremor acceleration, x | 4 | 0.046 | 0.054 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.542 | no |
| #26 sway in the hold (g) | 0.05 | 0.040 | 0.028 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.601 | no |
| #26 sway in the hold (g) | 0.1 | 0.056 | 0.040 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.442 | no |
| #26 sway in the hold (g) | 0.15 | 0.062 | 0.055 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.375 | no |
| #26 sway in the hold (g) | 0.2 | 0.041 | 0.022 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.593 | no |
| #27 throw spin max (rad/s) | 4 | 0.039 | 0.018 | 294 | 14300 / 92 | 0 / 8 / 0 | 1000 / 159 / 768 | 0.600 | no |
| #27 throw spin max (rad/s) | 12 | 0.039 | 0.017 | 298 | 14328 / 72 | 0 / 0 / 0 | 1000 / 153 / 769 | 0.611 | no |
| #27 throw spin max (rad/s) | 16 | 0.038 | 0.017 | 296 | 14208 / 192 | 0 / 0 / 0 | 1000 / 151 / 769 | 0.618 | no |
| #28 throw speed max (m/s) | 1 | 0.039 | 0.015 | 300 | 14400 / 0 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.608 | no |
| #28 throw speed max (m/s) | 4 | 0.039 | 0.017 | 294 | 14136 / 264 | 0 / 0 / 0 | 1000 / 156 / 767 | 0.600 | no |
| #28 throw speed max (m/s) | 5 | 0.037 | 0.016 | 293 | 14088 / 312 | 0 / 0 / 0 | 1000 / 156 / 765 | 0.533 | no |
| #28 throw speed max (m/s) | 6 | 0.039 | 0.015 | 289 | 13936 / 384 | 0 / 0 / 0 | 1000 / 156 / 760 | 0.267 | no |
| #29 wind-up amplitude grid, x | 1.5 | 0.037 | 0.011 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.631 | no |
| #29 wind-up amplitude grid, x | 2 | 0.037 | 0.008 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.635 | no |
| #30 wind-up wobble grid, x | 2 | 0.038 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 155 / 769 | 0.621 | no |
| #30 wind-up wobble grid, x | 3 | 0.036 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.636 | no |
| #31 release ramp grid, x | 2.5 | 0.039 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.612 | no |
| #31 release ramp grid, x | 5 | 0.037 | 0.018 | 298 | 14304 / 96 | 0 / 0 / 0 | 1000 / 156 / 769 | 0.630 | no |
| #32 wind-up time grid, x | 0.67 | 0.039 | 0.011 | 298 | 14304 / 96 | 0 / 0 / 0 | 1002 / 154 / 769 | 0.614 | no |
| #32 wind-up time grid, x | 0.33 | 0.038 | 0.006 | 298 | 14304 / 96 | 0 / 0 / 0 | 1004 / 153 / 769 | 0.616 | no |
What the top five are.
- Arm latency (12): D3's latency plus this is the arm delay, and recovery falls with it as in E9-sim. B is 289 at 80 ms and 283 at 100 ms, so the break is 93 ms. A motor that starts from a stop in 100 ms or more breaks the line.
- True sweep noise (15): the fit keeps assuming 5e-4 rad, so the prior-point gate, which caps per-fix noise only when the assumed sigma is right, lets noisier fixes in. H grows roughly in proportion (0.021, 0.037, 0.078, 0.117, 0.168 at x 0.5-4) and breaks at x 2.6. Compare E9-sim-lh2's m rows, where the fit's sigma was scaled with the noise: flat at 0.074-0.089 up to m = 5. So the measured sigma has to go into the fit.
- Plant mass (9), not predicted. The position controller's hover thrust uses the firmware's mass, so a plant k times
heavier needs a_z = (k - 1) g from the loop.
- The P term alone gives that at an error of (k - 1) g / kp_z = 1.23 (k - 1) m. The integrator only runs within
0.3 m of the setpoint (
i_zone), so for k above 1.245 it never starts, and the drone hovers short of the setpoint. - At x 1.3: 0 of 300 recovered in every condition, and only 384 of the 14,400 throws crashed. The rest end more than 0.10 m RMS from the setpoint.
- The registered interpolation puts the break at 1.155 (F 0.364). The physics says 1.245, which was not swept, and F 0.14. An analysis after the run, not a result. A scale settles it, and the integrator is a finding (filed).
- The P term alone gives that at an error of (k - 1) g / kp_z = 1.23 (k - 1) m. The integrator only runs within
0.3 m of the setpoint (
- Accelerometer bias (4): as predicted, through the calibration's 0.05 g check on the level table.
- Refused: 192, 2,832 and 7,392 of 14,400 at 0.5, 0.6 and 1.0 m/s^2 (predicted 2%, 18%, 51%).
- Break 0.503 m/s^2. Before it, tilt p95 reaches 0.064 and heading 0.072.
- Photodiode field of view (17): the level table sees the stations 49.7 deg from body +z. At 45 deg the table gets 0 fixes and H is 1.745 rad. Break 49.8 deg. It depends on where the stations are.
Also found (no line).
- Gyro noise, motors off (1): the calibration refuses every table at 0.1 rad/s (its 0.10 std check), break 0.076. That is outside my range for a still gyro, and it is the calibration's threshold sitting at 2x the assumed noise.
- Izz / Ixx (7) has no effect in 1.2-2.0. It breaks at 1.116 and 2.235, where D3 misses releases (800 and 3,184 missed of 14,400 at 1.0 and 2.5).
- Motor time constant (11): 294 at 0.05 s, every throw crashes at 0.08 (break 0.051).
- Sway (26) is not monotonic: H 0.062 at 0.15 g, 0.041 at 0.2 g. Likely the held policy rejecting the larger sway (not checked).
- Flight noise (5, 6): B moves only at gyro 0.5 rad/s (295). A diagnostic after the run (unregistered, scratch code, one flight) confirmed the flight accelerometer noise reaches the estimator: tilt error at the end 0.0047 to 0.033 rad from 0.05 to 4 m/s^2, position RMS over 6-8 s 0.040-0.054 m.
Prediction scored.
- Controls: hit.
- Arm latency: rank 1, F 0.391, break 93 ms (said F 0.3-0.45, break 80-100). Hit.
- Accelerometer bias: rank 4, F 0.162, break 0.503 (said rank 2-3, F 0.1-0.15, break 0.51-0.53). Refused fractions hit; rank and F narrow misses.
- Field of view: rank 5, F 0.138, H 1.745 at 45 (said rank 2-3, F 0.1-0.14, H > 1). Hit except the rank.
- Miss: true sweep noise. Rank 2, F 0.375, break x 2.6 (said rank 5-7, F 0-0.1, H 0.09-0.13 at x 4; it was 0.168). I named the mechanism (the prior gate no longer caps per-fix noise) and still put its size at about half.
- Miss: mass. Rank 3, 0 of 300 at x 1.3 (said F = 0, B 290-296 at x 1.3, 275-290 at x 1.5). The prediction assumed
the loop absorbs the extra weight; I did not look at the integrator's zone in
control.rs. - Miss: sway. Rank 7, F 0, H 0.062 at 0.15 g (said rank 4, H 0.07-0.12).
- Count with F > 0: 5 (said 3-6). Hit.
- Misses in the rest.
- Motor time constant: 294 at 0.05 (said 280-292).
- Throw speed: 293 at 5 m/s and 289 at 6 (said 285-292 and FAIL).
- Release ramp x 5: 298 (said 285-292).
- Izz / Ixx: M_plaus 0.631 (said 0.3-0.6).
- "Within 0.01 of M0" over the plausible range: 9 of the 19 rows named (2, 5, 6, 13, 14, 20, 21, 29, and 30 at 0.010). The p95 moves by about 0.003 rad with any change, about 0.03 in M, so the call was too tight.
- Hits in the rest:
- hold 30 s 0.092 and 10 s 0.045 (said 0.07-0.11 and 0.04-0.06);
- baseline / 5 and / 6: 0.090 and 1.536, matching E9-sim-lh2's m rows (0.089 and 1.531);
- rows bit-equal to nominal in (a): 5-14 and 20, as said (21 too).
- "Measure these first": I said motor latency, accelerometer bias, FOV and sway. It is motor latency, sweep noise, mass, accelerometer bias and FOV.
What this does not show.
- Joint variation: one parameter at a time. Two in-range guesses together can break the line where neither does alone.
- The ranking rests on my plausible ranges. F is range-dependent; the break values and M_all are not.
- The grid is coarse at the cliffs. Mass shows how much the interpolation can overstate F.
- Firmware sensitivity: every gain, gate and threshold is held at nominal. Several breaks are a firmware threshold meeting the truth (the calibration's checks, the integrator zone, the fit's sigma), and the firmware could be changed instead.
- Position is ideal, hands are made up, and nothing touched hardware.
E9-sim-izone registration (session 15, committed before any E9-sim-izone code or run)
Question (#37). E9-sim-sens found the throw line failing at a plant 1.3x heavier than the firmware's mass: 0 of 300
recovered in every condition, only 384 of 14,400 crashed. My analysis after that run: the position controller's hover
feed-forward uses the firmware's mass, so a plant k times heavier needs a_z = (k - 1) g from feedback. P alone gives it at a
z error of (k - 1) g / kp_z = 1.23 (k - 1) m, and the integrator only runs within i_zone = 0.3 m of the setpoint. For k
above k* = 1 + i_zone kp_z / g = 1.245 the drone settles outside the zone and the integrator never starts. Session 15
checks that mechanism, then fixes it without giving back session 00's takeoff fix (overshoot 18.6% to 3.1%).
The fix (decided unless Scott objects). The integrator also runs outside the zone once the drone has been nearly
still, |v| < i_still_speed = 0.3 m/s, for at least i_still_time = 0.5 s; any faster sample resets the timer. A
takeoff or a throw recovery is moving when it is outside the zone, so the old rule applies. A drone stalled short of
the setpoint is still, so the integrator closes the gap. It is the new default in PositionGains, and
i_still_time = INFINITY is the old rule (the control). The alternatives I rejected:
- a larger zone only moves the cliff (k* = 1.41 at 0.5 m) and lets more windup into the takeoff;
- an online mass or hover-thrust estimate is a new estimator, out of scope for one session.
ki_z * i_limit= 6 m/s^2 still caps the integrator, at k = 1.61.
Domain. Throws: estimated-attitude, ideal-position sim, with the release heading and tilt from the IMU- and Lighthouse-model sim as in E9-sim-sens. Hover: ideal-state sim. Every parameter PLACEHOLDER. Truth varies (plant mass, max thrust fixed) and the firmware keeps the nominal mass, as in E9-sim-sens.
Base. E9-sim-sens's nominal (E9-sim-lh2's main row: 48 conditions x 300 throws, its seeds and draws, D3-armed, gated
Lighthouse fit). New binary bin/throw_izone, with E9-sim-sens's machinery copied and the position gains as a parameter.
Metric as E9-sim-sens: H, T, B over the 48 conditions; line H <= 0.1 rad, T <= 0.2 rad, B >= 285.
Controls (any mismatch VOIDs the run, before any other row). The old rule (i_still_time infinite) reproduces
E9-sim-sens:
- C1: nominal, H 0.037, T 0.018, B 298, sums 14,304 / 96;
- C2: mass x 1.3, B 0, sums 0 / 384;
- C3: mass x 1.15, B 294, sums 14,152 / 248.
Pass lines.
- L1, the fix on throws. With the fix, plant mass x 0.9, 1.15, 1.2, 1.25 and 1.3 each give B >= 285 in all 48 conditions, so M >= 0 at every swept value in E9-sim-sens's plausible range (0.9-1.3) and F = 0 for mass.
- L2, nominal regression. With the fix, the nominal row's per-throw outcomes are bit-equal to the old rule's: every throw's ok, crash and RMS.
- L3, other regressions. At the fix commit every existing binary except
throw_sensgives output identical to 32c427b's, provenance aside: the 15 simulation binaries (E9-sim-lh2'sthrow_lh2included), murmur-sim with its CSVs, and fig's files (hover-integrator included).throw_sensran its one registered time at a2423a8 and is not run again; L2 and C1-C3 cover its rows. If any binary differs, L3 fails, and that binary's own registered lines are re-checked and reported. - L4, hover with a heavy plant (new test file,
sim/tests/izone.rs, ideal-state sim). E1-sim's scenario (hover at 1 m from the ground, 20 s, gyro noise 0.05, seed 7), plant mass x 1.3, firmware nominal:- with the fix, RMS over 10-20 s < 0.10 m (E1-sim's line) and peak z < 1.10 m (the takeoff line);
- the old rule fails the RMS line. That's the control: without it the test couldn't tell the fix from no change.
- The inherited tests stay untouched and pass, including
takeoff_overshoot_under_10_percentandtests/fig.rs's pin of the hover-integrator "after" peak at 1.031 m.
Mechanism probes (old rule; predictions, both directions; not pass lines for the fix). If the zone sets the cliff, moving the zone moves it:
- i_zone 0.30 at x 1.2 (below k* = 1.245): B >= 285 in all 48;
- i_zone 0.45 at x 1.3 (k* = 1.37): B >= 285 in all 48;
- i_zone 0.15 at x 1.15 (k* = 1.12): B < 285 in at least 40 of 48;
- x 0.7 at i_zone 0.30 (the drone settles 0.37 m above the setpoint): B < 285 in at least 40 of 48.
Also reported (with the fix, no line). x 0.7, 1.4, 1.5.
Prediction.
- C1-C3 reproduce.
- L1 PASS. With the fix, x 0.9, 1.15 and 1.2 are bit-equal to the old rule, because they settle inside the zone and never meet the stillness condition outside it. x 1.25 gives B 290-298 and x 1.3 gives B 286-296.
- The risk to L1 is speed. Once the integrator runs, the z error decays with time constant kp_z / ki_z = 2.7 s. At x 1.3 it starts at 0.37 m about 2 s after arming, so it is near 0.08 m at 6 s, against a 0.10 m RMS line over 6-8 s.
- L2 PASS (bit-equal). L3 PASS (every output identical).
- L4 PASS: RMS 0.005-0.03 m with the fix, peak 0.99-1.01 m. The old rule's RMS is 0.36-0.38 m.
- Mechanism probes: all four as stated. 0 of 300 in every condition at i_zone 0.15 / x 1.15 and at x 0.7.
- With the fix, x 0.7 passes (288-298), x 1.4 is borderline (270-292) and x 1.5 fails on speed, not on the cliff (200-285).
E9-sim-izone result (session 15; registration above unchanged)
Runs.
- The registered throw run:
bin/throw_izoneonce, at a9f3d09, tree clean, rustc 1.99.1, release. 2026-12-05T00:48:41Z to 00:50:37Z, 116 s, exit 0. - L3: every existing binary except
throw_sensandthrow_izone, at 32c427b (00:27:59Z-00:39:18Z) and at a9f3d09 (00:39:18Z-00:47:49Z), both clean. - L4:
sim/tests/izone.rsat 6d6bafe, clean.
Domain: throws, estimated-attitude, ideal-position sim (heading and tilt from the IMU- and Lighthouse-model sim); hover, ideal-state sim. Every parameter PLACEHOLDER. "Fix" is the stillness rule at a9f3d09's default gains.
Controls. C1 (old nominal: 0.037, 0.018, 298, 14,304 / 96), C2 (old x 1.3: B 0, 0 / 384) and C3 (old x 1.15: 294, 14,152 / 248) reproduce E9-sim-sens.
Lines.
| line | result |
|---|---|
| L1, the fix at x 0.9, 1.15, 1.2, 1.25, 1.3: B >= 285 in all 48 | FAIL: x 1.3 gives B 279, with all 48 conditions under 285 |
| L2, fix nominal bit-equal to the old rule, throw by throw | PASS |
| L3, every other binary's output identical to 32c427b's | FAIL: 8 of 15 simulation binaries and murmur-sim differ; 2 of them now VOID on their own controls |
| L4, plant x 1.3 on E1-sim's hover: fix RMS 10-20 s < 0.10 m and peak < 1.10 m; the old rule fails | PASS: fix 0.0022 m, peak 1.0000 m; old rule 0.3679 m |
Throw rows (H, T in rad; B the fewest recovered of 300 over 48 conditions; M the E9-sim-sens margin):
| rule | plant mass | H | T | B | sum ok / crash | conditions under 285 | M |
|---|---|---|---|---|---|---|---|
| fix | x 1 (nominal) | 0.037 | 0.018 | 298 | 14,304 / 96 | 0 | 0.631 |
| fix | x 0.7 | 0.037 | 0.018 | 300 | 14,400 / 0 | 0 | 0.631 |
| fix | x 0.9 | 0.037 | 0.018 | 298 | 14,304 / 96 | 0 | 0.631 |
| fix | x 1.15 | 0.037 | 0.018 | 294 | 14,152 / 248 | 0 | 0.600 |
| fix | x 1.2 | 0.037 | 0.018 | 294 | 14,112 / 288 | 0 | 0.600 |
| fix | x 1.25 | 0.037 | 0.018 | 287 | 13,811 / 308 | 0 | 0.133 |
| fix | x 1.3 | 0.037 | 0.018 | 279 | 13,393 / 384 | 48 | -0.400 |
| fix | x 1.4 | 0.037 | 0.018 | 229 | 11,064 / 504 | 48 | -3.733 |
| fix | x 1.5 | 0.037 | 0.018 | 133 | 6,662 / 988 | 48 | -10.133 |
| old | x 0.7 | 0.037 | 0.018 | 63 | 3,158 / 0 | 48 | -14.800 |
| old | x 0.9 | 0.037 | 0.018 | 298 | 14,304 / 96 | 0 | 0.631 |
| old | x 1.15 (C3) | 0.037 | 0.018 | 294 | 14,152 / 248 | 0 | 0.600 |
| old | x 1.2 | 0.037 | 0.018 | 288 | 13,827 / 288 | 0 | 0.200 |
| old | x 1.3 (C2) | 0.037 | 0.018 | 0 | 0 / 384 | 48 | -19.000 |
| old, i_zone 0.45 | x 1.3 | 0.037 | 0.018 | 287 | 13,812 / 384 | 0 | 0.133 |
| old, i_zone 0.15 | x 1.15 | 0.037 | 0.018 | 0 | 0 / 248 | 48 | -19.000 |
Every row's release heading and tilt are bit-equal to C1's, since these are plant-only rows. With the fix, mass by E9-sim-sens's rule has F 0.094 over 0.9-1.3, and the break is at x 1.2625 (computed from these rows after the run). That compares with F 0.364 in E9-sim-sens.
The mechanism is confirmed. All four probes came out as predicted:
- x 1.2 under the old rule recovers (288);
- moving the zone to 0.45 m moves the cliff past x 1.3 (287);
- shrinking it to 0.15 m moves the cliff below x 1.15 (0 of 300 in all 48);
- x 0.7, which settles 0.37 m above the setpoint, fails in all 48 (63).
The zone sets the cliff in both directions. The crash counts at each mass are the same under both rules, so the remaining losses are throws that haven't settled within 0.10 m RMS by 6-8 s.
L3, what changed. Identical: throw, throw_est, throw_detect, throw_detect2, throw_detect3,
throw_heading_diag, throw_lh, and all 18 figure files. The hover-integrator figure is among them, as is its
1.031 m peak. Different:
throw_lh2: only the m = 8 stress row changed, ok 4,737 to 4,734. Its five registered lines are unchanged and PASS.throw_est2: only the informational b = 0.2 rows changed, for example 117 to 113 ok at 50 ms. Its line still PASSes.throw_est3: 42 of 210 rows changed, with 210 more throws unsettled in total and no change in crashes.- Three of those rows are on its line: policy, e0 = 0.1, b = 0.05 drops from 299 / 298 / 293 to 298 / 294 / 290 at 50 / 100 / 150 ms.
- The line (>= 95% at every delay <= 150 ms, e0 <= 0.10) still PASSes.
hand_throw: the magnitude gate's throw counts ("gate ok") drop in 43 rows, by up to 12 of 300. The worst is 292 to 280 at 100 ms (b 0.05, T_w 0.5, A 0.5, Om 4). The held policy's counts are unchanged. Line (a) is still FAIL and (b) still PASS, as before.held_triggerandheld_trigger_diag: only the failing T1 sway rows and the drift rows, all near 60 of 300. T1 is still FAIL, as before.- murmur-sim:
step_and_gustRMS over the last 5 s dropped from 0.0162 to 0.0078 m. A steady gust holds the drone still outside the zone, and the rule now closes it. Its CSVs differ. gyro_calandthrow_heading: both exit 2, CONTROL MISMATCH. Their controls hard-code E9-sim-est2's b = 0.2 rows and E9-sim-est3's tilt rows, and the fix moves those rows. In a diagnostic with the two exits skipped (scratch code, unregistered), every registered line still PASSes: E9-sim-cal A, B and C, and E9-sim-heading's line.
So the fix doesn't only act on the heavy plant. It acts wherever the drone moves slowly outside the zone: a steady gust, or the slow drift of a wrong attitude estimate. Every existing verdict holds, but the record no longer reproduces at this commit, and two binaries can't run to completion. Why the drift regimes come out unsettled was not checked.
Prediction scored.
- Hits:
- controls;
- L2;
- L4's old rule (0.36-0.38; it was 0.368) and peak (0.99-1.01; it was 1.000);
- all four mechanism probes, with 0 of 300 in all 48 at i_zone 0.15 / x 1.15;
- x 0.9 bit-equal.
- Misses:
- L1. I named speed as the risk and still predicted 286-296 at x 1.3; it was 279.
- L3. I predicted every output identical and didn't think of slow drift with a wrong estimate, or a steady gust.
- x 1.15 and x 1.2 aren't bit-equal to the old rule. x 1.2 is better: 294, against 288.
- x 1.25: 287, against my 290-298.
- x 1.4: 229, against 270-292. x 1.5: 133, against 200-285.
- x 0.7: 300, against 288-298, better than predicted.
- L4's fix RMS: 0.0022 m, against 0.005-0.03, better than predicted.
Decided after the result, unless Scott objects: the stillness rule doesn't become the default. L3 is a registered
regression line, and it failed. The next commit puts the default back to the zone-only rule and keeps the stillness rule
as PositionGains::still_rule(). throw_izone, izone.rs and position_still.rs name it explicitly, with the same
values. A follow-up needs its own registration. Candidates: z only, since mass is a z problem; a faster rate outside the
zone, since L1 failed on speed; or gating on the estimate's health. Checked at that commit (6eba7a2, clean): every existing binary
except throw_sens and throw_izone gives output identical to 32c427b's, provenance aside. That's 17 outputs, the
CSVs and 18 figure files, all exit 0.
What this does not show.
- Joint variation, or a real airframe. Position is ideal: on hardware "still" would come from E2's velocity estimate.
- Why the drift regimes come out unsettled.
- Whether a z-only rule would keep L3. That's the follow-up.
E2-sim registration (session 16, committed before any E2-sim code or run)
Question (E2). E2 asks how accurate each localization stack is against ground truth: fused < 3 cm static, < 5 cm moving. This is the Lighthouse stack in sim. An IMU-driven position filter takes the same PLACEHOLDER sweeps as the yaw fix (E9-sim-lh2). Does it meet E2's line in hover and in motion? And with the controller flying on it instead of on the truth, does E1-sim's hover line still hold? Every earlier sim fed the controller the true position.
Domain.
- Open loop: the estimate is estimated-state sim (it sees only IMU and sweeps); the controller flies on the true position and the estimated attitude.
- Closed loop: estimated-state sim (position, velocity and attitude all from estimators).
- IMU- and Lighthouse-model sim throughout, every number PLACEHOLDER. Only the Lighthouse stack (no flow / ToF, no UWB).
Estimator (firmware; new murmur-core module). A linear Kalman filter on x = (p, v), world frame, 6 states.
- Predict, every 1 ms IMU sample: a = R(q_est) f - g z, with f the accelerometer reading and q_est the Mahony estimate. p += v dt + a dt^2 / 2, v += a dt. Process noise is white acceleration, per axis q_a [[dt^3/3, dt^2/2], [dt^2/2, dt]], q_a = 0.01 m^2/s^3. PLACEHOLDER.
- Update, per station sweep: every seen photodiode's azimuth, then its elevation, as scalar updates in turn. Each is
linearized at the current estimate, at the photodiode's world point p + R(q_est) s_i. The noise is the fit's assumed
sigma (
FixParams::sigma, 5e-4 rad, equal to the truth's at x 1). Joseph form. A measurement whose predicted point is not in front of the station is skipped. - No innovation gate. The sim has no outliers, so a gate could only reject good sweeps; reflections and the gate they need are a bench question.
- Start: p_hat = the true start + (0.2, -0.3, 0.1) m, v_hat = 0, P = diag(1 m^2, 1 m^2/s^2).
- Why q_a = 0.01, from a steady-state analysis of the filter (about 0.7 mm per-sweep position noise per axis), not from a run. At q_a = 1 the velocity estimate's noise is about 0.1 m/s. At 0.01 it is about 2 cm/s, and the attitude estimate's roughly 1 m/s^2 tilt leak in a 2 rad/s turn lags the estimate by under 1 mm.
Attitude and the rest (inherited).
- Mahony, default gains, starting at the true attitude with zero bias. Magnitude gate (no throw).
- Session 13's gated yaw fix, fused as in E9-sim-lh2's flight, but started at the position estimate instead of the truth. Each sweep goes to the yaw fit first, then to the position update with the turned estimate.
LhSim::placeholder()withFitRule::Gated: E9-sim-lh's two stations, receiver, 50 Hz sweeps per station (offset 10 ms), visibility, angle model and noise.- IMU: gyro noise 0.05 rad/s, accelerometer noise 0.05 m/s^2, no biases. micro45, plant = model, default position gains (zone only).
Scenarios. Both start on the ground at the origin, at rest, and run for 20 s.
- H: E1's hover, setpoint (0, 0, 1.0).
- C: a circle, setpoint (0.7 cos 2t, 0.7 sin 2t, 1.0). The velocity setpoint is 0, as in every scenario, so the drone lags inside the setpoint. A linear analysis of the position loop (not a run) puts it at a radius of about 0.52 m and about 1.0 m/s. "Moving" is this circle, my choice: E2 does not define it.
Runs.
- 20 seeds per row, i = 0-19: gyro 1600 + i, accelerometer 1700 + i, Lighthouse 1800 + i.
- Window [10, 20) s, sampled every 10 ms (the trace rate).
- RMS_e = sqrt(mean |p_hat - p|^2), 3D. NaN fails.
- Open loop: the controller gets the true p and v. Closed loop: it gets (p_hat, v_hat) at its 100 Hz update.
Pass lines (E2-sim passes only if all four do).
- L1, open H: RMS_e < 0.03 m in every seed.
- L2, open C: RMS_e < 0.05 m in every seed. VOID unless every seed's mean true speed over the window is >= 0.8 m/s.
- L3, closed H: in every seed, RMS_e < 0.03 m, not killed, and RMS |p - p_des| over the window < 0.10 m (E1-sim's line).
- L4, closed C: in every seed, RMS_e < 0.05 m and not killed. Same speed guard as L2.
Controls. Each must hold, or the run exits 2 and prints no line.
- C1: in open loop, with the yaw fit started at the true position, the new loop equals
simulate_splitbit for bit: trace, kill flag and EstStats. Same attitude (EstimatedFromStateLh, dropout 0), plant = model, zero bias, default gains; seed 0 of H and of C. - C2: both stations off, open H. RMS_e >= 0.03 m in every seed: nothing corrects the 0.37 m start error, so the line can fail.
- C3: closed H's trace differs from open H's in every seed, so the controller reads the estimate.
Stress rows (open loop, H and C, 20 seeds each; informational, no pass line).
- S1: sigma x 4, 16, 64, 256, truth and assumed together (the yaw fit's too). Break = the smallest multiplier that fails L1's or L2's threshold.
- S2: station 1 off.
- S3: both stations off over [12, 13) s. Report max |e| over [12, 14), |e| at 13 s, and the time after 13 s until |e| < 1 cm, each the worst over seeds.
- S4: the firmware's station poses are wrong and the sim's are not. Station 0's origin is +2 cm in x, and it is turned 2 mrad about its own y axis; station 1's origin is -2 cm in y, turned 2 mrad about its own x axis. The yaw fit and the position update both use the wrong poses.
Printed per row. Worst and median RMS_e; worst max |e| in the window; lowest mean speed over seeds; the share of sweeps that saw at least 3 photodiodes; yaw fixes accepted; worst final heading error. Closed loop also: worst RMS |p - p_des| and kills.
Predictions (scored in the result).
- L1 PASS, worst seed RMS_e 0.2-1.5 mm.
- L2 PASS, worst 0.5-3 mm, above L1: in the 2 m/s^2 turn the attitude estimate's tilt lags, and it rotates the photodiode offsets. Lowest mean speed 0.9-1.05 m/s.
- L3 PASS: RMS_e within 1.5x of L1's. Hover RMS |p - p_des| 1-10 mm, against E1-sim's 0.2 mm, because the controller now sees the velocity estimate's noise.
- L4 PASS, within 1.5x of L2.
- C1-C3 hold.
- S1: L2 breaks first, between x 16 (passes) and x 64 (fails). L1 holds at every multiplier, worst 1-3 cm at x 256.
- S2: L1 and L2 fail. Hover worst 2-6 cm, the error along station 0's ray (one station cannot range).
- S3: hover max |e| 1-5 cm, circle 10-40 cm. Both recover within 0.1 s after the outage.
- S4: the error is an offset, not noise. Hover and circle RMS_e 1-3 cm, L1 at its edge.
What this will not show.
- Other stacks: flow / ToF, UWB.
- LH2's two slanted planes and the time between them. At 1 m/s a 10 ms skew is 1 cm, and here both angles are taken at one instant.
- Timing jitter common to one sweep's photodiodes; reflections (hence no gate); calibration error beyond S4's; more than two stations; people or drones in the beam.
- Throws: position through a tumble and its reacquisition.
- A real IMU, an accelerometer bias, the update's cost and latency on the MCU (zero here).
E2-sim result (session 16; registration above unchanged)
Run. bin/pos_lh, one run, sha f09c8b8, clean, rustc 1.99.1, release, 2026-12-05T02:22:33Z to 02:22:36Z, 2.6 s,
exit 0. Domain as registered: the estimate is estimated-state sim; open loop the controller flies on the true position,
closed loop on the estimate. IMU- and Lighthouse-model sim, every number PLACEHOLDER.
Controls.
- C1: H and C, seed 0, bit-equal.
- C2: Lighthouse off, lowest RMS_e 1040.8 mm, so every seed is over the line.
- C3: closed H differs from open H in every seed.
- All ok.
Main rows (20 seeds each, window [10, 20) s).
| row | RMS_e worst / median | max |e| | lowest mean speed | yaw fixes (min) | heading end (worst) | track RMS (worst) | kills | line |
|---|---|---|---|---|---|---|---|---|
| H open | 0.95 / 0.91 mm | 2.56 mm | 0.004 m/s | 2000 | 0.0317 rad | - | - | L1 PASS (< 30 mm) |
| C open | 2.15 / 2.11 mm | 4.56 mm | 1.418 m/s | 1999 | 0.0601 rad | - | - | L2 PASS (< 50 mm) |
| H closed | 0.95 / 0.91 mm | 2.57 mm | 0.005 m/s | 2000 | 0.0317 rad | 4.37 mm | 0 | L3 PASS (< 30 mm; track < 100 mm) |
| C closed | 2.21 / 2.17 mm | 4.73 mm | 1.461 m/s | 1999 | 0.0637 rad | 597.56 mm | 0 | L4 PASS (< 50 mm) |
Every sweep in every row saw at least 3 photodiodes (share 1.000). E2-sim: PASS (L1-L4). C closed's 597.56 mm tracking RMS is the controller lagging a setpoint that carries no velocity, not the estimate: its RMS_e is 2.21 mm.
Stress rows (open loop, 20 seeds, informational).
| row | H: RMS_e worst / median | H max |e| | H under 30 mm | C: RMS_e worst / median | C max |e| | C under 50 mm |
|---|---|---|---|---|---|---|
| S1 sigma x 4 | 2.73 / 2.65 mm | 6.83 mm | yes | 8.49 / 8.29 mm | 14.81 mm | yes |
| S1 sigma x 16 | 8.17 / 7.60 mm | 19.30 mm | yes | 21.65 / 20.74 mm | 40.99 mm | yes |
| S1 sigma x 64 | 24.49 / 21.30 mm | 57.48 mm | yes | 84.79 / 80.03 mm | 136.27 mm | no |
| S1 sigma x 256 | 73.60 / 60.85 mm | 156.98 mm | no | 262.10 / 245.70 mm | 411.11 mm | no |
| S2 station 1 off | 42.00 / 33.91 mm | 121.69 mm | no | 350.20 / 341.78 mm | 701.94 mm | no |
| S3 outage [12, 13) s | 5.06 / 3.44 mm | 60.12 mm | yes | 181.09 / 174.57 mm | 1180.15 mm | no |
| S4 station poses 2 cm / 2 mrad | 15.32 / 15.29 mm | 17.65 mm | yes | 15.84 / 15.80 mm | 20.75 mm | yes |
- S1: the circle breaks between x 16 and x 64, the hover between x 64 and x 256. From x 16 up, the gated yaw fit accepts no fix (min 0). The circle's heading then drifts to 0.4811 rad by the end, and its position stays within the line at x 16.
- S3 (worst over seeds):
- Hover: max |e| 60.12 mm, all of it at the outage's end; under 1 cm again 0.010 s later.
- Circle: 880.68 mm at 13 s, max 1180.15 mm after it; under 1 cm again 0.120 s later.
- S4: worst and median agree to 0.03 mm in hover. The error is an offset, not noise.
Predictions scored.
- L1 0.2-1.5 mm: hit (0.95).
- L2 0.5-3 mm, above L1: hit (2.15).
- "Moving", 0.9-1.05 m/s: miss. The lowest mean speed is 1.418 m/s. The registration's linear analysis of the position loop used the z gains (kp 8, kd 5), which give 1.040 m/s. The x and y gains (4, 3.2) give 0.875 m/s. Neither matches the run, and the difference is not explained. The speed guard (>= 0.8) holds. "Moving" here means a circle at about 1.4 m/s, faster than registered.
- L3: hit. RMS_e equals L1's to the 0.01 mm printed, and the hover's tracking RMS is 4.37 mm (said 1-10).
- L4: hit (2.21 against L2's 2.15).
- C1-C3: hit.
- S1: partly.
- The circle breaking first, between x 16 and x 64: hit.
- "L1 holds at every multiplier, worst 1-3 cm at x 256": miss. It fails at x 256 with 73.60 mm.
- S2: hit. Both lines fail, and the hover's worst, 42.00 mm, is inside the 2-6 cm I said. That the error lies along station 0's ray was not measured (the run prints no direction). #47.
- S3: three misses.
- Hover max 60.12 mm, said 1-5 cm.
- Circle 1180.15 mm, said 10-40 cm.
- The circle's recovery took 0.120 s, said under 0.1 s. The hover's recovery, 0.010 s: hit.
- S4: the 1-3 cm range and the offset are a hit (15.32 / 15.84 mm). "L1 at its edge" is a miss: it's half the line.
Found while writing the tests (before the run, not registered). With Lighthouse off and the controller flying on the
estimate, closed loop runs away. From a hover start, the truth is at (-4.05, 5.84, 0.71) m after 5 s (seed index 102,
sim/tests/position.rs). The attitude estimate's tilt follows the thrust axis under sustained acceleration, so the
estimate under-reads the acceleration the controller keeps commanding. S3's 1.18 m in a 1 s outage in the circle comes
from the same leak, in open loop. #46.
What this does not show.
- Other stacks.
- LH2's slanted planes and their time skew; timing jitter common to one sweep's photodiodes; reflections, for which there is no gate; calibration error beyond S4's; people or drones in the beam.
- Throws, with position through a tumble.
- A real IMU or any accelerometer bias; the MCU's cost and latency.
- An outage in closed loop, which the test above says runs away.
- Where C2's 1.04 m comes from. Before lift-off the sim's accelerometer reads no ground-contact force, which may be part of it. Not separated.
- Three mutants survive: Joseph to simple form, predicting with the post-update attitude, and sampling the estimate 1 ms early. The alignment test resolves 10 ms, not 1 ms.
REF-bench registration (session 17, #42; committed before any reader or analysis code, and before any hardware exists)
What this is. Bench stage 1 (#42): proxy measurements on the reference platform, a Crazyflie 2.1 Brushless with the Lighthouse positioning deck and the micro SD card deck, plus two SteamVR Base Station 2.0. These are the reference platform's parts, not murmur's: its BMI088 IMU, its Lighthouse deck and its brushless motors. Each number replaces a sim PLACEHOLDER as a proxy only, labelled as such, until murmur's own parts are measured (#43-#45). Nothing has arrived; this fixes what will be measured, how, and what each number is compared with, before any of it exists.
Domain. bench, reference platform. Never flight.
Safety (CLAUDE.md rule 12). Every motor run (REF-start) is done by Scott in person, commanded from cfclient. No code in this repo arms or commands a motor. REF-throw is motors off.
Logging (all five).
- The SD deck logs a
fixedFrequencyevent at 1000 Hz, synchronous mode, configured on the card. The decoder is murmur-sim'scflog, written in session 17 from the format of crazyflie-firmware'susddeck.candtools/usdlog/cfusdlog.pyat 2231bbf. - Variable names, verified in that firmware's source:
acc.{x,y,z}[g] andgyro.{x,y,z}[deg/s], both filtered by the firmware;lighthouse.rawAngle{0,1}{x,y}lh2[rad]: sensor 0, channels 1 and 2, sweeps 1 and 2;motor.m1-m4(PWM) andmotor.m1_rpm-m4_rpm(65535 = no value);baro.temp.
- The firmware version flashed at bring-up is recorded with every result.
- Fail closed. A log is VOID for every measurement below if any of these holds:
- its magic byte, version (1 or 2) or CRC does not check;
- a variable the measurement needs is missing;
- more than 0.1% of its expected
fixedFrequencysamples are missing, counting a timestamp gap over 1.5 ms as a missing sample.
- Each result prints the log's size and stored CRC, the reader's commit, and the analysis's commit.
REF-imu (#5; replaces gyro noise 0.05 rad/s and accelerometer noise 0.05 m/s^2 per 1 kHz sample, gyro bias, and the accelerometer bias).
- Still log: motors off, USB power, on a level fixture, 30 min. Report the temperature range from
baro.temp. - Six-face log: the airframe on each face of a cube fixture, 60 s per face, motors off.
- Noise density N per axis: the overlapping Allan deviation at tau = 1 s of the still log, after conversion to rad/s and m/s^2 (g = 9.81). Valid only if the log-log slope over tau in [0.1, 1] s is -0.5 +- 0.1; otherwise no N, reported as such. Equivalent per-1 kHz-sample sd: N sqrt(1000 Hz). It is compared with the PLACEHOLDERs, not the logged sample sd, because the logged signals are filtered.
- Gyro bias per axis: the still log's mean. It is compared with 0.05 rad/s (the E9-sim-est2 and -cal lines) and 0.2 rad/s (the uncalibrated stress).
- Accelerometer bias per axis: half the sum of the face-up and face-down means. It is compared with E9-sim-sens's break, 0.503 m/s^2 (rank 4).
- Bias instability: the Allan deviation's minimum, and the tau where it falls, per axis. Reported; there is no sim counterpart yet.
- Prediction: every N under its PLACEHOLDER, so the PLACEHOLDERs are conservative. Gyro bias under 0.05 rad/s on at least two axes. Accelerometer bias under 0.503 m/s^2 on every axis.
REF-lh (#38; replaces the sweep-angle sigma 5e-4 rad).
- The deck on a tripod, still, both stations in view, 60 s at each of 5 poses: (0, 0, 1.0) m in the stations' frame, and four points 1 m from it horizontally.
- Per pose, channel and sweep: the sd of the distinct updates of
rawAngle..lh2, after a linear trend is removed. Consecutive equal values are one update, because the logged angle is held between sweeps. sigma_lh = the largest over the poses. - Compared with the fit's assumed 5e-4 rad; E9-sim-sens's heading break at x 2.6 (1.3e-3 rad, #38); and E2-sim's circle break between x 16 and x 64 (8e-3 to 3.2e-2 rad). LH2's raw angles are two slanted sweeps, not the sim's azimuth and elevation, so the comparison is per-angle noise only.
- Prediction: sigma_lh under 1.3e-3 rad at every pose.
REF-place (rank 5 on #34, #47; the photodiode field of view and two-station coverage).
- Stations mounted as Scott places them for the room. Their poses come from the Crazyflie's Lighthouse geometry estimate, saved by cfclient; the file format is read at bring-up.
- A grid of points over the intended flight volume, at most 0.5 m apart, Scott's choice of volume. At each point the deck is level on a tripod for 10 s.
- Per point and station: whether its angles update (at least 10 distinct updates in the 10 s), and the angle between the station's direction and body vertical, from the geometry and the point.
- Compared with E9-sim-sens's field-of-view break, 49.8 deg, and with #47's requirement of both stations in view.
- Reported: the share of points with both stations updating, the largest off-vertical angle among the stations that update, and the points with only one or none.
- No prediction: it depends on the room.
REF-start (rank 1 on #34; the arm latency, which breaks the throw line at 93 ms).
- Scott runs it, in person: the airframe clamped to a fixture, props on, 20 starts from stop, each commanded from cfclient.
- Per start: from the first logged sample with
motor.mN> 0 to the first withmotor.mN_rpmvalid and > 0, per motor. The start's latency is the slowest of its four motors. - Reported: p50 and p95 over the 20 starts, compared with the 93 ms break.
- What it does not include: the time from release detection to the motor command, which is murmur's own firmware, and thrust build-up after the first RPM telemetry. #45's thrust stand measures that on murmur's motors.
- Prediction: p95 under 93 ms.
REF-throw (#13; the PLACEHOLDER hand model).
- Motors off. Scott throws the Crazyflie by hand into a net, 30 throws, logged.
- Per throw:
- Release: the first sample of murmur's D1 rule (|a| < 0.3 g for 100 ms), applied to the log offline.
- Wind-up: from the last 100 ms with | |a| - 1 g | < 0.05 g before the release, to the release. Its duration is T_w, and its peak specific force is A, in g.
- |omega| at release.
- Release speed, from Lighthouse positions in free flight if the deck tracks, otherwise reported as missing.
- Compared with the hand model's ranges: T_w 0.15-0.5 s, A 0.25-2 g, spin <= 8 rad/s, speed <= 3 m/s.
- Also murmur's D3 detector, run on each log: whether it fires once per throw, and whether it fires before the wind-up (a false trigger).
- Prediction: T_w and A inside the model's ranges in at least 27 of 30 throws, and D3 fires once per throw with no false trigger.
What none of this shows. murmur's own IMU, receiver, motors or airframe; flight; anything about the controller. Each number is the reference platform's, and a proxy until #43-#45 measure murmur's parts.