Skip to main content

Challenge

In this challenge, you will instruct the arm mounted on the VEX V5 Workcell to pick up three disks of different colors (red, blue, and green) from the pick up location and then drop off each disk in the matching drop off location.

Puck in Feeder

Follow these steps to complete the challenge:

  • Open the ‘Lab 7- Hand Disk’ project in VEXcode V5.
  • Select ‘File’ then ‘Save As’ to rename the project ‘Lab 7- Challenge.’
  • Using the skills developed earlier in this Lab, edit the project. The V5 Workcell should perform the following behaviors:
    • Move to the pick up location when the white box on the V5 Brain is pressed and pick up a disk.
    • Move to the red disk drop off location and drop the red disk when the red box is pressed on the V5 Brain.
    • Move to the blue disk drop off location and drop the blue disk when the blue box is pressed on the V5 Brain.
    • Move to the green disk drop off location and drop the green disk when the red box is pressed on the V5 Brain.
  • Note that the pick up location will be filled with three disks at the beginning. Your project should account for the varying heights of the disks while in a stack.
  • Run the project.