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/gyro90 | |
parent | 6cfee9293d18efed76dc2c83d7a00b1b40230bbf (diff) |
Popravki programov pred zagovorom projekta.
Diffstat (limited to 'robot/problems/introduction/gyro90')
-rw-r--r-- | robot/problems/introduction/gyro90/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/problems/introduction/gyro90/common.py b/robot/problems/introduction/gyro90/common.py index 78c5dca..1828001 100644 --- a/robot/problems/introduction/gyro90/common.py +++ b/robot/problems/introduction/gyro90/common.py @@ -18,11 +18,11 @@ robot.connect_sensor( 'gyro' ) robot.gyro_set_mode( 'angle' ) robot.reset_gyro() -power = 15 +power = 10 robot.move_tank( 'on', lr_power=[power,-power] ) while robot.gyro_sensor_measure() < 90: pass -robot.move_tank( 'off' ) +robot.move_tank( 'off', brake_at_end=True ) ''' hint_type = { |