We start with FIRST Technical Challenge and how you develop programs with the GamePads. It is up to you to decide how sticks, buttons and triggers from the GamePad will control the different motors of the robot and there are different decisions that you should make.

In this tutorial, we would build a simple program for controlling the Tetrix robot motors with the GamePads. We use the stick and when the stick is pushed forward the motors move forward. When it is pushed backwards the robot moves backwards.

By using the GamePad to control the arm with could lift it and return it back. The main problem with controlling the arm is that if you just use the motors you would hit the robot, bend the axles and breaks the gear wheels. We would use the distance sensor to make the arm move without hitting the robot.