Skip to main content

Sort the Disk Using UI

Now that we have coded the arm to pick up the red disk from the pick up location using the UI on the Brain's screen, you will now continue to build on the project to code the arm to sort the red disk into the drop off location using the UI on the Brain's screen.

In VEXcode V5, follow the steps in this video to add a [Joint move] and [Energize electromagnet] block beneath the 'Red Box Pressed' comment. Use your coordinates for Point 3 in the [Joint move] block shown.

Download and run the project. Four different colored boxes will be displayed on the Brain’s screen.

Lab 7 sort disk download and run_0

Lab 7 Sort Disk brain screen_1

Press the white box on the Brain's screen. The arm will move to the pick up location, pick up the red disk, and lift it up and out of the pick up location. 

If your arm did not pick up the disk, notify your teacher. 

Lab 7 white press_0

Lab 7 - Red-Step4_6_1

Press the red box on the Brain's screen. The arm will move to the drop off location and sort the disk by dropping it into the standoffs. 

If your arm did not sort the disk, notify your teacher. 

Lab 7 red press

Lab 7 - Red-Step6-2_4

Once you have finished coding the arm to sort the disk using the red button on the Brain's screen, stop the project.

Lab 7 sort disk stop_0