Skip to main content

Offensive Zone Scoring

Use two methods to score in the Offensive Zone! Use [Drive for], [Turn for], [Spin for], and [Spin to position] blocks to code the Hero Bot to drive to the Green Triball under the Red Elevation Bar (highlighted in light blue) and push it into the Offensive Zone. Then code the Hero Bot to drive to the Green Triball highlighted in yellow, pick up the Triball, and launch to the Offensive Zone. The fastest time wins!

  • Select the VRC Virtual Skills - Over Under Playground.
  • Use the Pre-Match checklist to select a Starting Location, a Starting Direction, and Robot Preload “No” for the robot.
  • Code the Hero Bot to drive to the Green Triball under the Red Elevation bar to push it into the Offensive Zone.
  • Code the robot to launch the Green Triball highlighted in yellow to the Offensive Zone. 
    • Code the robot to spin the Arm Motor to fully lower the Arm for picking up a Triball on the Field.
    • Drive the Hero Bot to the Green Triball highlighted in yellow. 
    • Code the robot to spin the Intake Motor to pick up the Triball.
    • Code the robot to spin the Arm Motor to raise the Arm for launching the Triball in the Offensive Zone.
    • Code the robot to spin the Intake Motor to launch the Triball to the Offensive Zone.
  • Use the [print] block to print the timer value to the Print Console.

Helpful Hints

  • Use the Reporter block from the Sensing category to get the timer value.

    VEXcode Timer value block that reads 'timer in seconds'.

    • Matching Python command:

      brain.timer.time(SECONDS)
  • Use the print block from the Look category to print the time value to the Print Console.

    VEXcode Print block containing a Timer value block, that all together reads 'print timer in seconds'.

    • Matching Python command:

      brain.screen.print(brain.timer.time(SECONDS))