summaryrefslogtreecommitdiff
path: root/robot/problems/introduction/countlines
diff options
context:
space:
mode:
authorJure Žabkar <jure.zabkar@fri.uni-lj.si>2015-12-15 13:13:49 +0100
committerJure Žabkar <jure.zabkar@fri.uni-lj.si>2015-12-15 13:17:48 +0100
commit0883cb2a6b0bac23bd7553618f4e8db7c882a757 (patch)
tree37bc932914857cf3572c7961f9b80f336f00988f /robot/problems/introduction/countlines
parent6cfee9293d18efed76dc2c83d7a00b1b40230bbf (diff)
Popravki programov pred zagovorom projekta.
Diffstat (limited to 'robot/problems/introduction/countlines')
-rw-r--r--robot/problems/introduction/countlines/common.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/robot/problems/introduction/countlines/common.py b/robot/problems/introduction/countlines/common.py
index 925fc06..6d2bf13 100644
--- a/robot/problems/introduction/countlines/common.py
+++ b/robot/problems/introduction/countlines/common.py
@@ -11,7 +11,6 @@ visible = True
solution = '''\
import time
-from mindstorms_widgets import *
color_table = ['none', 'black', 'blue', 'green', 'yellow', 'red', 'white', 'brown']
@@ -24,7 +23,7 @@ robot.move_steering( 'on' )
start = time.time()
stevec = 0
color = -1
-while time.time()-start < 2.1:
+while time.time()-start < 1.2:
c = robot.color_sensor_measure( 'color' ) # values: 0-7 see the scale above
if c!=color:
if c!=6 and c!=0: