PFW-1504 too much?
I'm not happy with the current solution, I think we can improve it by using the fact that this is a triangle wave. Need to think about it.
This commit is contained in:
parent
73c76579af
commit
9145c8f59f
|
|
@ -249,6 +249,25 @@ bool MMU2::VerifyFilamentEnteredPTFE() {
|
||||||
|
|
||||||
TryLoadUnloadProgressbarInit();
|
TryLoadUnloadProgressbarInit();
|
||||||
|
|
||||||
|
/* The position is basically a triangle wave
|
||||||
|
// current position is not zero, so it is an offset
|
||||||
|
// y(x)
|
||||||
|
// ▲
|
||||||
|
// │
|
||||||
|
// │ ^◄────────── delta_mm - current_position
|
||||||
|
// │ / \
|
||||||
|
// │ / \
|
||||||
|
// │ / \
|
||||||
|
// machine │ / \
|
||||||
|
// position (mm)│ / \
|
||||||
|
// │ / \
|
||||||
|
// │ / \
|
||||||
|
// │/ \◄───────current_position
|
||||||
|
// └───────────────────► x
|
||||||
|
// 0 19
|
||||||
|
// pixel #
|
||||||
|
*/
|
||||||
|
|
||||||
MoveE(delta_mm, MMU2_VERIFY_LOAD_TO_NOZZLE_FEED_RATE);
|
MoveE(delta_mm, MMU2_VERIFY_LOAD_TO_NOZZLE_FEED_RATE);
|
||||||
MoveE(-delta_mm, MMU2_VERIFY_LOAD_TO_NOZZLE_FEED_RATE);
|
MoveE(-delta_mm, MMU2_VERIFY_LOAD_TO_NOZZLE_FEED_RATE);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue