Skip to main content

Create the Workcell Project

  1. Launch VEXcode V5.

    VEXcode V5
  2. From the Toolbar in VEXcode V5, select ‘File’ and then ‘Open Examples.’

    Lab 10 File Open Examples
  3. Select the ‘Arm’ category.

    Arm category
  4. Select the ‘Arm Workcell - With Sensors’ example project.

    Arm Workcell - With Sensors icon
  5. Select the Project Name Box to name and save the project.

    Project name box
  6. Name the project ‘Lab 10- Workcell.’

    Lab 10 Workcell Save

    Note: for more information about saving, view the Save a Blocks Project (ChromebookWindowsmacOS) articles.
     

  7. The Toolbar will now display the project as ‘Saved.’ Any subsequent changes to the project will be automatically saved.

    Lab 10 saved
  8. Input the mastering values into the [Set mastering] block.

    Input Mastering
  9. Select the Robot Configuration button to open the Devices window.

    Lab 10 Robot Config button
  10. Notice that the motors for the three Line Trackers and the Optical Sensor have been added to the robot configuration. The ‘Line Tracker Sensing’ and ‘Optical Sensing’ categories of blocks now appear in the Tool Box.

    Sensors in Robot Config
  11. Notice that the project includes the addition of the [Set optical light] and [Set optical light power] blocks. These blocks can be used to improve the consistency of the color detection by providing a consistent light source.

    Addition of Optical Blocks