pid/derivative_filter
A scenario of the PID controller, from tools/trace/scenarios/pid/derivative_filter.hpp.
– no checks
- The clang run (clang 18.1 optimized) matches the committed trace.
- The gcc run (gcc 13.3 optimized) matches the committed trace.
Shown on
These players show the same trace, with panels chosen to explain it:
- How much should the derivative be filtered? (How the PID Controller Works)
Every channel
height [m] [0] [1]
setpoint [m] setpoint
command [m/s²] [0] [1]
measured_rate [m/s] [0] [1]
t = 0.000 s / 4.000 s
Keys (with the player focused): Space play/pause · ← → one sample (Shift: ten) · Home/End · [ ] speed
4 s of the control/pid scenario derivative_filter.hpp, 1001 samples every 0.004 s. The panels plot every channel that changes: height, setpoint, command, measured_rate. 1 events are marked. It has no pass criteria.
- setpoint 1.2 m