def down(): look_down() if anomaly.check() == True: while encoders.d_move()[0] <= lm and encoders.d_move()[1] <= lm: forward() sstop() encoders.refresh() return True else: return False
def down(): look_down() if check() == True: while d_move()[0] <= lm and d_move()[1] <= lm: forward() sstop() refresh() return True else: return False