summaryrefslogtreecommitdiff
path: root/robot
diff options
context:
space:
mode:
authorJure Žabkar <jure.zabkar@fri.uni-lj.si>2015-12-15 10:49:23 +0100
committerJure Žabkar <jure.zabkar@fri.uni-lj.si>2015-12-15 13:17:48 +0100
commit6cfee9293d18efed76dc2c83d7a00b1b40230bbf (patch)
tree9daecfa32c76d9ce4aca4991f19d7b6d5bd0a945 /robot
parentb4e46b75f5e2a890b41d2e20a89767590e54ccb4 (diff)
Popravek v namigu za problem followline
Diffstat (limited to 'robot')
-rw-r--r--robot/problems/introduction/followline/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/problems/introduction/followline/common.py b/robot/problems/introduction/followline/common.py
index 46df5c6..e28ca35 100644
--- a/robot/problems/introduction/followline/common.py
+++ b/robot/problems/introduction/followline/common.py
@@ -59,13 +59,13 @@ def hint( code):
if not (has_token_sequence(tokens, ['connect_sensor', '(' ]) and 'color' in code):
return [{'id': 'connectColorSensor'}]
- if not (has_token_sequence(tokens, ['move_steering', '(']) and 'on' in code):
+ if not (has_token_sequence(tokens, ['move_tank', '(']) and 'on' in code):
return [{'id': 'moveTankOn'}]
if not 'lr_power' in code:
return [{'id': 'lrPower'}]
- if not (has_token_sequence(tokens, ['move_steering', '(']) and 'off' in code):
+ if not (has_token_sequence(tokens, ['move_tank', '(']) and 'off' in code):
return [{'id': 'moveTankOff'}]
if not (has_token_sequence(tokens, ['color_sensor_measure', '(']) and 'reflected_light_intensity' in code):