aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/shaper_calibrate.py
Commit message (Collapse)AuthorAgeFilesLines
* resonance_tester: Fixed multi-point resonance testingDmitry Butyugin2021-04-071-1/+1
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* graph_accelerometer: Support axis-level comparison of adxl345 dataDmitry Butyugin2021-03-201-0/+4
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Reduced min shaper freqs to match max_accel ~= 1500Dmitry Butyugin2021-03-201-6/+6
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Ignore vibrations below max_psd / 20 thresholdDmitry Butyugin2021-03-201-8/+16
| | | | | | | | | | | The input shaper can only reduce vibrations by 20x. Therefore, the best-case achievable vibrations level is max(psd) / 20. Any vibrations below that level can be ignored for the prupose of input shaper scoring. This allows tuning script to ignore wide tails of resonances, because it is not helpful to try to reduce them with input shaping. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Estimate max_accel to avoid excessive smoothingDmitry Butyugin2021-03-201-8/+34
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Choose input shapers accounting smoothingDmitry Butyugin2020-12-221-61/+87
| | | | | | | | | Improved algorithm to choose the 'optimal' shaper frequency taking shaper smoothing into account. This may choose a frequency with slightly more vibrations but less smoothing. Also allow users to limit the maximum input shaper smoothing. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* resonance_tester: Resonance testing and input shaper auto-calibration (#3381)Dmitry Butyugin2020-10-141-0/+382
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>