MOSS: a small, mostly 3D-printed litter-picking rover. Cleaner streets, one maker at a time.
Python
docs: the IMU contact signature measured on the robot (rest 0.06, rolling up to 1.0, the box at -12.5 m/s^2)
metrox8d0b81b8dae0
diff --git a/docs/imu.md b/docs/imu.mdindex 8ed8e22..5a99280 100644--- a/docs/imu.md+++ b/docs/imu.md@@ -201,6 +201,23 @@ a value that does not parse is refused with a warning and the default stays.and the smallest |hp| of the contacts. A write error is logged once andnever stops the stack.+ Measured on the robot, one commanded drive at 0.15 m/s (tracks at 54 %) into+ a heavy box 30 cm ahead, every IMU sample logged:++ | what | peak of the high-passed forward acceleration |+ |---|---|+ | at rest | 0.06 m/s^2 |+ | the start of the drive | 1.0 m/s^2 |+ | rolling on the workshop floor | 0.4 to 1.0 m/s^2 |+ | the contact with the box, 2.0 s after the start | **-12.5 m/s^2** (four samples past -4, 20 ms) |+ | the back-off in reverse that followed, a push at 75 % included | 1.1 to 2.0 m/s^2 |++ The detector fired on the first sample past the threshold (-4.1 m/s^2), the+ bump sound, the wall on the map and the back-off followed within 60 ms; the+ encoder bumper, which needs a second of frozen tracks, never had to fire.+ The 4.0 m/s^2 default sits six times under this contact and twice above the+ worst motion without one.+## Benches`benches/bench_bump_imu_cold.py`: the rule on synthetic 200 Hz traces with