manual_stepper: Add missing calc_position() wrapper call
Commit 3814a132
added code to homing.py to call calc_position() - add
that function to manual_stepper.py .
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
25e493ef75
commit
8d4d16d51a
|
@ -121,6 +121,8 @@ class ManualStepper:
|
||||||
return self
|
return self
|
||||||
def get_steppers(self):
|
def get_steppers(self):
|
||||||
return self.steppers
|
return self.steppers
|
||||||
|
def calc_position(self, stepper_positions):
|
||||||
|
return [stepper_positions[self.rail.get_name()], 0., 0.]
|
||||||
|
|
||||||
def load_config_prefix(config):
|
def load_config_prefix(config):
|
||||||
return ManualStepper(config)
|
return ManualStepper(config)
|
||||||
|
|
Loading…
Reference in New Issue