probe: Support manual probing at runtime

Don't require the config file to specify manual probing.  Instead,
allow the user to select manual probing on each ProbePointsHelper
invocation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-09-26 13:07:18 -04:00
committed by KevinOConnor
parent 0e9b8abde2
commit 33887b8c39
10 changed files with 41 additions and 54 deletions

View File

@@ -38,7 +38,7 @@ class QuadGantryLevel:
self.z_steppers = z_steppers
cmd_QUAD_GANTRY_LEVEL_help = "Conform a moving, twistable gantry to the shape of a stationary bed"
def cmd_QUAD_GANTRY_LEVEL(self, params):
self.probe_helper.start_probe()
self.probe_helper.start_probe(params)
def probe_finalize(self, offsets, positions):
logging.info("quad_gantry_level Calculating gantry geometry with: %s", positions)
p1 = [positions[0][0] + offsets[0],positions[0][2]]