Commit Graph

56 Commits

Author SHA1 Message Date
Félix Boisselier
915e69d420 optimized folder cleaning 2024-04-15 14:03:19 +02:00
Félix Boisselier
8336b62f97 changed repo architecture to decouple python and Klipper macros 2024-04-13 12:40:58 +02:00
Félix Boisselier
7652f0d8e7 updated vibration documentation and graph accordingly
to change the wording of the bad speed indicator to vibration metric
that is more generic and easy to understand
2024-04-10 18:52:09 +02:00
Félix Boisselier
bde8577d0e vibrations graphs documentation 2024-04-09 18:01:24 +02:00
Félix Boisselier
53bee00517 Merge branch 'develop' into dir_vib 2024-04-09 12:10:39 +02:00
Félix Boisselier
51f2efb5f8 added axis label to motor profile 2024-04-09 11:55:12 +02:00
Félix Boisselier
086293618a added belt and axes labels on major angle speed profiles 2024-04-06 00:39:08 +02:00
Félix Boisselier
cbc43f7e24 added old speed plots to new vibrations analysis and performances optimizations 2024-04-05 18:33:31 +02:00
Félix Boisselier
fa41637ac9 improved the motor resonance plotting to avoid low freq detection 2024-04-02 18:01:22 +02:00
Félix Boisselier
c2c05e51ae adjusted the symmetry score computation in vibration analysis 2024-04-02 15:47:45 +02:00
Félix Boisselier
617a47f968 added a compatibility mode for older Klipper version and DK bleeding edge 2024-04-02 11:11:37 +02:00
Félix Boisselier
83588029f1 improved vibration speed range and fixed zeta estimation crash 2024-04-02 10:48:01 +02:00
Félix Boisselier
4297aef0f5 cleaning up and automating the vibrations measurement 2024-03-29 18:00:31 +01:00
Félix Boisselier
37195051e4 Global vibration measurement tool 2024-03-25 17:56:03 +01:00
Félix Boisselier
0a25344b0c Merge branch 'main' into develop 2024-03-21 17:30:30 +01:00
FOG_Yamato
82b91c1b40 Replace max_accel_to_decel with minimum_cruise_ratio (#53) 2024-03-15 19:20:51 +01:00
Félix Boisselier
73672fd694 changed macros names to reflect better their usage 2024-03-06 22:22:56 +00:00
Félix Boisselier
f4e700a1ff fixed typo 2024-02-19 23:26:53 +01:00
Félix Boisselier
80c8da622d added proper use of damping ratio and SCV to compute shaper recommendations 2024-02-19 22:53:47 +01:00
shinanca
1a4fea3c8c More precise method for damping ration calculation 2024-01-25 16:00:30 +03:00
Félix Boisselier
eab10ce5da cast accel value to integer 2024-01-14 18:53:31 +01:00
Félix Boisselier
16fabdc895 removed duplicate detranding of the spectrogram 2024-01-09 10:40:45 +00:00
Félix Boisselier
f846534f0f small fix to the argsv and automated apt install of requirements 2024-01-08 00:26:44 +01:00
Félix Boisselier
db57300eb2 better logging and avoid cleaning the folder when not needed 2024-01-07 21:06:18 +01:00
Félix Boisselier
680c3053f6 compatibility with other accelerometer chip 2024-01-07 20:40:35 +01:00
Félix Boisselier
32047dbdba allow better script behavior customization from the macros 2024-01-05 15:34:12 +00:00
Félix Boisselier
e056ec2249 Lot of refactoring, memory and speed optimizations for all the graphs scripts 2024-01-04 20:42:02 +01:00
Félix Boisselier
0170e34cab externalized common func 2023-12-27 23:57:03 +01:00
Félix Boisselier
0ff63edec8 locale helpers are now on their own file 2023-12-26 23:47:14 +01:00
Félix Boisselier
f385bd98e3 fixed locale deprecation warning 2023-12-26 19:50:34 +01:00
Félix Boisselier
8216af87f1 motor resonance characterization 2023-12-11 17:06:58 +01:00
Félix Boisselier
87cb9015fa updated documentation 2023-12-11 14:39:21 +00:00
Félix Boisselier
b32abe2eca belt differential spectrogram now show the impact of each belt with its own color 2023-12-10 12:47:59 +01:00
Félix Boisselier
7050018274 fixed #7 and code optimizations 2023-12-10 06:40:08 +01:00
Félix Boisselier
8721488d8c added axes_map computation 2023-12-08 17:57:50 +01:00
Félix Boisselier
7ba692954f some cleaning 2023-11-29 16:12:40 +01:00
Félix Boisselier
3a9cb57f31 splitted cfg files to allow a selection of only some of the macros 2023-11-29 12:04:59 +01:00
Félix Boisselier
43a205d036 now using a venv to run the scripts 2023-11-29 11:43:21 +01:00
Félix Boisselier
a1e9269ba3 Merge pull request #16 from Frix-x/accel-patch
Allow user input for ACCEL on vibration measurements
and use a low accel by default (with automated restore of the previous values at the end of the test) to get proper measurements
2023-11-27 23:36:35 +01:00
Félix Boisselier
8e304a71ca fixed typo in axis selection for EXCITATE_AXIS_AT_FREQ 2023-11-27 20:44:44 +01:00
Félix Boisselier
f95c55230b added proper management of the vibration test accels 2023-11-27 17:07:20 +01:00
Fragmon
0f7fa66af4 Update IS_vibrations_measurements.cfg (#14)
Co-authored-by: Félix Boisselier <accounts@fboisselier.fr>
2023-11-27 15:51:28 +01:00
Félix Boisselier
da10593ca7 added filesystem sync and file handler checks to avoid going too fast with corrupted CSVs 2023-11-27 15:08:04 +01:00
Félix Boisselier
060a800cc3 revert a4c2ead and add a PermissionError check instead 2023-11-24 17:09:12 +01:00
Félix Boisselier
a4c2ead732 using fcntl to check if a file is still open by klipper 2023-11-19 18:33:47 +01:00
Félix Boisselier
17ccddfa0f replaced TwoSlopNorm by a custom norm 2023-11-06 22:33:02 +01:00
Félix Boisselier
c156459420 updated the low vibration shaper detection logic to avoid unusable choices 2023-11-01 20:08:58 +01:00
Félix Boisselier
ce0330a9d1 modified the low vibration shaper recommendation 2023-10-31 22:23:06 +01:00
Félix Boisselier
d0930261f7 removed symbols in console prints 2023-10-28 14:09:59 +02:00
Félix Boisselier
a03a3c2e4b Added some safety checks and forced C locale for console printing 2023-10-27 14:44:06 +02:00