Purple Block, Where to start
Select a Starting Position. Use [Drive for], [Turn for], [Spin to position], and [Spin for] blocks to code the Hero Bot to score one Purple Block to one of the three Goals. The fastest time wins!
- Select the VIQRC Virtual Skills - Full Volume Playground.
- Select the “Starting Position” button for choosing a starting position for the robot.
- Select a letter to choose a desired starting position.
- Reset the timer to time the process.
- Drive the robot to a Purple Block.
- Code the robot to spin the Intake Motor Group to pick up the Purple Block.
- Code the robot to spin the Arm Motor Group to raise the Arm to a desired position for scoring.
- Drive the robot toward the closest Goal.
- Code the robot to spin the Intake Motor Group to drop the Purple Block into the Goal.
- Use the [print] block to print the timer value to the Print Console.
Helpful Hints
- To choose a starting position for the robot, select the “Starting Position” button in the Virtual Skills Window.
- For help with selecting the starting position and changing the starting position, please see this article.
- Use the reset timer block from the Sensing category to reset the timer back to 0 seconds before driving the robot to pick up the Purple Block.
- Matching Python command:
- Use the Reporter blocks from the Sensing category to get the timer value.
- Matching Python command:
- Use the print block from the Look category to print the values to the Print Console.
- Matching Python command: