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

Resync Dev to main #199

Merged
merged 180 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
01e54bb
Merge pull request #139 from ArmoredTurtle/main
MG-longshot Nov 27, 2024
0244239
Manually merging main into DEV
Nov 28, 2024
b21ee18
Added docstrings back to function in AFC_error, fixed resume renaming…
Nov 28, 2024
58035a5
Updating command reference document
Nov 28, 2024
2a44d40
Fixing liniting issues
jimmyjon711 Nov 28, 2024
67bd79b
Merge pull request #143 from jimmyjon711/manual_main_dev_merge
MG-longshot Nov 28, 2024
9389d54
created spool module
MG-longshot Nov 28, 2024
00f63af
split units to IND modules
MG-longshot Nov 28, 2024
b07ff01
Update AFC_hub.py
MG-longshot Nov 28, 2024
1f7efc2
Update AFC_hub.py
MG-longshot Nov 28, 2024
0031b9b
Update AFC_spool.py
MG-longshot Nov 28, 2024
be650ce
used unit type look up for prep
MG-longshot Nov 28, 2024
660b62b
Update AFC_prep.py
MG-longshot Nov 28, 2024
202fc70
Update AFC_prep.py
MG-longshot Nov 28, 2024
09d5330
Merge pull request #144 from ArmoredTurtle/MG_Longshot
MG-longshot Nov 28, 2024
bcc506a
system_test put in induvial Unit modukes
MG-longshot Nov 29, 2024
876931a
system_test Error handling
MG-longshot Nov 29, 2024
56ce63b
Update AFC_BoxTurtle.py
MG-longshot Nov 29, 2024
78a12ee
whitespace cleanup
MG-longshot Nov 29, 2024
ef78ee7
update
MG-longshot Nov 29, 2024
ab389f3
moved AFC lookup to handle_connect
MG-longshot Nov 29, 2024
eec14a5
Merge pull request #145 from ArmoredTurtle/MG_Longshot
MG-longshot Nov 29, 2024
d5184b2
Autmated T commands
MG-longshot Nov 29, 2024
8323d6f
Merge branch 'main' into main_dev_merge
jimmyjon711 Nov 29, 2024
e145372
Merge pull request #148 from ArmoredTurtle/DEV
MG-longshot Nov 29, 2024
e82c0b1
added Maping command
MG-longshot Nov 29, 2024
85da2c3
Update to allow klipper to run properly
jimmyjon711 Nov 29, 2024
9b67057
missed variable
MG-longshot Nov 29, 2024
80436ea
Update AFC.py
MG-longshot Nov 29, 2024
fc85f47
Merge pull request #149 from ArmoredTurtle/MG_Longshot
MG-longshot Nov 29, 2024
c04adde
Merge branch 'main' into main_dev_merge
jimmyjon711 Nov 30, 2024
98fcb72
Merge branch 'DEV' into main_dev_merge
jimmyjon711 Nov 30, 2024
913cb1a
consolidating lookups
MG-longshot Nov 30, 2024
e5c9f78
consolidating lookups
MG-longshot Nov 30, 2024
0595e78
Update to string.format, fixed some error code references
jimmyjon711 Nov 30, 2024
770c259
Merge branch 'main' into main_dev_merge
jimmyjon711 Nov 30, 2024
6896132
Merge remote-tracking branch 'upstream/MG_Longshot' into main_dev_merge
jimmyjon711 Nov 30, 2024
495fd1a
Fixing linting
jimmyjon711 Nov 30, 2024
7f45279
Removing clear error function from AFC.py
jimmyjon711 Nov 30, 2024
bd6b22e
Merge pull request #152 from ArmoredTurtle/MG_Longshot
MG-longshot Nov 30, 2024
12125c9
Merge branch 'DEV' into main_dev_merge
jimmyjon711 Nov 30, 2024
c6efd9e
Merge pull request #153 from jimmyjon711/main_dev_merge
MG-longshot Nov 30, 2024
ce940d2
Merge pull request #154 from ArmoredTurtle/DEV
MG-longshot Nov 30, 2024
8e276e2
Fixing misc errors found
jimmyjon711 Dec 1, 2024
0949061
Merge branch 'main' into dev_fixes
jimmyjon711 Dec 1, 2024
8d78327
Removing print
jimmyjon711 Dec 1, 2024
106b20c
Merge pull request #157 from jimmyjon711/dev_fixes
MG-longshot Dec 1, 2024
c7325a1
Merge pull request #158 from ArmoredTurtle/DEV
MG-longshot Dec 1, 2024
4a4f7bc
LED to HEX for mainsail
MG-longshot Dec 1, 2024
e8e94f5
Merge pull request #159 from ArmoredTurtle/DEV
MG-longshot Dec 1, 2024
8bfb266
remove extra loookups
MG-longshot Dec 2, 2024
bb0dce1
Merge pull request #160 from ArmoredTurtle/MG_Longshot
MG-longshot Dec 2, 2024
3508fca
Adding Mainsail zip file
MG-longshot Dec 2, 2024
061af6d
Cleaning up and adding more error checking for loading/unloading
Dec 2, 2024
c59a5de
Fixing references to afc_led and AFC_error
jimmyjon711 Dec 2, 2024
f84796a
added maping and runout for mainsail
MG-longshot Dec 2, 2024
388d92b
Update mainsail.zip
MG-longshot Dec 2, 2024
bc9efc8
Delete mainsail.zip
MG-longshot Dec 2, 2024
9c3d7c1
Merge pull request #161 from ArmoredTurtle/MG_Longshot
MG-longshot Dec 2, 2024
f7922c4
Update AFC.py
MG-longshot Dec 2, 2024
72b081b
Add buffer as ram sensor
weemantella Dec 2, 2024
6a8c0f8
Fixing misc errors
jimmyjon711 Dec 2, 2024
869ec69
Merge branch 'DEV' into wondro_changes
jimmyjon711 Dec 2, 2024
8d45d5c
Merge pull request #162 from jimmyjon711/wondro_changes
MG-longshot Dec 2, 2024
a19d397
fix unneeded import and fix buffer calls
weemantella Dec 2, 2024
91d9ff1
Merge 'upstream/DEV' into ram_sensor_dev
weemantella Dec 2, 2024
1a5c597
small revert
weemantella Dec 2, 2024
671ca3b
added comments and fixed sync
weemantella Dec 2, 2024
faffae6
remove repetitive sync call
weemantella Dec 2, 2024
d5e1e47
Add buffer_ram_sensor.md
weemantella Dec 2, 2024
3f6a962
Ram Sensor
weemantella Dec 2, 2024
a95ba6e
changelog update and ram boc
weemantella Dec 2, 2024
f740807
clear whitespaces
weemantella Dec 2, 2024
4dfaa43
Merge pull request #163 from weemantella/ram_sensor_dev
MG-longshot Dec 3, 2024
9395df6
added sync line 766
MG-longshot Dec 3, 2024
3ed4ccd
Update AFC.py
MG-longshot Dec 3, 2024
c46cad3
added default NONE to runout
MG-longshot Dec 3, 2024
0a9a073
Merge branch 'DEV' into MG_Longshot
MG-longshot Dec 3, 2024
3bd8aa6
adjust how the extruders get synced during load and unload
weemantella Dec 3, 2024
92b5a87
Updating readme, adding more information about variables to update
Dec 3, 2024
ed24b24
add motion queue check
weemantella Dec 3, 2024
f568b4e
Adding adjusting bowden length to troubleshooting section
Dec 3, 2024
7ae93db
Adding headers to troubleshooting section
jimmyjon711 Dec 3, 2024
1249d54
Correct Motion Queue
weemantella Dec 3, 2024
9b9bf6e
Merge pull request #165 from weemantella/adjust_extruder_syncs
MG-longshot Dec 3, 2024
335ea17
Merge pull request #166 from jimmyjon711/readme_update
MG-longshot Dec 3, 2024
13cd36f
fixed if map none
MG-longshot Dec 3, 2024
68fa60a
Merge pull request #164 from ArmoredTurtle/MG_Longshot
MG-longshot Dec 3, 2024
babec81
Force restart of klipper if not printing
ejsears Dec 3, 2024
0ca9225
Update changelog
ejsears Dec 3, 2024
a5323b5
added auto generated T commands
MG-longshot Dec 4, 2024
71dcf5c
added console info for T commands
MG-longshot Dec 4, 2024
5e9c8b1
Finalized Tcommands
MG-longshot Dec 4, 2024
5d64118
Merge pull request #167 from ejsears/force-restart-klipper
MG-longshot Dec 4, 2024
6629f6a
Update AFC.py
MG-longshot Dec 4, 2024
5515dbf
added error for map being none
MG-longshot Dec 4, 2024
3b3b7ba
Merge pull request #168 from ArmoredTurtle/MG_Longshot
MG-longshot Dec 4, 2024
e631326
Fixing led status's
jimmyjon711 Dec 5, 2024
b0c3cc8
Cleaned up some errors found in system_test and prep
jimmyjon711 Dec 5, 2024
4f25d9a
Added logic for changing trsync values
jimmyjon711 Dec 5, 2024
ea3d31f
Fixing logic in boxturtle
Dec 5, 2024
3405eee
Changing newline location
jimmyjon711 Dec 5, 2024
7d3cec8
Merge branch 'main' into misc_fixes
Dec 5, 2024
ca3f117
WIP waringing for INFI SPOOL
MG-longshot Dec 5, 2024
cc5442f
Updating changelog
Dec 5, 2024
361e113
Merge pull request #170 from ArmoredTurtle/MG_Longshot
MG-longshot Dec 5, 2024
d8717bf
Fixing whitespace
Dec 5, 2024
4d36152
Added global accel value to macros
Wondro Dec 5, 2024
c777a49
Adding comment for trsync
Dec 5, 2024
6dac2ca
Merge pull request #171 from jimmyjon711/misc_fixes
MG-longshot Dec 5, 2024
8e1e730
Merge pull request #172 from Wondro/DEV
MG-longshot Dec 5, 2024
e65bb64
Merge pull request #173 from ArmoredTurtle/DEV
MG-longshot Dec 5, 2024
64b49c2
added Infinite loop functions
MG-longshot Dec 6, 2024
202388a
removed import of idle_timeout
MG-longshot Dec 6, 2024
d1839f3
added LED change when runout
MG-longshot Dec 6, 2024
585b40a
used better English for status
MG-longshot Dec 6, 2024
1461034
added else for lane ejects
MG-longshot Dec 6, 2024
86366d7
changed to IDLE.state
MG-longshot Dec 6, 2024
2503685
Merge pull request #174 from ArmoredTurtle/MG_Longshot
MG-longshot Dec 6, 2024
03dbe1a
Fixing errors where gcode was not being called correctly, misc spelli…
jimmyjon711 Dec 7, 2024
9ed4f93
Updating so owl prints out green when successful
jimmyjon711 Dec 7, 2024
b34ec6d
Updating troubleshooting section of readme for TTC error
jimmyjon711 Dec 7, 2024
3bfcbcf
Updates to spoolman
jimmyjon711 Dec 8, 2024
2feacf2
Turning on spools when doing lane moves
jimmyjon711 Dec 8, 2024
b041048
Updating changelog
jimmyjon711 Dec 8, 2024
ec5b2d8
Fixing linting results
jimmyjon711 Dec 8, 2024
98b11dd
Merge pull request #175 from jimmyjon711/misc_error_fixes
MG-longshot Dec 8, 2024
625ad0c
Add functionality to check for any T macros in AFC_Macros.cfg and rem…
ejsears Dec 8, 2024
89b54a1
Add functionality to check for any T macros in AFC_Macros.cfg and rem…
ejsears Dec 8, 2024
56515c3
Merge pull request #177 from ejsears/remove-t-macros-from-config
MG-longshot Dec 9, 2024
f6bea04
Added only setting error state when a pause is issued, resetting paus…
jimmyjon711 Dec 9, 2024
062e3ec
Adding code to pause print if prep sensor goes false
jimmyjon711 Dec 10, 2024
893f7ba
Updating changelog
jimmyjon711 Dec 10, 2024
53e81d1
Merge branch 'DEV' into error_state_fix
MG-longshot Dec 10, 2024
18e9ee1
Merge pull request #178 from jimmyjon711/error_state_fix
MG-longshot Dec 10, 2024
aa61e67
Add CALIBRATE_BOWDEN
weemantella Dec 10, 2024
6e7fb6c
Update CHANGELOG.md
weemantella Dec 10, 2024
6d532c6
Update CHANGELOG.md
weemantella Dec 10, 2024
b018586
remove repeated loop
weemantella Dec 10, 2024
b26eb70
update hub loaded and update docs
weemantella Dec 10, 2024
d1bdda1
Fixed print out
weemantella Dec 10, 2024
e3c7ae6
Update Changelog
weemantella Dec 10, 2024
5a31ae5
simplification to AFC_STATUS
weemantella Dec 10, 2024
46ae034
Merge pull request #179 from weemantella/DEV_calibration
MG-longshot Dec 10, 2024
80a35b9
Update README.md
weemantella Dec 10, 2024
2d807db
Update README.md
weemantella Dec 10, 2024
b7633ea
Update README.md
weemantella Dec 10, 2024
7417533
Update README.md
weemantella Dec 10, 2024
46f9221
Update README.md
weemantella Dec 10, 2024
a85240c
Update command_reference.md
weemantella Dec 10, 2024
744ef2e
Merge pull request #182 from weemantella/DEV
MG-longshot Dec 10, 2024
1495c1e
Adding logic so that printer does not pause when ejecting filament
jimmyjon711 Dec 11, 2024
9c860e6
Merge pull request #184 from jimmyjon711/pause_fix
MG-longshot Dec 11, 2024
afe8884
added backwards comp for change_tool macro
MG-longshot Dec 12, 2024
dac5f8f
Adjusted AFC.cfg speed defaults to match macro defaults
Wondro Dec 13, 2024
8484ee4
Merge pull request #185 from Wondro/DEV
MG-longshot Dec 13, 2024
0c32b1c
Standardize confirm_continue function
ejsears Dec 13, 2024
0324cb9
Merge pull request #186 from ejsears/fix-confirmation-prompt
MG-longshot Dec 13, 2024
e7e9ec3
Added tool_loaded to query
MG-longshot Dec 14, 2024
c0385c0
allow tool_end to be none
MG-longshot Dec 14, 2024
d364853
allow too_end to be None
MG-longshot Dec 14, 2024
26519d6
Updating cut macro to be able to adjust current when cutting
jimmyjon711 Dec 14, 2024
2e208d2
Updating README and added troubleshooting step for if layer shift hap…
jimmyjon711 Dec 14, 2024
fe55856
Removing trailing )
jimmyjon711 Dec 14, 2024
6793dfd
Updating readme
jimmyjon711 Dec 14, 2024
da0f303
Updating changelog
jimmyjon711 Dec 14, 2024
9388667
Merge pull request #188 from jimmyjon711/cut_current
MG-longshot Dec 14, 2024
140cd14
Update Calibration
weemantella Dec 14, 2024
64f682c
change default hub_clear_move_dis to 50
weemantella Dec 14, 2024
085ffda
Whitespace clean up
weemantella Dec 14, 2024
cb0d096
Merge pull request #189 from weemantella/DEV
MG-longshot Dec 14, 2024
f405c3c
Update AFC_spool.py
MG-longshot Dec 17, 2024
b3567f1
Bringing DEV up to date with main changes (#193)
jimmyjon711 Dec 17, 2024
5b58d44
Update AFC.py
MG-longshot Dec 17, 2024
663de3c
corrected function name help form color to map
MG-longshot Dec 18, 2024
236b001
added lane status
MG-longshot Dec 18, 2024
6179d37
Update AFC_prep.py
MG-longshot Dec 18, 2024
b447a03
Merging DEV into main to sync back up commits
jimmyjon711 Dec 19, 2024
3feb1dd
Merge branch 'main' into main_dev_sync
jimmyjon711 Dec 19, 2024
07518a6
Adding cd to update section
jimmyjon711 Dec 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ cd AFC-Klipper-Add-On

To update the AFC plugin software, you can simply run the following command:
```bash
cd AFC-Klipper-Add-On
./install-afc.sh
```
The update process should be non-destructive and will not overwrite any existing configuration files without your permission.
Expand Down
22 changes: 18 additions & 4 deletions extras/AFC.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def __init__(self, config):
self.tool_cmds={}
self.afc_monitoring = False

self.desired_order_list = config.get('Vdesired_order_list','')

# tool position when tool change was requested
self.change_tool_pos = None
self.in_toolchange = False
Expand Down Expand Up @@ -441,7 +443,9 @@ def cmd_HUB_LOAD(self, gcmd):
CUR_LANE.move(CUR_HUB.move_dis, self.short_moves_speed, self.short_moves_accel)
while CUR_HUB.state == True:
CUR_LANE.move(CUR_HUB.move_dis * -1, self.short_moves_speed, self.short_moves_accel)
CUR_LANE.status = 'Hubed'
CUR_LANE.status = ''
self.lanes[CUR_LANE.unit][CUR_LANE.name]['status']=CUR_LANE.status
self.save_vars()
CUR_LANE.do_enable(False)
CUR_LANE.hub_load = True
self.lanes[CUR_LANE.unit][CUR_LANE.name]['hub_loaded'] = CUR_LANE.hub_load
Expand Down Expand Up @@ -472,6 +476,8 @@ def cmd_LANE_UNLOAD(self, gcmd):
# extruder motors are still running it does not trigger infinite spool or pause logic
# once user removes filament lanes status will go to None
CUR_LANE.status = 'ejecting'
self.lanes[CUR_LANE.unit][CUR_LANE.name]['status']=CUR_LANE.status
self.save_vars()
CUR_LANE.do_enable(True)
if CUR_LANE.hub_load:
CUR_LANE.move(CUR_LANE.dist_hub * -1, CUR_LANE.dist_hub_move_speed, CUR_LANE.dist_hub_move_accel, True if CUR_LANE.dist_hub > 200 else False)
Expand All @@ -481,6 +487,8 @@ def cmd_LANE_UNLOAD(self, gcmd):
CUR_LANE.move( CUR_HUB.move_dis * -5, self.short_moves_speed, self.short_moves_accel)
CUR_LANE.do_enable(False)
self.lanes[CUR_LANE.unit][CUR_LANE.name]['hub_loaded'] = CUR_LANE.hub_load
CUR_LANE.status = ''
self.lanes[CUR_LANE.unit][CUR_LANE.name]['status']=CUR_LANE.status
self.save_vars()

# Removing spool from vars since it was ejected
Expand Down Expand Up @@ -549,6 +557,8 @@ def TOOL_LOAD(self, CUR_LANE):

# Set the lane status to 'loading' and activate the loading LED.
CUR_LANE.status = 'loading'
self.lanes[CUR_LANE.unit][CUR_LANE.name]['status']=CUR_LANE.status
self.save_vars()
self.afc_led(self.led_loading, CUR_LANE.led_index)

# Check if the lane is in a state ready to load and hub is clear.
Expand Down Expand Up @@ -598,6 +608,8 @@ def TOOL_LOAD(self, CUR_LANE):

# Synchronize lane's extruder stepper and finalize tool loading.
CUR_LANE.status = 'Tooled'
self.lanes[CUR_LANE.unit][CUR_LANE.name]['status']=CUR_LANE.status
self.save_vars()
CUR_LANE.extruder_stepper.sync_to_extruder(CUR_LANE.extruder_name)

# Adjust tool position for loading.
Expand Down Expand Up @@ -723,7 +735,8 @@ def TOOL_UNLOAD(self, CUR_LANE):
extruder = self.toolhead.get_extruder()
self.heater = extruder.get_heater()
CUR_LANE.status = 'unloading'

self.lanes[CUR_LANE.unit][CUR_LANE.name]['status']=CUR_LANE.status
self.save_vars()
# Disable the buffer if it's active.
CUR_EXTRUDER.disable_buffer()

Expand Down Expand Up @@ -846,6 +859,8 @@ def TOOL_UNLOAD(self, CUR_LANE):
CUR_LANE.hub_load = True
self.afc_led(self.led_ready, CUR_LANE.led_index)
CUR_LANE.status = None
self.lanes[CUR_LANE.unit][CUR_LANE.name]['status']=CUR_LANE.status
self.save_vars()
self.current = None
CUR_LANE.do_enable(False)

Expand Down Expand Up @@ -983,9 +998,8 @@ def get_status(self, eventtime):
str[UNIT][NAME]["runout_lane"]=self.lanes[LANE.unit][LANE.name]['runout_lane']
filiment_stat=self.get_filament_status(LANE).split(':')
str[UNIT][NAME]['filament_status']=filiment_stat[0]
self.lanes[UNIT][NAME]['filament_status']=filiment_stat[0]
str[UNIT][NAME]['filament_status_led']=filiment_stat[1]
self.lanes[UNIT][NAME]['filament_status_led']=filiment_stat[1]
str[UNIT][NAME]['status'] = LANE.status if LANE.status is not None else ''
numoflanes +=1
str[UNIT]['system']={}
str[UNIT]['system']['type'] = self.printer.lookup_object('AFC_hub '+ UNIT).type
Expand Down
1 change: 1 addition & 0 deletions extras/AFC_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def PREP(self, gcmd):
if 'tool_loaded' not in self.AFC.lanes[LANE.unit][LANE.name]: self.AFC.lanes[LANE.unit][LANE.name]['tool_loaded'] = False
if 'hub_loaded' not in self.AFC.lanes[LANE.unit][LANE.name]: self.AFC.lanes[LANE.unit][LANE.name]['hub_loaded'] = False
if 'tool_loaded' not in self.AFC.lanes[LANE.unit][LANE.name]: self.AFC.lanes[LANE.unit][LANE.name]['tool_loaded'] = False
if 'status' not in self.AFC.lanes[LANE.unit][LANE.name]: self.AFC.lanes[LANE.unit][LANE.name]['status'] = ''

tmp=[]
for UNIT in self.AFC.lanes.keys():
Expand Down
5 changes: 2 additions & 3 deletions extras/AFC_spool.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
self.URL = 'http://{}:{}/api/v1/spool/'.format(self.AFC.spoolman_ip, self.AFC.spoolman_port)


cmd_SET_MAP_help = "change filaments color"
cmd_SET_MAP_help = "change filaments map"
def cmd_SET_MAP(self, gcmd):
"""
This function handles changing the GCODE tool change command for a Lane.
Expand All @@ -42,7 +42,7 @@
Args:
gcmd: The G-code command object containing the parameters for the command.
Expected parameters:
- LANE: The name of the lane whose color is to be changed.
- LANE: The name of the lane whose map is to be changed.
- MAP: The new tool change gcode for lane (optional, defaults to None).

Returns:
Expand Down Expand Up @@ -112,7 +112,7 @@
Args:
gcmd: The G-code command object containing the parameters for the command.
Expected parameters:

Check failure on line 115 in extras/AFC_spool.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (W293)

extras/AFC_spool.py:115:1: W293 Blank line contains whitespace
LANE: The name of the lane whose weight is to be changed.
WEIGHT: The new weight (optional, defaults to '').

Expand Down Expand Up @@ -141,7 +141,7 @@
Args:
gcmd: The G-code command object containing the parameters for the command.
Expected parameters:

Check failure on line 144 in extras/AFC_spool.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (W293)

extras/AFC_spool.py:144:1: W293 Blank line contains whitespace
LANE: The name of the lane whose material is to be changed.
MATERIAL: The new material (optional, defaults to '').

Expand All @@ -157,7 +157,6 @@
CUR_LANE.material = material
self.AFC.lanes[CUR_LANE.unit][CUR_LANE.name]['material'] = material
self.AFC.save_vars()

def set_active_spool(self, ID):
webhooks = self.printer.lookup_object('webhooks')
if self.AFC.spoolman_ip != None:
Expand Down
Loading