Well that's awkward... added missing ':' to if condition. Everything but navpath following was tested and works decently well. ^~^

This commit is contained in:
d3rped 2018-03-26 18:20:36 +02:00
parent fc3a9465cc
commit eabe7c650f

View file

@ -110,7 +110,7 @@ class Move:
def getstats(self):
stats = list(self._odometry.coordinates_get())
if(self._sensor.bumperwaspressed)
if(self._sensor.bumperwaspressed):
stats.append(-1)
else:
stats.append(1)