Skip to content
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

added Lane Status #194

Closed
wants to merge 7 commits into from
Closed

added Lane Status #194

wants to merge 7 commits into from

Conversation

MG-longshot
Copy link
Collaborator

Major Changes in this PR

Notes to Code Reviewers

How the changes in this PR are tested

PR Checklist: (Checked-off items are either done or do not apply to this PR)

  • I have performed a self-review of my code
  • CHANGELOG.md is updated (if end-user facing)
  • Sent notification to software-design channel requesting review

MG-longshot and others added 7 commits December 14, 2024 12:03
* Added docstrings back to function in AFC_error, fixed resume renaming since AFC_RESUME moved to AFC_error file

* Updating command reference document

* Fixing liniting issues

* created spool module

Split spool functions to separate module and added Runout command

* split units to IND modules

Started the split of unit types to individual modules

* Update AFC_hub.py

* Update AFC_hub.py

* Update AFC_spool.py

* used unit type look up for prep

* Update AFC_prep.py

* Update AFC_prep.py

fixed typo

* system_test put in induvial Unit modukes

Removed pep test from AFC_Prep to callout for individual types

* system_test Error handling

* Update AFC_BoxTurtle.py

* whitespace cleanup

* update

* moved AFC lookup to handle_connect

* Autmated T commands

automated T commands no user macro required

* added Maping command

* Update to allow klipper to run properly
- Fixed indented code so that lane status would come out during PREP
- Fixed errors when setting active_spool during PREP
- Removed getting unit type object during prep and now only get it in AFC_prep init
- Updated buffer enable to use extruder buffer enable

* missed variable

* Update AFC.py

* consolidating lookups

* consolidating lookups

* Update to string.format, fixed some error code references

* Fixing linting

* Removing clear error function from AFC.py

* Fixing misc errors found
- Added try catch when mapping T(n) commands
- Fixed references to pause_print
- Added some logging when doing toolchange
- Added check to make sure printer was homed before doing toolchange
- Fixed places where self.AFC was not added for some function calls

* Removing print

* LED to HEX for mainsail

-converted LED status to Hex to use in mainsail

- Added bypass check in prep

* remove extra loookups

* Adding Mainsail zip file

* Cleaning up and adding more error checking for loading/unloading

* Fixing references to afc_led and AFC_error

* added maping and runout for mainsail

* Update mainsail.zip

* Delete mainsail.zip

* Update AFC.py

fixed in tool hex code

* Add buffer as ram sensor

* Fixing misc errors
- Added try except for spoolman api fetching
- Fixed led references in AFC_error
- Fixed hex code when filament is 'In Tool'

* fix unneeded import and fix buffer calls

* small revert

* added comments and fixed sync

* remove repetitive sync call

* Add buffer_ram_sensor.md

* Ram Sensor

* changelog update and ram  boc

* clear whitespaces

* added sync line 766

* Update AFC.py

* added default NONE to runout

* adjust how the extruders get synced during load and unload

* Updating readme, adding more information about variables to update

* add motion queue check

* Adding adjusting bowden length to troubleshooting section

* Adding headers to troubleshooting section

* Correct Motion Queue

* fixed if map none

* Force restart of klipper if not printing

* Update changelog

* added auto generated T commands

* added console info for T commands

* Finalized Tcommands

* Update AFC.py

* added error for map being none

* Fixing led status's

* Cleaned up some errors found in system_test and prep
- Reworded some printouts so they are clearer to the user
- Fixed system_test to return error status if a lane detected an error
- Fixed prep not showing error if system_test has a failure

* Added logic for changing trsync values

* Fixing logic in boxturtle

* Changing newline location

* WIP waringing for INFI SPOOL

* Updating changelog

* Fixing whitespace

* Added global accel value to macros
Added per macro accel value to Brush, Cut, and Kick that will overwrite the global if set
Removed T macro from AFC_macros

* Adding comment for trsync

* added Infinite loop functions

* removed import of idle_timeout

* added LED change when runout

* used better English for status

* added else for lane ejects

* changed to IDLE.state

* Fixing errors where gcode was not being called correctly, misc spelling fixes

* Updating so owl prints out green when successful

* Updating troubleshooting section of readme for TTC error

* Updates to spoolman
- When lane is unloaded with BT_TOOL_UNLOAD active spool is set to none
- When lane is ejected spool is removed from variables and saved

* Turning on spools when doing lane moves

* Updating changelog

* Fixing linting results

* Add functionality to check for any T macros in AFC_Macros.cfg and remove them

* Add functionality to check for any T macros in AFC_Macros.cfg and remove them

* Added only setting error state when a pause is issued, resetting pause variable on resumes and for successful fixes

* Adding code to pause print if prep sensor goes false

* Updating changelog

* Add CALIBRATE_BOWDEN

* Update CHANGELOG.md

* Update CHANGELOG.md

* remove repeated loop

* update hub loaded and update docs

* Fixed print out

* Update Changelog

* simplification to AFC_STATUS

* Update README.md

add calibration

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update command_reference.md

* Adding logic so that printer does not pause when ejecting filament

* added backwards comp for change_tool macro

* Adjusted AFC.cfg speed defaults to match macro defaults

* Standardize confirm_continue function

* Added tool_loaded to query

* allow tool_end to be none

* allow too_end to be None

* Updating cut macro to be able to adjust current when cutting

* Updating README and added troubleshooting step for if layer shift happens while cutting

* Removing trailing )

* Updating readme

* Updating changelog

* Update Calibration

* change default hub_clear_move_dis to 50

* Whitespace clean up

---------

Co-authored-by: jimmyjon711 <[email protected]>
Co-authored-by: jimmyjon711 <[email protected]>
Co-authored-by: Weemantella <[email protected]>
Co-authored-by: Eric Sears <[email protected]>
Co-authored-by: Wondro <[email protected]>
Co-authored-by: weemantella <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants