summaryrefslogtreecommitdiff
path: root/robot/problems/introduction/circle20
diff options
context:
space:
mode:
authorJure Žabkar <jure.zabkar@fri.uni-lj.si>2015-12-15 10:34:40 +0100
committerJure Žabkar <jure.zabkar@fri.uni-lj.si>2015-12-15 13:17:48 +0100
commitb4e46b75f5e2a890b41d2e20a89767590e54ccb4 (patch)
treed9ee2fd8c1543bb4f7fd9db0bace83efc01c999e /robot/problems/introduction/circle20
parentbe94b55b835283de53c686343164641e15abe806 (diff)
Dodani plani za robotske probleme.
Diffstat (limited to 'robot/problems/introduction/circle20')
-rw-r--r--robot/problems/introduction/circle20/sl.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/robot/problems/introduction/circle20/sl.py b/robot/problems/introduction/circle20/sl.py
index abe70eb..735458a 100644
--- a/robot/problems/introduction/circle20/sl.py
+++ b/robot/problems/introduction/circle20/sl.py
@@ -13,7 +13,7 @@ hint = {
'''<p><code>robot.connect_motor( 'left' )</code>.</p>'''],
'connectMotorRight':['''<p>Robotu priključi desni motor</p>''',
'''<p><code>robot.connect_motor( 'right' )</code>.</p>'''],
- 'moveSteering':['''<p>Sinhroniziraj motorja in ju zaženi za 3 sekunde.</p>''',
+ 'moveSteering':['''<p>Sinhroniziraj motorja.</p>''',
'''<p>Za sinhronizirano vožnjo je najbolj primerna metoda <code>robot.move_steering( ... )</code>.</p>'''],
'onForSeconds':['''<p>Prvi argument metode <code>robot.move_steering</code> naj pove, da bo delovanje motorjev časovno omejeno.</p>''',
'''<p><code>robot.move_steering('on_for_seconds', ... )</code>.</p>'''],
@@ -25,10 +25,12 @@ hint = {
'''<p><code>robot.move_steering( 'on_for_seconds', direction=0, seconds=3 )</code>.</p>'''],
}
-plan = [ '''\
-<p>1) Naredi robota</p>
-''',
-'''
-
-'''
+plan = ['''\
+<p>Program izvedemo v naslednjih korakih:</p>
+<ol>
+ <li>Naredimo objekt mindstorms_widgets(), s katerim predstavimo robota.</li>
+ <li>Nanj povežemo oba pogonska motorja.</li>
+ <li>Izračunamo ostrino zavoja, pri kateri bo robot vozil po krogu s polmerom 20 cm.</li>
+ <li>Sinhronizirano poženemo oba motorja za premik v izračunani smeri in časovno omejimo na en obhod.</li>
+</ol>'''
]