Student Name: william healy Class: pd 5 Q1 (PEQRXK) Assignment: level 2 Notes: Playground: Line Detector Project Name: VEXcode Project Project Type: Python Date: Tue Sep 26 2023 william healy - level 2 - Page 1 of 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 #region VEXcode Generated Robot Configuration import math import random from vexcode_vr import * # Brain should be defined by default brain=Brain() drivetrain = Drivetrain("drivetrain", 0) pen = Pen("pen", 8) pen.set_pen_width(THIN) left_bumper = Bumper("leftBumper", 2) right_bumper = Bumper("rightBumper", 3) front_eye = EyeSensor("frontEye", 4) down_eye = EyeSensor("downEye", 5) front_distance = Distance("frontdistance", 6) distance = front_distance magnet = Electromagnet("magnet", 7) location = Location("location", 9) #endregion VEXcode Generated Robot Configuration # -----------------------------------------# # Project: VEXcode Project # Author: VEX # Created: # Description: VEXcode VR Python Project # # -----------------------------------------# Add project code in "main" def main(): pen.move(DOWN) drivetrain.drive_for(FORWARD, 500, MM) pen.move(DOWN) pen.set_pen_color(RED) drivetrain.drive_for(FORWARD, 1200, MM) # VR threads — Do not delete vr_thread(main) william healy - level 2 - Page 2 of 2