def jog(self, forwards=True): Axis.jog(self, forwards) if forwards: self.current_steps = self.actual_high_lim self.current_pos = self.actual_high_lim else: self.current_steps = self.actual_low_lim self.current_pos = self.actual_low_lim