The VR Robot used in the GO Competition – Mars Math Expedition Playground in VEXcode VR is a virtual version of the Competition Advanced Hero Robot, used in the VEX GO Mars Math Expedition Competition. The virtual Hero Robot has the same dimensions, motors, and sensors as the physical robot. In VEXcode VR’s version of the Mars Math Expedition Competition, the Hero Robot is pre configured and all blocks needed to code the robot to complete tasks on the Field are automatically added to the Toolbox when the Playground is selected.
Robot Controls
The Virtual Hero Robot has the following controls:
A drivetrain with a gyro. This enables the “Drivetrain” category of blocks in the Toolbox of VEXcode VR to drive and turn the robot.
A moveable Arm controlled by the Arm Motor. This allows the robot to raise and lower game objects on the Field.
- The Arm moves in a continuous motion using the [Spin] block. The default position is for the arm to be lowered.
- The Arm can be moved to a specific position using the [Spin to position] block. The Arm motor can move from 0 degrees (lowest) to 420 degrees (highest). This can be useful when completing tasks like lifting samples onto the Lab.
Robot Sensors
A Gyro Sensor that is used with the Drivetrain. This allows the robot to make accurate and precise turns.
The drivetrain heading reports a value from 0 to 359.9 degrees, and clockwise is positive.
The Front Eye Sensor is located on the front of the Virtual Hero Robot, as shown in this image.
When the Arm is lowered, the Front Eye Sensor is located between the forks.
The Eye Sensor can report if an object is present, the color of an object, as well as its brightness and hue value.