diff options
author | Jure Žabkar <jure.zabkar@fri.uni-lj.si> | 2015-12-15 10:49:23 +0100 |
---|---|---|
committer | Jure Žabkar <jure.zabkar@fri.uni-lj.si> | 2015-12-15 13:17:48 +0100 |
commit | 6cfee9293d18efed76dc2c83d7a00b1b40230bbf (patch) | |
tree | 9daecfa32c76d9ce4aca4991f19d7b6d5bd0a945 | |
parent | b4e46b75f5e2a890b41d2e20a89767590e54ccb4 (diff) |
Popravek v namigu za problem followline
-rw-r--r-- | robot/problems/introduction/followline/common.py | 4 |
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): |