logging cycle and values after homing

This commit is contained in:
sanjayk03-dev
2024-07-22 21:16:40 +05:30
parent 58fee0b36e
commit 95c05031be
2 changed files with 11 additions and 0 deletions

View File

@@ -319,6 +319,13 @@ class Mach(Comm):
self.log.info('Set the state value from config: {} = {}'.format('offset_' + axis , config.values['offset_' + axis]))
else:
self.log.info('Values is not present in config:{}'.format('offset_' + axis))
self.log.info('324: Cycle : {}'.format(state.get('cycle')))
for axis in axes:
if 'offset_' + axis in config.values:
self.log.info('327 axis: {} == {}'.format(axis, config.values['offset_' + axis]))
# self.set_position(axis, -float(config.values['offset_' + axis]))
def unhome(self, axis): self.mdi('G28.2 %c0' % axis)