some cleaning
This commit is contained in:
@@ -4,13 +4,6 @@
|
|||||||
######## CoreXY BELTS CALIBRATION SCRIPT ########
|
######## CoreXY BELTS CALIBRATION SCRIPT ########
|
||||||
#################################################
|
#################################################
|
||||||
# Written by Frix_x#0161 #
|
# Written by Frix_x#0161 #
|
||||||
# @version: 2.1
|
|
||||||
|
|
||||||
# CHANGELOG:
|
|
||||||
# v2.1: replaced the TwoSlopNorm by a custom made norm to allow the script to work on older versions of matplotlib
|
|
||||||
# v2.0: updated the script to align it to the new K-Shake&Tune module
|
|
||||||
# v1.0: first version of this tool for enhanced vizualisation of belt graphs
|
|
||||||
|
|
||||||
|
|
||||||
# Be sure to make this script executable using SSH: type 'chmod +x ./graph_belts.py' when in the folder!
|
# Be sure to make this script executable using SSH: type 'chmod +x ./graph_belts.py' when in the folder!
|
||||||
|
|
||||||
|
|||||||
@@ -6,19 +6,7 @@
|
|||||||
# Derived from the calibrate_shaper.py official Klipper script
|
# Derived from the calibrate_shaper.py official Klipper script
|
||||||
# Copyright (C) 2020 Dmitry Butyugin <dmbutyugin@google.com>
|
# Copyright (C) 2020 Dmitry Butyugin <dmbutyugin@google.com>
|
||||||
# Copyright (C) 2020 Kevin O'Connor <kevin@koconnor.net>
|
# Copyright (C) 2020 Kevin O'Connor <kevin@koconnor.net>
|
||||||
#
|
|
||||||
# Written by Frix_x#0161 #
|
# Written by Frix_x#0161 #
|
||||||
# @version: 2.0
|
|
||||||
|
|
||||||
# CHANGELOG:
|
|
||||||
# v2.0: updated the script to align it to the new K-Shake&Tune module
|
|
||||||
# v1.1: - improved the damping ratio computation with linear approximation for more precision
|
|
||||||
# - reworked the top graph to add more information to it with colored zones,
|
|
||||||
# automated peak detection, etc...
|
|
||||||
# - added a full spectrogram of the signal on the bottom to allow deeper analysis
|
|
||||||
# v1.0: first version of this script inspired from the official Klipper
|
|
||||||
# shaper calibration script to add an automatic damping ratio estimation to it
|
|
||||||
|
|
||||||
|
|
||||||
# Be sure to make this script executable using SSH: type 'chmod +x ./graph_shaper.py' when in the folder!
|
# Be sure to make this script executable using SSH: type 'chmod +x ./graph_shaper.py' when in the folder!
|
||||||
|
|
||||||
|
|||||||
@@ -4,15 +4,6 @@
|
|||||||
###### SPEED AND VIBRATIONS PLOTTING SCRIPT ######
|
###### SPEED AND VIBRATIONS PLOTTING SCRIPT ######
|
||||||
##################################################
|
##################################################
|
||||||
# Written by Frix_x#0161 #
|
# Written by Frix_x#0161 #
|
||||||
# @version: 2.0
|
|
||||||
|
|
||||||
# CHANGELOG:
|
|
||||||
# v2.0: - updated the script to align it to the new K-Shake&Tune module
|
|
||||||
# - new features for peaks detection and advised speed zones
|
|
||||||
# v1.2: fixed a bug that could happen when username is not "pi" (thanks @spikeygg)
|
|
||||||
# v1.1: better graph formatting
|
|
||||||
# v1.0: first version of the script
|
|
||||||
|
|
||||||
|
|
||||||
# Be sure to make this script executable using SSH: type 'chmod +x ./graph_vibrations.py' when in the folder !
|
# Be sure to make this script executable using SSH: type 'chmod +x ./graph_vibrations.py' when in the folder !
|
||||||
|
|
||||||
|
|||||||
@@ -4,20 +4,6 @@
|
|||||||
###### INPUT SHAPER KLIPPAIN WORKFLOW ######
|
###### INPUT SHAPER KLIPPAIN WORKFLOW ######
|
||||||
############################################
|
############################################
|
||||||
# Written by Frix_x#0161 #
|
# Written by Frix_x#0161 #
|
||||||
# @version: 2.1
|
|
||||||
|
|
||||||
# CHANGELOG:
|
|
||||||
# v2.1: added more filesystem sync and file handler checks to avoid using corrupted CSV files by going to fast
|
|
||||||
# v2.0: new version of this as a Python script (to replace the old bash script) and implement the newer and improved shaper plotting scripts
|
|
||||||
# v1.7: updated the handling of shaper files to account for the new analysis scripts as we are now using raw data directly
|
|
||||||
# v1.6: - updated the handling of shaper graph files to be able to optionnaly account for added positions in the filenames and remove them
|
|
||||||
# - fixed a bug in the belt graph on slow SD card or Pi clones (Klipper was still writing in the file while we were already reading it)
|
|
||||||
# v1.5: fixed klipper unnexpected fail at the end of the execution, even if graphs were correctly generated (unicode decode error fixed)
|
|
||||||
# v1.4: added the ~/klipper dir parameter to the call of graph_vibrations.py for a better user handling (in case user is not "pi")
|
|
||||||
# v1.3: some documentation improvement regarding the line endings that needs to be LF for this file
|
|
||||||
# v1.2: added the movement name to be transfered to the Python script in vibration calibration (to print it on the result graphs)
|
|
||||||
# v1.1: multiple fixes and tweaks (mainly to avoid having empty files read by the python scripts after the mv command)
|
|
||||||
# v1.0: first version of the script based on a Zellneralex script
|
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
# This script was designed to be used with gcode_shell_commands directly from Klipper
|
# This script was designed to be used with gcode_shell_commands directly from Klipper
|
||||||
|
|||||||
Reference in New Issue
Block a user