Clean up, simplify and generalize the Allen-key-probe code.
Add a optional feedrate parameter to do_blocking_move() and its companions.
*Move Allen Key probe move scripts to their own functions
There was an hidden extra move after the scripts. This is configurable now.
Added the extra moves to the relevant configs.
Generalize and simplify triggered when stowed test
The PROBE_IS_TRIGGERED_WHEN_STOWED_TEST is able to detect if a probe is
successfully deployed/stowed.
It was part of the Allen Key probes code only.
Now the function is generally available.
Currently this test is compulsory for Allen Key probes to not alter the used behavior
If you want to add the test for an other type of probe simply add
#define PROBE_IS_TRIGGERED_WHEN_STOWED_TEST to your config.
Make use of the good features of a sled probe for all probes.
Move and extend axis_unhomed test to deploy/stow_z_probe().
Move and extend position store/restore to deploy/stow_z_probe().
Now all kinds of probes can use the 'E' parameter in G29/M48.
Allen key probes can be used now for grid and 3-point leveling.
Deploying the Allen Key probe uses big moves in z direction.
Too dangerous for an unhomed z-axis.
Throw a compile time error when we try to configure an
Allen Key probe homing to z-min and having no other z-min-endstop.
Unify deploy_z_probe() and stow_z_probe() to deploy_stow_probe(bool stow)
and give it a return value - true fair failure - false for 'ok'.
Make the callers break when failure is detected.
Clean up, simplify and generalize the Allen-key-probe code.
do_blocking_move()
and its companions. *Move Allen Key probe move scripts to their own functions There was an hidden extra move after the scripts. This is configurable now. Added the extra moves to the relevant configs.PROBE_IS_TRIGGERED_WHEN_STOWED_TEST
is able to detect if a probe is successfully deployed/stowed. It was part of the Allen Key probes code only. Now the function is generally available. Currently this test is compulsory for Allen Key probes to not alter the used behavior If you want to add the test for an other type of probe simply add#define PROBE_IS_TRIGGERED_WHEN_STOWED_TEST
to your config.deploy_z_probe()
andstow_z_probe()
todeploy_stow_probe(bool stow)
and give it a return value - true fair failure - false for 'ok'. Make the callers break when failure is detected.