Well that's awkward... added missing ':' to if condition. Everything but navpath following was tested and works decently well. ^~^
This commit is contained in:
parent
fc3a9465cc
commit
eabe7c650f
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class Move:
|
||||||
|
|
||||||
def getstats(self):
|
def getstats(self):
|
||||||
stats = list(self._odometry.coordinates_get())
|
stats = list(self._odometry.coordinates_get())
|
||||||
if(self._sensor.bumperwaspressed)
|
if(self._sensor.bumperwaspressed):
|
||||||
stats.append(-1)
|
stats.append(-1)
|
||||||
else:
|
else:
|
||||||
stats.append(1)
|
stats.append(1)
|
||||||
|
|
Loading…
Reference in a new issue