import server mod = server.problems.load_language('robot', 'en') id = 208 name = 'Forward 1m' slug = 'Forward 1m' description = '''\ Write a program that would make the robot drive forward and stop after 1 meter. ''' hint = { 'mW_init':mod.hint['init'], 'connectMotorLeft':mod.hint['connectMotorLeft'], 'connectMotorRight':mod.hint['connectMotorRight'], 'moveSteering':mod.hint['moveSteering'], 'onForRotations':mod.hint['onForRotations'], 'direction':mod.hint['direction']+['''
robot.move_steering( '...', direction=0, ... )
.
robot.move_steering( 'on_for_seconds', direction=0, seconds=3 )
.
Program izvedemo v naslednjih korakih: