AFCProject / AFCProject/AFC-Klipper-Add-On

Suggestions from Discord on reliability

Open
#369 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
261
Forks
98
Avg merge
3d 19h
Merged PRs (30d)
15

Description

First improvement suggestion:

  • When a new introduced settings "reload on failed load" is enabled (default: false, so updating users do not get it enabled by default) and "reload max retries" is not reached, the filament is unloaded similar to the LANE_EJECT macro with the difference that it stops after "untriggering" the hub sensor. This prevents full bowden length unload into nirvana. And rerun the load cmd again
  • When the max retries has been reached, an error is thrown

Second improvement suggestion:

  • When loading, a new state for "attempt load" is introduced and set when the filament triggers the hub sensor. This setting is "var saved".
  • The state is change to the loaded state after the operation was successful. (var saved as usual)
  • When something happens to result in a firmware-restart or similar, the BT can do the prep and acknowledges which filament is still in the bowden.
  • Calling BT TOOL UNLOAD in a state of "attempt load" unloads the filament in steps like in the LANE_EJECT command without going all out (as described in first suggestion)

Both improvements have the following effects:

  1. a failed load has the chance to be self-remediated by unloading it back to in front of the hub sensor, resulting in reliable print finishes without intervention
  2. if it errors out or the configuration has this feature disabled, the manual intervention is to hit "BT_TOOL_UNLOAD" to unload the filament instead of trying to fix it by manual parameterized calls of BT_LANE_MOVE

https://discord.com/channels/1229586267671629945/1359941893013897346/1360919767556558858

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the BT_TOOL_UNLOAD, BT_LANE_MOVE, and LANE_EJECT entry points named in the issue, then review how load failures and filament state are currently handled. Done means failed loads can retry when enabled, stop unloading at the hub sensor, report an error after the retry limit, and let BT_TOOL_UNLOAD recover an attempted load.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.