You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -369,6 +369,17 @@ Store the handle from `Init PID` in a variable and pass it to `PID compute` in y
369
369
370
370
For a full explanation including the math, calibration procedure, coordinate conventions, and example programs, see [DEADRECKONING.md](DEADRECKONING.md).
371
371
372
+
**Signal conditioning filters:** Four filters for cleaning up noisy or jerky signals before they reach your control logic. All use the same explicit handle pattern as PID and DR.
373
+
374
+
| Block pair | Description |
375
+
|-----------|-------------|
376
+
|`Initialize hysteresis` + `Hysteresis`| Schmitt trigger — output latches to 0 or 1, only switching when the input crosses a high or low threshold. Eliminates chatter at sensor boundaries. |
377
+
|`Initialize debounce` + `Debounce`| Waits for a digital signal to be stable for a minimum number of milliseconds before updating output. Eliminates mechanical button bounce and contact noise. |
378
+
|`Initialize rate limiter` + `Rate limit`| Limits how fast the output value can change per call, producing smooth acceleration ramps. Prevents wheel slip and encoder errors from sudden motor commands. |
379
+
|`Initialize Kalman filter` + `Kalman filter`| 1D Kalman filter — weighted sensor smoothing based on process noise Q and measurement noise R. More principled than moving average for sensors with known noise characteristics. |
380
+
381
+
For intuition, math, tuning guidance, and pipeline examples, see [FILTERS.md](FILTERS.md).
382
+
372
383
### Map Visualization
373
384
374
385
The IDE sidebar includes a **live map panel** that renders the robot's trail as it moves. Use the **UI** category blocks to drive it:
@@ -470,3 +481,4 @@ The log (115200 baud) shows boot messages, port detection results, BLE connectio
470
481
|[LUMP.md](LUMP.md)| LEGO Powered Up UART protocol technical specification |
0 commit comments