Skip to main content
VRC Virtual Skills – Spin Up

GPS Guidance

Use [Drive] and [Turn for] blocks, the GPS Sensor, and the intake motor group to drive the Hero Bot to the Disc located at (-1200,1200), pick it up, move the robot to the scoring position located at(-1350,0), and score the Disc in the blue High Goal.

  • Select the VRC Virtual Skills - Spin Up Playground.
  • Use the GPS sensor to navigate the Hero Bot to the position located at (-1200,1050).
  • Code the Hero Bot to spin the intake motor group to pick up the Disc located at (-1200,1200).
  • Use the GPS sensor to navigate the Hero Bot to the position located at (-1350,0).
  • Set the desired intake motor velocity and spin the intake motor group to launch the Disc.

Helpful Hints

  • Use the GPS Sensor to identify the X and Y coordinates of the Hero Bot on the Field.
  • Use the Reporter blocks from the Sensing category to get positional values from the GPS Sensor.

    Intake Motor Group Block

    Intake Motor Group Block

    • Matching Python command:

    Intake Motor Group Block

    Intake Motor Group Block

  • The coordinates reflect the location of the robot's center and the location of the Disc’s center. To find a position to intake a Disc, you need to consider the distance between the Intake and the robot’s center, as well as the radius of the Disc.

For more information about using the GPS Sensor, please click here.