tuning_tower: Report start of tuning test on g-code console
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
89d1ab7c04
commit
00fd6223ed
|
@ -30,12 +30,12 @@ class TuningTower:
|
||||||
self.factor = gcode.get_float('FACTOR', params)
|
self.factor = gcode.get_float('FACTOR', params)
|
||||||
self.band = gcode.get_float('BAND', params, 0., minval=0.)
|
self.band = gcode.get_float('BAND', params, 0., minval=0.)
|
||||||
# Enable test mode
|
# Enable test mode
|
||||||
logging.info("Starting tuning test (start=%.6f factor=%.6f)",
|
|
||||||
self.start, self.factor)
|
|
||||||
self.normal_transform = gcode.set_move_transform(self, force=True)
|
self.normal_transform = gcode.set_move_transform(self, force=True)
|
||||||
self.last_z = -99999999.9
|
self.last_z = -99999999.9
|
||||||
gcode.reset_last_position()
|
gcode.reset_last_position()
|
||||||
self.get_position()
|
self.get_position()
|
||||||
|
gcode.respond_info("Starting tuning test (start=%.6f factor=%.6f)"
|
||||||
|
% (self.start, self.factor))
|
||||||
def get_position(self):
|
def get_position(self):
|
||||||
pos = self.normal_transform.get_position()
|
pos = self.normal_transform.get_position()
|
||||||
self.last_postition = list(pos)
|
self.last_postition = list(pos)
|
||||||
|
|
Loading…
Reference in New Issue