Open viesturz opened 2 weeks ago
Thanks. Some feedback:
-Kevin
Can you expand on the subtle dependencies? As it stands there is no overlap in the code. Genuinely trying to understand what is going on.
Some core issues I ran into:
start_probe_session(), run_probe(), pull_probed_results(), end_probe_session()
; b) multi_probe_start(), probe_prepare(), homing_move_begin(), homing_move_end(), probe_finalize(), multi_probe_end()
; and c) multi_probe_start(), probing_move() (which calls probe_prepare(), homing_move_begin(), homing_move_end(), probe_finalize() ), multi_probe_end()
. If HomingViaProbeHelper is not instantiated then mode "c" breaks as probe_prepare() and probe_finalize() are not invoked. As before, the low-level probe interface is overly confusing - but it looked to me that fixing it will need a rework of the homing interface - which will take some time to accomplish.-Kevin
The probe refactor is very helpful in making things more modular. However the Homing and Probing are stil tied together. This is a one-liner to make them independant. Allowing to have multiple probes and assigning homing to one.
Related: https://github.com/viesturz/klipper-toolchanger/commit/83873f82a9a64de35cafe698965efa2ef51f7adc