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/circle20 | |
parent | 6cfee9293d18efed76dc2c83d7a00b1b40230bbf (diff) |
Popravki programov pred zagovorom projekta.
Diffstat (limited to 'robot/problems/introduction/circle20')
-rw-r--r-- | robot/problems/introduction/circle20/common.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/robot/problems/introduction/circle20/common.py b/robot/problems/introduction/circle20/common.py index 879f198..4d283d0 100644 --- a/robot/problems/introduction/circle20/common.py +++ b/robot/problems/introduction/circle20/common.py @@ -10,14 +10,11 @@ number = 5 visible = True solution = '''\ -from ev3dev import * -from mindstorms_widgets import mindstorms_widgets - robot = mindstorms_widgets() robot.connect_motor( 'left' ) robot.connect_motor( 'right' ) -fct = 9 # full circle time +fct = 8.9 # full circle time rad = 20 # Direction to make a good radius for the circle robot.move_steering( 'on_for_seconds', direction=rad, power=40, seconds=fct ) ''' |