Comments (8)
@Frix-x thanks for your reply!!!
On K1 machines it's a problem as the Klipper version, as the QIDI, are really old and not have the libraries for some process... Having your solution with all need in one place was great but probably as you commented should be complex.
I had my K1 Max and I can test without problems.
For QIDI was implemented some basic scripts and macros to generate the graphs and works well, if you have time you can review here https://labs-3dwork-io.translate.goog/reviews-guias/impresoras-3d/fdm/qidi/qidi-x-max-3/qidi-x-max-3-technical-guide?_x_tr_sl=es&_x_tr_tl=en&_x_tr_hl=es&_x_tr_pto=wapp at Input Shaper section, but your method provide interested and extra information compared to standard. The problem on QIDI using your setup is an error related to Plot... I will try tomorrow and share the exact error... I do not investigate in detail but probably will be due QIDI old Klipper version.
Again thanks for answering and your excellent work!!!
from klippain-shaketune.
Yes sure, if you are equiped with the machines, please share the errors encountered, it will help me to try to make it more compatible :)
from klippain-shaketune.
Hello thanks for this request :)
I've looked a little bit at the problem and it seems that it will be pretty hard to make it work on Creality K1 printers since it need a root access, the OS is not debian based so the packages may be differents and I don't have the machine myself to test it ^^ But if someone have the machine and want to give it a try, I'm open to integrate it as a PR.
Regarding the QIDI machines, it should already work correctly since i'm always using the user path expansion variable ${HOME}
or ~/xxx
. So it should expand correctly to whatever user is set on the machine (pi, mks or biqu for example)
from klippain-shaketune.
I get an error on a Qidi X Max-3 machine that plot is not generating after executing BELTS_SHAPER_CALIBRATION.
This is the error message:
// Writing raw accelerometer data to /tmp/raw_data_axis=1.000,-1.000_a.csv file
// Unknown command:"RESPOND"
!! Error running command {plot_graph}
Really hope to get it run.
Great piece of work, thank you very much!
from klippain-shaketune.
I get an error on a Qidi X Max-3 machine that plot is not generating after executing BELTS_SHAPER_CALIBRATION.
This is the error message: // Writing raw accelerometer data to /tmp/raw_data_axis=1.000,-1.000_a.csv file // Unknown command:"RESPOND" !! Error running command {plot_graph}
Really hope to get it run. Great piece of work, thank you very much!
This is unlikely the error: the RESPOND command is only used to gives some logs in the Mainsail/Fluidd console and it doesn't crash if not defined. To fix this you can just add [respond]
somewhere in your config and it will solve this "unknown RESPOND command" warning.
However, I would like to get your klippy.log to see what is the reason of the plot_graph failure
from klippain-shaketune.
from klippain-shaketune.
from klippain-shaketune.
As @ohyeah8000 same error
Error from the log:
Writing raw accelerometer data to /tmp/raw_data_axis=1.000,-1.000_a.csv file
shell_command: Command {plot_graph} failed
Traceback (most recent call last):
File "/home/mks/klipper/klippy/extras/gcode_shell_command.py", line 54, in cmd_RUN_SHELL_COMMAND
self.command + gcode_params, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Error running command {plot_graph}
Error running command {plot_graph}
This is the klipper/scripts directory from QIDI:
This is how I do myself currently for this machine:
#!/bin/bash
#set -e -u -o pipefail
## the TEST_RESONANCES command seems to return before all data is completely
## written. it'd be better to poll for the files to be completely written,
## but this has been reliable for me so far…
sleep 10
outdir=/home/mks/klipper_config/input_shaper
if [ ! -d "${outdir}" ]; then
mkdir "${outdir}"
fi
/home/mks/klipper/scripts/graph_accelerometer.py \
-c /tmp/*.csv \
-o "${outdir}/belt-tension-resonances-$( date +'%Y-%m-%d-%H%M%S' ).png"
rm /tmp/raw_data_axis*
Finally the Klippy.log:
klippy (1).log
Probably the system from QIDI miss to install some dependencies needed for your scripts.
from klippain-shaketune.
Related Issues (20)
- TypeError: find_best_shaper() got an unexpected keyword argument 'shapers' HOT 4
- Error loading template 'gcode_macro AXES_SHAPER_CALIBRATION HOT 5
- After Running AXES_MAP_CALIBRATION i do not get the graphs HOT 7
- None vs none in K-SnT_axis.cfg HOT 1
- Error loading template 'gcode_macro AXES_SHAPER_CALIBRATION HOT 2
- ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. HOT 4
- unexpected keyword argument HOT 5
- Does the Belts graph support four-motor awd? HOT 1
- SET_VELOCITY_LIMIT is deprecated HOT 3
- Shaketune vibration not compiling CSV data into graphs. HOT 1
- BELTS_SHAPER_CALIBRATION: Error running command {shaketune} HOT 4
- Running Command {shaketune}...: Illegal instruction HOT 5
- S&T will not create the graph HOT 3
- S&T new version not generating Graph after running. HOT 5
- AXES_MAP_CALIBRATION not outputing any information HOT 3
- Measure Fan Vibration HOT 4
- AXES_SHAPER_CALIBRATION doesn't generate graph HOT 3
- accel_per_hz support HOT 1
- Добавить в описание по установке пункт: "Обязательно добавить секцию [resonance_tester] в printer.cfg".
- Backup and Uninstall HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klippain-shaketune.