Compass Survival Challenge
Challenge: The Compass Rose sits at the center of the Art Canvas+ Playground, surrounded by eight essential items for wilderness survival located in a circle (Please see the image). The object of the activity is to code the VR Robot to drive respectively from the yellow center point of the Compass Rose to each essential item to collect it. Manually record the heading of each drive to determine the direction of each specific item relative to the compass rose. To collect an item, drive to it and use the Pen to mark it.
- Download the Compass Survival Challenge activity worksheet as a PNG file from this Google slideshow.
- To learn more about downloading .png files from slideshows, see this article.
- Select the Art Canvas+ Playground and upload the Compass Survival Challenge activity worksheet image.
- To learn more about uploading images to the Art Canvas+ Playground, see this article.
- Code the VR Robot to drive respectively from the yellow center point of the Compass Rose to each essential item and collect it.
- Use [Drive for] and [Turn for] (or [Turn to heading]) blocks to code the VR Robot to drive from the yellow center point of the Compass Rose to an essential item.
- Use the VR Pen to draw a dot at the item with a specific color to collect it.
- Monitor the value of the drive heading in degrees block in the Monitor Console. Use the [print] block to print the drive heading to the Print Console.
- Code the VR Robot to drive back to the yellow center point of the Compass Rose. Repeat the above steps to collect each essential item respectively.
- Manually record the heading of each drive to determine the direction of each specific item relative to the compass rose.
Helpful Hints
- Use the drive heading in degrees block from the Sensing category to get the clockwise heading of the Drivetrain from the Gyro Sensor.
- Matching Python command:

- Matching Python command:
- Use the move block from the Looks category to set the position of the VEX VR Pen.
- Matching Python command:

- Matching Python command:
- Use the set pen color block from the Looks category to set the color of the VEX VR Pen with a specified color. Move the red, green, and blue sliders in the block to mix primary colors to get blended colors.
- Matching Python command:

- Matching Python command:
- To learn more about using the VR Pen, see this article.
- The dimension of the VEXcode VR Playground is 2000mm x 2000mm.
To learn more about using the VR Art Canvas +, see this article.