official_models/ev3/educator: rename main sample

As there are now multiple examples,  we rename this one to ultrasonic to better reflect what it does and which robot educator extension is required.
This commit is contained in:
Laurens Valk
2020-04-24 13:12:27 +02:00
parent 8b9d249e2e
commit d6e4470061
5 changed files with 3 additions and 2 deletions
@@ -20,8 +20,9 @@ right_motor = Motor(Port.C)
# The DriveBase is composed of two motors, with a wheel on each motor.
# The wheel_diameter and axle_track values are used to make the motors
# move at the correct speed when you give a motor command.
# The axle track is the distance between the centers of each of the wheels.
robot = DriveBase(left_motor, right_motor, wheel_diameter=56, axle_track=114)
# The axle track is the distance between the points where the wheels
# touch the ground.
robot = DriveBase(left_motor, right_motor, wheel_diameter=55.5, axle_track=104)
# Play a sound to tell us when we are ready to start moving
ev3.speaker.beep()