Skip to main content

Pick it, Score it!

Use [Spin for], [Spin to position], and [Turn for] blocks to code Virtual Byte, the Hero Bot, to pick up the Green Block in front of it and score the Block into Goal II.

  • Select the VIQRC Virtual Skills - Full Volume Playground.
  • Code the robot to spin the Intake Motor Group to pick up the Green Block.
  • Code the robot to spin the Arm Motor Group to raise the Arm to a desired position for scoring.
  • Turn the robot toward Goal II.
  • Code the robot to spin the Intake Motor Group to drop the Green Block into the Goal.

Helpful Hints

  • Use the spin IntakeMotorGroup block from the Motion category and select the forward direction to intake an object.

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

    • Matching Python command:

      intake_motor_group.spin_for(FORWARD, 90, DEGREES)
  • Use the spin IntakeMotorGroup block from the Motion category and select the reverse direction to drop an object.

    VEXcode Spin for block that reads 'spin IntakeMotorGroup reverse for 90 degrees'.

    • Matching Python command:

      intake_motor_group.spin_for(REVERSE, 90, DEGREES)
  • Use the spin ArmMotorGroup to position block from the Motion category to raise and lower the Arm.

    VEXcode Spin to position block that reads 'spin ArmMotorGroup to position 280 degrees'.

    • Matching Python command:

      arm_motor_group.spin_to_position(280, DEGREES)

For more information about the robot features in VIQRC Full Volume for VEXcode VR, please see this article.