adjust roam parameter

This commit is contained in:
Siwat Sirichai 2022-11-09 23:27:42 +07:00
parent 1ae7b3dbb2
commit 7bf2ead82c
1 changed files with 2 additions and 2 deletions

View File

@ -105,9 +105,9 @@ class motion:
self.__roam_handle() self.__roam_handle()
def __roam_handle(self): def __roam_handle(self):
sensitivity = 65 sensitivity = 35
turn_speed = 30 turn_speed = 30
drive_speed = 30 drive_speed = 25
self.drive(drive_speed) self.drive(drive_speed)
f_dist = self.sensors.sonar_get_distance(1) f_dist = self.sensors.sonar_get_distance(1)