Skip to main content

Alliance Triball Launch

Strategically select a Starting Position and a Starting Direction for the Hero Bot. Select a desired Field Preload Location. Use [Drive for], [Turn for], [Spin for], and [Spin to position] blocks to code the Hero Bot to drive to the Field Preload Triball, pick up the Triball, and score it in the Blue Alliance Goal as fast as possible!

  • 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.
  • Use the Pre-Match checklist to select a desired Field Preload Location.
  • 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 Red Field Preload Triball.
  • Code the robot to spin the Intake Motor to pick up the Field Preload Triball.
  • Turn the robot toward the Blue Alliance Goal.
  • Code the robot to spin the Intake Motor to launch the Field Preload Triball in the Blue Alliance Goal.

Helpful Hints

  • For help with using the Pre-Match Checklist in VRC Virtual Skill to select the Field Preload Location, please see this article.
  • Use the spin IntakeMotorGroup block from the Motion category and select the forward direction to intake a Triball.

    VEXcode Spin for block that reads 'spin IntakeMotor forward for 90 degrees'.

    • Matching Python command:

      intake_motor.spin_for(FORWARD, 90, DEGREES)
  • Use the set ArmMotor velocity block from the Motion category to set the desired Arm Motor velocity.

    VEXcode Set motor velocity block that reads 'set ArmMotor velocity to 100%'.

    • Matching Python command:

      arm_motor.set_velocity(100, PERCENT)
  • Use the set IntakeMotor velocity block from the Motion category to set the desired Intake Motor velocity.

    VEXcode Set motor velocity block that reads 'set IntakeMotor velocity to 100%'.

    • Matching Python command:

      intake_motor.set_velocity(100, PERCENT)

For more information about the robot features in VRC Over Under for VEXcode VR, please see this article.