Compare commits

..

No commits in common. "9608a0166ba4729c6a5109fa209c2097a8e90233" and "2c84014bbf459529e406c090f83107bbf7b97961" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View File

@ -8,8 +8,8 @@ SONAR_ADC_PIN = 1
# Motor Pins # Motor Pins
MOTOR_FL_F = 6 MOTOR_FL_F = 6
MOTOR_FL_R = 7 MOTOR_FL_R = 7
MOTOR_FR_F = 9 MOTOR_FR_F = 8
MOTOR_FR_R = 8 MOTOR_FR_R = 9
MOTOR_RL_F = 10 MOTOR_RL_F = 10
MOTOR_RL_R = 11 MOTOR_RL_R = 11
MOTOR_RR_F = 13 MOTOR_RR_F = 13

View File

@ -163,7 +163,8 @@ class motion:
def __roam_handle(self): def __roam_handle(self):
if self.sensors.sonar_get_distance()<500: if self.sensors.sonar_get_distance()<500:
self.turn(50,2000) self.turn(50,1500)
time.sleep(0.1)
self.drive(25) self.drive(25)
time.sleep(0.5) time.sleep(0.5)
if not self.roaming: if not self.roaming: