Adjusted values for edge following. Can now follow rather steep curves.

This commit is contained in:
d3rped 2018-03-22 09:56:11 +01:00
parent 94885dee1f
commit f59ae44d4e

View file

@ -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