Exploration
Now you will create a VEXcode VR project to have Moby pick up and move a Mobile Goal to the Alliance Home Zone to score.
Break down the task
Before you begin coding, it is important to understand the behaviors needed for Moby to accomplish the task of driving to the first Neutral Mobile Goal, picking it up, then moving it to the Alliance Home Zone to score.
Watch this video to break down the behaviors of the robot needed to complete the task.
Build the project
First, VEXcode VR, and set your starting configuration. Then add blocks to build the project yourself, or open the example project below.
Set your starting configuration to position D, facing Northwest (towards the closest Neutral Mobile Goal), with zero Preload Rings.
For steps on how to select Moby's starting location, see this VEX Library article.
Build the project shown in this image.
Select the image to enlarge.
Or, open the 'Score a Mobile Goal' example project.
View this article from the VEX Library for information on how to open an example project.
Test and observe the project
Now that you have built the project, you will test it and observe Moby's behaviors as it picks up the Neutral Mobile Goal and moves it to the Alliance Home Zone to score.
Watch this video to test the project and observe how the robot moves.
For steps on how to select Moby's starting location, see this VEX Library article.
Note: If you are experiencing trouble in VRC Virtual Skills, you can use the Feedback button for support.
Select Next > to begin the mini-challenge.