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.
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.
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.
Once you have finished coding the arm to sort the disk using the red button on the Brain's screen, stop the project.