Adjusted values for edge following. Can now follow rather steep curves.
This commit is contained in:
parent
94885dee1f
commit
f59ae44d4e
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ class Move:
|
|||
self._wheel_r.run()
|
||||
while (self._bumper.value() == False and self._camera.lastcolor == None):
|
||||
self._camera.refresh()
|
||||
self._wheel_l.speed_set((60 - (self._camera.getbrightness()/5))/1.5)
|
||||
self._wheel_r.speed_set((self._camera.getbrightness()/5)/1.5)
|
||||
self._wheel_l.speed_set((60 - (self._camera.getbrightness()/5))-4)
|
||||
self._wheel_r.speed_set((self._camera.getbrightness()/5))
|
||||
self._camera.getcolor()
|
||||
if(isknownstation == False):
|
||||
pass # run odometry stuff here
|
||||
|
|
Loading…
Reference in a new issue