-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using [adxl345 my_custom_name] doesn't work for vibrations graphs #44
Comments
If I rename "adxl345-toolboard-sp20_00n1.csv" to "toolboard-sp20_00n1.csv"the files in the /tmp folder, the program works and generate the plot... |
Hello, So if you have something like The main problem I need to overcome is that |
This is my attempt to fix this. |
i've modified is_workflow.py line 139 now VIBRATIONS_CALIBRATION ACCEL_CHIP=toolboard |
will this work for lis2dw also, or is adxl fixed in there |
Hey @Frix-x thanks for this awesome module! Currently this issue also affects bed slingers as well since you need 2 adxls by necessity (one for toolhead and one for the bed). I'll take a look at the code and see if I can at least fix this for bedflingers (which we could enforce a set "toolhead" and "bed" naming scheme to have it follow a convention S&T can follow |
Thanks for the proposal. |
Just to let you know that the new version is almost finished. And in this new version, I've made a fix for this problem. Now S&T runs as a real Klipper extras plugin: so I've got access to the accelerometer objects directly in the Python side, and I've added some logic to use the best accelerometer each time, based on the ones configured in the |
K-Shake&Tune module branch
Version
v2.5.0-2-g0696a60b
Describe the bug and expected behavior
I've a printer with RatOS installed,
When i run VIBRATIONS_CALIBRATION command i recieve the error "Invalid adxl345 id (got ff vs e5).
If i run VIBRATIONS_CALIBRATION ACCEL_CHIP="toolboard" or VIBRATIONS_CALIBRATION ACCEL_CHIP=toolboard
the commad start correctly and execute the data log but after:
"Machine and motors vibration graph generation..."
"This may take some time (3-5min)
I recieve the message "No CSV files found in the /tmp folder to create the vibration graphs!"
In the /tmp directory there are the .csv files with this name:
"adxl345-toolboard-sp20_00n1.csv" ecc.
What's i'm doing wrong?
Additional information and klippy.log
klippy.log
The text was updated successfully, but these errors were encountered: