aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/calibrate_shaper.py
Commit message (Collapse)AuthorAgeFilesLines
* Run black on all first party python codeTomasz Kramkowski2025-08-061-97/+184
|
* scripts: Added shaper tuning parameters to calibrate_shaper scriptDmitry Butyugin2024-02-161-8/+85
| | | | | | | | | | | | | | | The added parameters include square_corner_velocity, shaper frequencies to optimize, input shapers to test, input shaper damping ratio and damping ratios to test. All these options can be useful for fine-tuning the input shapers when the default suggestions generated by the tuning script are not optimal. Also the `SHAPER_CALIBRATE` command was modified to pass some of these parameters to the shaper tuning routine. Specifically, square corner velocity and the maximum tested frequency are used to adjust shaper tuning and maximum acceleration recommendations. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* scripts: Migrated shaper calibration scripts to Python3Dmitry Butyugin2021-12-301-1/+1
| | | | | | | Also updated instructions to install python3-numpy and python3-matplotlib Python packages. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* input_shaper: Define input shapers in a single place in Python codeDmitry Butyugin2021-10-261-6/+6
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* resonance_tester: Fixed multi-point resonance testingDmitry Butyugin2021-04-071-2/+2
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* calibrate_shaper: Use fixed 5 Hz steps for minor ticks in the chartsDmitry Butyugin2021-03-201-3/+1
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Estimate max_accel to avoid excessive smoothingDmitry Butyugin2021-03-201-2/+3
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Choose input shapers accounting smoothingDmitry Butyugin2020-12-221-15/+21
| | | | | | | | | 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>
* scripts: Small improvements for input shaper and accelerometer scriptsDmitry Butyugin2020-12-191-22/+25
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* resonance_tester: Resonance testing and input shaper auto-calibration (#3381)Dmitry Butyugin2020-10-141-0/+166
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>