Understanding Robot Features in VEXcode VR

The VEX VR Robot is equipped with sensors, controls, and many physical features. In VEXcode VR, there is only one robot, and it is already preconfigured. This eliminates the need for a robot configuration or a predetermined template project.

Diagram of VEXcode VR robot parts, labeled with names and functions, illustrating features for coding and robotics education in a virtual environment.


Robot Controls

The VR Robot has the following controls:

  • A drivetrain with a gyro. This enables the “Drivetrain” category of commands in the toolbox of VEXcode VR.
  • An Electromagnet to pick up Disks with Metal Cores.
  • A “pen drawing” feature that allows a pen to be placed up (to not draw) or down (to draw).

Screenshot of VEXcode VR showing the screen sensor feature, highlighting its programming interface for virtual robots, designed for educational purposes in coding and robotics.

The Pen on the VR Robot can be used to:

  • Fill an area with color determined using RGB values
  • Set the color of the Pen using RGB values
  • Draw lines at five different widths

For more information about the Pen on the VR Robot, see this article.


Robot Physical Attributes

The VR Robot has the following physical attributes to scale:

  • The wheels are 50mm in diameter.
  • The wheelbase (the distance between the center of the front wheel and the center of the back wheel) is approximately 50.8mm.
  • The VR Robot’s length is 133mm.

Robot Sensors

The VR Robot has the following sensors:

  • Motor Encoders that are 360 degrees per wheel revolution.
  • The front facing Eye Sensor also acts like a distance sensor and returns the distance of a detected object in mm and inches.
  • A Gyro Sensor that is built into the Drivetrain. Clockwise is positive.
    Image of a Gyro Sensor integrated into the Drivetrain of a VEXcode VR robot, indicating that clockwise rotation is considered positive. This sensor is part of the virtual robotics programming environment designed for educational purposes.
  • Two Eye Sensors, one that faces forward, and the other down. These sensors can detect if there is an object present. If there is, the sensor can also detect the color (red, green, blue, none).
  • A Location Sensor that reads (X,Y) coordinates from the center turning point of the VR Robot.

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

Last Updated: