mirror of https://github.com/Desuuuu/klipper.git
winch: Improve python3 compatibility
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
0e9cb2abac
commit
611b76369f
|
@ -28,7 +28,7 @@ class WinchKinematics:
|
||||||
for s in self.steppers:
|
for s in self.steppers:
|
||||||
s.set_max_jerk(max_halt_velocity, max_accel)
|
s.set_max_jerk(max_halt_velocity, max_accel)
|
||||||
# Setup boundary checks
|
# Setup boundary checks
|
||||||
acoords = zip(*self.anchors)
|
acoords = list(zip(*self.anchors))
|
||||||
self.axes_min = toolhead.Coord(*[min(a) for a in acoords], e=0.)
|
self.axes_min = toolhead.Coord(*[min(a) for a in acoords], e=0.)
|
||||||
self.axes_max = toolhead.Coord(*[max(a) for a in acoords], e=0.)
|
self.axes_max = toolhead.Coord(*[max(a) for a in acoords], e=0.)
|
||||||
self.set_position([0., 0., 0.], ())
|
self.set_position([0., 0., 0.], ())
|
||||||
|
|
Loading…
Reference in New Issue