Beispiel #1
0
 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
Beispiel #2
0
 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
Beispiel #3
0
    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