1.2.2.1 Getting Connected - Brickwolves/CodeCampWiki GitHub Wiki
General Setup
There are two important components to controlling your robot: a Robot Controller (RC) and a Driver Station. The RC is the brain of the robot. Programmers upload code to the RC to control the plugged-in motors and other necessary hardware. Meanwhile, the Driver Station wirelessly connects to the RC and allows users to control the RC with a game controller (such as an xbox controller). There are two methods of achieving this connection.
Method 1
We use a Rev Control Hub as the RC, and an android phone as the driver station. The Rev Control Hub is secured onto the robot chassis and hardware (such as motors or an Expansion Hub) is plugged into the Control Hub. The android phone connects to the Rev Control Hub and we plug an Xbox controller into the android phone to control the robot.
Watch this video to get an in-depth explanation from Collin about connecting to a Rev Control Hub.
Method 2
We use an android phone as the RC (there's some minor setup required to configure an android phone as an RC). It needs to be connected with an Expansion Hub in order to plug in hardware.
FIRST details everything in their control systems manual. See page 5 for using a Rev Control Hub. See page 31 for using an android phone as the RC.
Connecting Driver Station to the Robot Controller
- (Make sure the RC is turned on...)
- Connect to the RC's Wi-Fi
- Take your Driver Station phone and navigate to the FTC app
- After a little bit your interface should show it's connected to the RC and you'll be able to see a 'hearbeat' showing the connectivity and then be able to select OpModes (files containing your code) to run.