V5 Override (Flex)#

Flex is the VEX V5 Hero Bot used in the V5 26-27 Override Playground.

Robot Overview#

The VEXcode VR Robot window showing the Flex Robot.

Flex supports standard VR controls and sensors such as the Inertial Sensor and Brain Timer, with additional Flex-specific features covered in Robot-Specific Blocks and Robot-Specific Python.

Motors#

Configuration &
Python Command Name

Description

Flex robot arm motor.
ArmMotor
arm_motor

Raises and lowers the arm. The arm is in the fully raised position at 2000 degrees; the starting position is 0 degrees.

Flex robot claw motor.
ClawMotor
claw_motor

Opens and closes the claw. The starting position is 467 degrees (fully closed); the claw is fully open at 0 degrees.

Components and Features#

Component or Feature

Use

API Documentation

Drivetrain

Moves and turns the robot.

Blocks - Python

ArmMotor

Raises and lowers the arm to interact with game elements.

Blocks - Python

ClawMotor

Opens and closes the claw to grab and release game elements.

Blocks - Python

AI Vision Sensor

Mounted on the claw, facing forward. Detects game objects in front of the claw so the robot can orient itself autonomously. Blocked when the claw is holding a Pin or Cup, so it only works when the claw is empty.

Blocks - Python

Distance Sensor

Mounted at the front of the robot, facing forward. Detects how far the robot’s front is from an object.

Blocks - Python

GPS Sensor

Returns the robot’s current position and heading on the Playground.

Blocks - Python

Brain Timer

Tracks elapsed time since the project started.

Blocks - Python

Playgrounds#

Playground

Description

V5 26-27 Override

Play the V5 26-27 Override Autonomous Coding Skills challenge.