import server mod = server.problems.load_language('robot', 'en') id = 205 name = 'Circle 20 cm' slug = 'Circle 20 cm' description = '''\
Write a program that will make the robot drive in circle (r=20cm) and stop after one loop.
''' hint = { 'mW_init':mod.hint['init'], 'connectMotorLeft':mod.hint['connectMotorLeft'], 'connectMotorRight':mod.hint['connectMotorRight'], 'moveSteering':mod.hint['moveSteering'], 'onForSeconds':mod.hint['onForSeconds'], 'direction':mod.hint['direction']+['''The value of this parameter should be such that would make the robot circle with radius 20cm. This value highly depends on the construction of the robot.
''', '''robot.move_steering( 'on_for_seconds', direction=20, ... )
.
Experimentally determine the time (in seconds) the robot needs for one loop.
''', '''robot.move_steering( 'on_for_seconds', direction=0, seconds=3 )
.
The program should: