Skip to content

Installing Code on a Robot

12sliu edited this page Dec 9, 2023 · 1 revision

🔌 Running Code on a Robot

This is not a in depth guide, and is for emergency purposes (such as during a comp).

  • The Driver Hub is on the edge of the field and has gamepads directly connected to it.
  • The Control Hub (alternatively referred as a Robot Controller) is inside or on the robot, it is connected to all the motors and has code downloaded into it.

Please see the following resources for how to connect the two, download code on the Control Hub, then run it from entry-points called "OpModes" from the Driver Station.

  1. Write code and/or copy and remove the @Disabled line from a sample OpMode: Wiki Page

  2. Connecting Driver Station to Control Hub: Video/Webpage (Both teach how to connect Driver Hub to Control Hub.)

  3. Plug in the Control Hub to the computer and install the necessary OpMode: Webpage (We're using a REV Control Hub as our Robot Controller, not a Android smartphone)

Driver Hub GUI Webpage (from "Navigating the Driver Station Application" down)


[<< Click arrow] Old Resources (Not Recommended)

Sorry that the quality is bad - if anybody wants to make a better video and screencast, please feel free to do so. Years of FTC teams will be thanking you.

Clone this wiki locally