Understanding the Coordinate System in VEXcode VR

In VEXcode VR, the VR Robot moves around different Playgrounds that are based on a coordinate system.


Coordinate Systems (X, Y)

Grip map illustrating the axes and control points for VEXcode VR's virtual robot programming environment, highlighting key features for coding and robotics education.

A coordinate system is a mathematical grid of values. There are different types of coordinate systems, but the Cartesian Coordinate System, or the (x,y) plane, is used in VEXcode VR. This is also known as a 2D (Dimensional) system, since its two dimensions are the X and Y axis.

Grip map illustrating the axis origin for VEXcode VR, a virtual programming environment for coding concepts and robotics education.

The X and Y axis can be used to locate a specific point, or coordinate, of the VR Robot on the Playground. The X-coordinate determines the horizontal (left to right) position of the specific point. The Y-coordinate determines the vertical (up and down) position of the point. The VEXcode VR Playgrounds range from -1000mm to 1000mm for both the X and Y axis.

The center of the Playground lies on the coordinate (0, 0) or also known as the origin.

Screenshot of the VEXcode VR dashboard showing various programming tools and features for coding a virtual robot, highlighting the block-based interface and options for testing and debugging code in a simulated environment.

The specific X and Y location of the VR Robot can be found in the Dashboard of the Playground.


Playground Size

Grid layout showcasing a virtual robot in VEXcode VR, an online programming environment for learning coding concepts through simulation, featuring block-based and text-based coding options for educational purposes.

The Playgrounds range from -1000mm to 1000mm on both the X and Y axes. This makes the dimensions of the VEXcode VR Playground 2000mm x 2000mm.

A VEXcode VR virtual robot positioned on a 200mm grid, showcasing the programming environment's features for coding and robotics education in a simulated setting.

The measurement of each of the individual squares used to make up the grids on many of the VEXcode VR Playgrounds, such as the Grid World, are 200mm by 200mm.


Blocks

Screenshot of the VEXcode VR block dropdown menu, showcasing various programming blocks available for users to select and utilize in the virtual coding environment.

VEXcode VR features a Location sensor that reads (X,Y) coordinates from the front-center of the VR Robot. That sensor can be used with the position for block for both the X and Y values. 

Screenshot of the VEXcode VR Position Angle Block, illustrating the block-based coding interface used for programming a virtual robot in the VEXcode VR platform.

The Location sensor also will report on the position angle of the VR Robot by using the position angle block. 

For more information about blocks, view the Help information.


Directions

VEXcode VR Top Down Robot image showcasing the virtual robot used in the VEXcode VR programming environment, designed for teaching coding concepts through simulation in STEM education.

The VR Robot follows a rotational number system from 0 to 359.99 in a clockwise rotation. 

Screenshot of the VEXcode VR dashboard highlighting the location and angle features in the Playground, showcasing the interface for coding and simulating a virtual robot.

The Location Angle of the VR Robot can be found in the Dashboard of the Playground

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: