-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Running Your Op Mode
FTC Engineering edited this page Jul 9, 2019
·
3 revisions
If your op mode requires input from a gamepad, then you will need to connect a Logitech F310 gamepad to the Driver Station. Note that you can have up to two gamepads connected through a USB hub to a Driver Station. However, in this example, we will only have a solitary gamepad connected.
Note that you will need an estimated 10 minutes to complete this task.
Running Your Op Mode |
---|
1. Before you connect your gamepad to the phone, verify that the switch on the bottom of the gamepad is set to the “X” position. |
2. Connect the gamepad to the Driver Station using the Micro USB OTG adapter cable. |
3. For the examples in this wiki, the op modes are looking for input from the gamepad designated as the user or driver #1. Press the Start button and the A button simultaneously on the Logictech F310 controller to designate your gamepad as user #1. |
4. On the Driver Station screen, touch the triangular-shaped, “TeleOp” dropdown list button to display a list available op modes. You should see your recently saved op mode among the list of available op modes that reside on your Robot Controller. |
5. Select “MyFIRSTOpMode” to load your op mode on the Robot Controller. |
6. Press the INIT button to initialize your op mode. |
7. Push the Start button (designated by the triangular-shaped symbol) to start the op mode run. |
8. Use the left joystick of the gamepad to control the operation of the DC motor. As you manipulate the left joystick up and down, the target power and the motor power should be displayed in the lower left hand corner of the screen. |
-
TensorFlow 2023-2024