Closed Surax98 closed 3 months ago
The discrepancy in acceleration values between the SHAPER_CALIBRATE process in Mainsail and the manual execution of the Klipper calibration script could be due to several factors, including differences in how data is processed or settings within Mainsail or Moonraker. To address this issue:
Verify Mainsail and Moonraker configurations: Ensure all related settings are correctly configured, particularly those involving the ADXL345 accelerometer. Incorrect configurations can impact the results of the calibration process.
Experiment with different setups: If feasible, try using a different accelerometer or running the calibration on a different system or browser. This can help identify if the issue is related to specific hardware or software environments.
Analyze the CSV data: Compare the CSV data from both calibration processes. Differences in the data used for calibration could explain the variance in recommended shaper frequencies and max acceleration values.
If these steps do not clarify the cause of the discrepancy, providing more details about your setup, including the specific configurations of Mainsail, Moonraker, and the ADXL345, could help in diagnosing the issue further.
To continue the conversation, mention @dosu.
@Surax98 mainsail is only a webgui. All gcodes will be executed by Klipper itself.
@Surax98 mainsail is only a webgui. All gcodes will be executed by Klipper itself.
Yeah, that was my thought but i can't find any other explanation on why the webgui returns some values while the python scripts other ones. Maybe Moonraker loses some values for whatever reason? Should I open a issue on theri GH?
No. Moonraker only pass the data
Mainsail Version:
v2.11.2
Browser:
Edge
Device:
Desktop PC
Operating System:
Windows
What happened?
The SHAPER_CALIBRATE post-processing phase returns very weird data
What did you expect to happen instead?
Getting correct acceleration values
How to reproduce this bug?
Run SHAPER_CALIBRATE using a Flying ADXL345 by Mellow
Additional information:
The following is what I get by running the X axis calibration by SHAPER_CALIBRATE and waiting for the output:
This is instead the output by using the same collected CSV data, but manually executing the klipper calibrate script:
It is pretty obvious that there is something strange going on, either by Mainsail side or Moonraker side (if that's the case, I will open the issue on Moonraker's GitHub page).