probe: Add PROBE_ACCURACY command

Implementation of "PROBE_ACCURACY" to measure the maximum, minimum,
average and standard deviation of a probe.

Signed-off-by: Rui Caridade <rui.mcbc@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Rui Caridade 2019-02-18 00:23:32 -05:00 committed by Kevin O'Connor
parent 82efed5e2a
commit 276d5a1436
2 changed files with 78 additions and 1 deletions

View file

@ -187,6 +187,10 @@ enabled:
- `PROBE`: Move the nozzle downwards until the probe triggers.
- `QUERY_PROBE`: Report the current status of the probe ("triggered"
or "open").
- `PROBE_ACCURACY [REPEAT=<times>] [SPEED=<speed mm/s>] [X=<x pos>]
[Y=<y pos>] [Z=<z height>]`: Calculate the maximum, minimum, average,
median and standard deviation. The default values are: REPEAT=10,
SPEED=probe config speed, X=current X, Y=current Y and Z=10.
- `PROBE_CALIBRATE [SPEED=<speed>]`: Run a helper script useful for
calibrating the probe's z_offset. See the MANUAL_PROBE command for
details on the parameters and the additional commands available