GPS Coordinates#

The GPS (Game Positioning System) Sensor in VEXcode VR provides (X, Y) coordinates for navigation in the V5RC High Stakes Playground. It uses the VEX Field Code, a checkerboard pattern on the field’s interior, to determine position and heading. The sensor operates as an absolute position system, eliminating drift and the need for per-field calibration.

How Does the GPS Sensor Work#

A VEX Robotics robot with a complex structure made of metal components and several electronic parts. Two VEX GPS sensors are highlighted in yellow, positioned on the robot's frame. These sensors are used for precise navigation and positioning during autonomous tasks, helping the robot to determine its exact location on the field.

For navigation, the GPS Sensor uses the Cartesian Coordinate system, with the field center designated as (0, 0). The sensor itself is a black and white camera mounted on the robot’s rear, facing backward to read the Field Code effectively.

The GPS Sensor reports the (X, Y) coordinates of Axel’s rotation center in either millimeters or inches. This enables precise tracking of the robot’s position within the VEXcode VR environment, allowing for accurate navigation and positioning during gameplay or programming tasks.

Identifying (X, Y) Coordinates on the Field#

The V5RC High Stakes Field in VEXcode VR ranges from approximately -1800mm to 1800mm for the X and Y positions. The starting location of Axel depends on the starting position selected.

The center location, or the origin (0,0), is located in the center of the Field.

A VEX Robotics field overlaid with an X and Y coordinate system. The X-axis is labeled in red, while the Y-axis is labeled in blue. The coordinates are marked at intervals of 600mm, with the center of the field set as the origin at (0mm, 0mm). The grid covers from -1800mm to 1800mm in both the X and Y directions.

(X, Y) Coordinates of Game Elements#

Wall Stakes#

A VEX Robotics field with coordinates marked at two specific points of the field's Wall Stakes: (-1750, 0) and (1750, 0). These points are highlighted with green dots and labels. The field is organized with various game elements, including red and blue rings, as well as hexagonal yellow goals.

Field Corners#

A VEX Robotics field with four specific corner coordinates marked: (-1700, 1700), (1700, 1700), (-1700, -1700), and (1700, -1700). These coordinates are highlighted with circular markers and labels, corresponding to the four corners of the field.

Ladder Posts#

A VEX Robotics field with the central diamond-shaped structure highlighted. Four specific coordinates are marked at the vertices of the diamond: (0, 600), (600, 0), (0, -600), and (-600, 0).

Red Rings#

This map shows 23 Red Rings on the field. The 24th Red Ring is preloaded onto Axel at the start of the project.

A VEX Robotics field with the central diamond-shaped structure highlighted. This map shows coordinates for only the 23 red rings on the field.

Blue Rings#

A VEX Robotics field with red rings and blue rings placed at various locations. This map shows coordinates for only the 10 blue rings on the field.

Mobile Goals#

A VEX Robotics field with red rings and blue rings positioned on the field. This map shows coordinates for only the 5 Mobile Goals on the field.