repman
"Start Input Shaping" appears in the menu list.
If I start it, it does the homing, goes to the given coordinates, seems to start the shaking process but aborts with the following error:
--2023-12-30 21:05:01--
http://download1.repetier.com/files/server/extras/inputShaping.sh
Resolving download1.repetier.com (download1.repetier.com)... 94.130.164.39
Connecting to download1.repetier.com (download1.repetier.com)|94.130.164.39|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1253 (1.2K) [application/octet-stream]
Saving to: '/tmp/inputShaping.sh'
/tmp/inputShaping.s 100%[===================>] 1.22K --.-KB/s in 0s
2023-12-30 21:05:01 (33.2 MB/s) - '/tmp/inputShaping.sh' saved [1253/1253]
No data for x axis found - skipping axis.
No data for y axis found - skipping axis.
The printer goes offline and klipper reports:
Lost communication with MCU 'rpi'
After klipper restart the printer is online again.
OK, so I reinstalled input shaping over the menu entry, which worked after three (or even more) tries of searching different python wheels, install scripts and installing numpy (which was already installed by myself, but anyway) with sometimes success sometimes not...
Then I started the process input shaping again and it aborted after round about 6 % progress again with the above error. Trying the recovery brings the printer online again.
So what happens here?
I think there are some prerequisities or preadjustments not satisfied.
To answer the divined question if the accelerometer hardware is ok: Yes, it is!
If I start G28 and TEST_RESONANCES AXIS=X from console, the shaping runs perfect and writes the data to /tmp/resonances_x_<date>.csv. Same with y-axis.
I really like the integration of klipper in RS but sometimes I ask myself:
"Why not using what is already implemented by klipper?"
"Why do I need an installer script (which is loaded via internet)?" Is there not a simpler method of integration than installing everything again in the RS sandbox? This method would be good if it would work out of the box, but IMHO it creates more trouble than it solves.
Sorry for these clear words. I do really like your products and have it since years. I reallly really appreciate the unreached support in this forum by you. But in this case I ask myself: Why reinvent the wheel?
Regards
repman
Here is the relevant part of the console output:
Send:21:57:48.746: SHAPER_CALIBRATE AXIS=X NAME=data FREQ_START=1 FREQ_END=133 HZ_PER_SEC=1
Recv:21:57:52.544: // Disabled [input_shaper] for resonance testing
Recv:21:57:52.544: // Testing frequency 1 Hz
Recv:21:57:52.546: // Testing frequency 2 Hz
Recv:21:57:52.548: // Testing frequency 3 Hz
Recv:21:57:52.550: // Testing frequency 4 Hz
Recv:21:57:52.554: // Testing frequency 5 Hz
Recv:21:57:55.974: // Testing frequency 6 Hz
Recv:21:57:56.951: // Testing frequency 7 Hz
Recv:21:57:57.054: // Klipper state: Shutdown
Recv:21:57:57.462: !! Internal error on command:"SHAPER_CALIBRATE"
Recv:21:57:57.462: ok
Send:21:57:57.462: SHAPER_CALIBRATE AXIS=Y NAME=data FREQ_START=1 FREQ_END=133 HZ_PER_SEC=1
Recv:21:57:57.463: // Lost communication with MCU 'rpi'
Recv:21:57:57.463: // Once the underlying issue is corrected, use the
Recv:21:57:57.463: // "FIRMWARE_RESTART" command to reset the firmware, reload the
Recv:21:57:57.463: // config, and restart the host software.
Recv:21:57:57.463: // Printer is shutdown
Exec:21:57:57.463: @syncMotion
Recv:21:57:57.463: !! Lost communication with MCU 'rpi'
Recv:21:57:57.463: ok
Send:21:57:57.463: Slow command added:M400
Send:21:57:57.463: N28 M400
repman
<blockquote class="Quote">It is important not to switch the tab,
I did not. The operation stops after a short while (~ 6 % progress) whitout any user action.
Tried the command via console:
SHAPER_CALIBRATE AXIS=X NAME=data FREQ_START=1 FREQ_END=133 HZ_PER_SEC=1Result:
Send:11:47:49.308: SHAPER_CALIBRATE AXIS=X NAME=data FREQ_START=1 FREQ_END=133 HZ_PER_SEC=1
Recv:11:47:53.417: // Disabled [input_shaper] for resonance testing
Recv:11:47:53.418: // Testing frequency 1 Hz
Recv:11:47:53.419: // Testing frequency 2 Hz
Recv:11:47:53.421: // Testing frequency 3 Hz
Recv:11:47:53.423: // Testing frequency 4 Hz
...
Recv:11:48:18.763: // Testing frequency 28 Hz
Recv:11:48:19.768: // Testing frequency 29 Hz
Mesg:11:48:20.317: Warning: Communication timeout - resetting communication buffer.
Mesg:11:48:20.317: This means that a expected firmware response was not seen within the expected time.
Mesg:11:48:20.317: The typical reason is a communication error and print should continue after the communication reset.
Mesg:11:48:20.317: Connection status: Buffered:73, Manual Commands: 0, Job Commands: 0
Mesg:11:48:20.317: Buffer used:73 Enforced free byte:0 lines stored:1
Recv:11:48:20.780: // Testing frequency 30 Hz
Recv:11:48:21.778: // Testing frequency 31 Hz
Recv:11:48:22.491: // Klipper state: Shutdown
Recv:11:48:22.879: // Testing frequency 32 Hz
Recv:11:48:22.891: !! Internal error on command:"SHAPER_CALIBRATE"
Mesg:11:48:22.891: Received extra ok - ignored
Shutdown: Lost communication with MCU 'rpi' ....
Tried the klipper proposed:
TEST_RESONANCES AXIS=X
Result:
Send:11:58:45.407: TEST_RESONANCES AXIS=X
Recv:11:58:49.072: // Disabled [input_shaper] for resonance testing
Recv:11:58:49.072: // Testing frequency 5 Hz
Recv:11:58:49.072: // Testing frequency 6 Hz
...
Recv:11:59:14.410: // Testing frequency 32 Hz
Recv:11:59:15.413: // Testing frequency 33 Hz
Recv:11:59:16.407: // Testing frequency 34 Hz
Mesg:11:59:16.407: Warning: Communication timeout - resetting communication buffer.
Mesg:11:59:16.407: This means that a expected firmware response was not seen within the expected time.
Mesg:11:59:16.407: The typical reason is a communication error and print should continue after the communication reset.
Mesg:11:59:16.408: Connection status: Buffered:23, Manual Commands: 0, Job Commands: 0
Mesg:11:59:16.408: Buffer used:23 Enforced free byte:0 lines stored:1
Recv:11:59:17.423: // Testing frequency 35 Hz
Recv:11:59:18.412: // Testing frequency 36 Hz
Recv:11:59:19.428: // Testing frequency 37 Hz
...
Recv:12:00:53.468: // Testing frequency 131 Hz
Recv:12:00:54.463: // Testing frequency 132 Hz
Recv:12:00:55.465: // Testing frequency 133 Hz
Recv:12:00:55.972: // Re-enabled [input_shaper]
Recv:12:01:03.217: // Wait for calculations..
Recv:12:01:04.945: // Resonances data written to /tmp/resonances_x_20231231_115845.csv file
Mesg:12:01:04.945: Received extra ok - ignored
No shutdown at all! The results are there as described.
For me it seems like the same communication error appears in the test resonances script but leads not to a stop of the operation. The shaping script waits and starts testing at the new frequency.
Any ideas?