git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test serpi
[aversive.git]
/
projects
/
microb2010
/
tests
/
hostsim
/
display.py
diff --git
a/projects/microb2010/tests/hostsim/display.py
b/projects/microb2010/tests/hostsim/display.py
index
a6c90e7
..
1e408c9
100644
(file)
--- a/
projects/microb2010/tests/hostsim/display.py
+++ b/
projects/microb2010/tests/hostsim/display.py
@@
-48,7
+48,7
@@
while True:
set_robot(x,y,a)
f.close()
- """
+
k = scene.kb.getkey()
x,y,z = scene.center
if k == "left":
@@
-59,4
+59,5
@@
while True:
scene.center = x,y+10,z
elif k == "down":
scene.center = x,y-10,z
- """
+ elif k == "k":
+ robot_trail.pos = robot_trail.pos[0:0]