Python is a modern high-level multipurpose programming language. It was designed to make writing code simpler without losing the power of a low-level language like C. Robot Mesh has extended Python to be the premier VEX language for both VEX EDR and VEX IQ.
This block, for example, tells the robot's computer to set the left motor to a power level equal to joystick Channel A from the remote controller:
# axisA: Linear Control
power = joystick.axisA()
if power != 0:
motor_1_power = power
The RM Studio development environment looks like this:
The development environment is divided into five zones:
Python is meant to be simple enough for beginners, but include enough Python functionality to be useful for experienced programmers. The first activity uses the Controller Express option to build a simple program to allow manual control of the basic robot. These activities develop the basic programming skills students need to write their own programs and for their own robots.