Skip to main content

Knock The Dispensers

Use [Drive for], [Turn for], and [Spin for] blocks to code the Hero Bot to drive to a blue Dispenser, remove all the Discs from the blue Dispenser, drive to the yellow Dispenser, and remove all the Discs from the yellow Dispenser.

  • Select the VIQC Virtual Skills - Slapshot Playground.
  • Drive the Hero Bot to a blue Dispenser.
  • Code the Hero Bot to spin the Arm Motor to raise the Arm to release the Discs from the blue Dispenser.
  • Drive the Hero Bot to the yellow Dispenser.
  • Code the Hero Bot to spin the Arm Motor to raise the Arm to release the Discs from the yellow Dispenser.

Helpful Hints

  • Each full tile on the VIQC Virtual Skills Field is 300mm by 300mm.
  • Use the spin ArmMotor block from the Motion category and select the forward direction to raise the Arm.
    Arm motor forward 90 degrees block
    • Matching Python command:
      Arm motor forward 90 degrees Python command
  • Use the spin ArmMotor block from the Motion category and select the reverse direction to lower the Arm.
    Arm motor reverse 90 degrees block
    • Matching Python command:
      Arm motor reverse 90 degrees Python command