diff options
author | Jure Žabkar <jure.zabkar@fri.uni-lj.si> | 2015-12-15 13:13:49 +0100 |
---|---|---|
committer | Jure Žabkar <jure.zabkar@fri.uni-lj.si> | 2015-12-15 13:17:48 +0100 |
commit | 0883cb2a6b0bac23bd7553618f4e8db7c882a757 (patch) | |
tree | 37bc932914857cf3572c7961f9b80f336f00988f /robot/problems/introduction/printcolors | |
parent | 6cfee9293d18efed76dc2c83d7a00b1b40230bbf (diff) |
Popravki programov pred zagovorom projekta.
Diffstat (limited to 'robot/problems/introduction/printcolors')
-rw-r--r-- | robot/problems/introduction/printcolors/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/problems/introduction/printcolors/common.py b/robot/problems/introduction/printcolors/common.py index 9b06575..79f4d2a 100644 --- a/robot/problems/introduction/printcolors/common.py +++ b/robot/problems/introduction/printcolors/common.py @@ -22,7 +22,7 @@ robot.connect_sensor( 'color' ) robot.move_steering( 'on') start = time.time() color = -1 -while time.time()-start < 2.1: +while time.time()-start < 1.2: c = robot.color_sensor_measure('color') if c!=color: print( c, color_table[c]) |