IDE and Phone Setup Overview Mike Zook 20-Sep-2016
Training Objectives There is no need to panic! Nearly every setup step is described in the FTC Training Manual – Using the FTC SDK Give yourself at least 2 hours to complete setup activities.
Prerequisites Remove SIM card from Driver Station and Robot Controller. Charge Driver Station and Robot Controller. Verify PC system requirements: Microsoft® Windows® 7/8/10 (32- or 64-bit) 2 GB RAM minimum, 8 GB RAM recommended 2 GB of available disk space minimum; 4 GB recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image) 1280 x 800 minimum screen resolution Get the FTC Training Manual – Using the FTC SDK, First Tech Challenge, 9/8/2016. https://github.com/ftctechnh/ftc_app/releases Find something to occupy your wait time.
Prepare IDE (Integrated Development Environment) Just in case, backup custom opModes written last season. Uninstall Android Studio (and its SDK). Download Java SE Development Kit 8u101 (JDK 8). Note: Select JDK that corresponds to your system configuration http://www.oracle.com/technetwork/java/javase/downloads/index.html Run the JDK to install. Download Android Studio 2.1. https://developer.android.com/studio/index.html Run android-studio-bundle to install. Download latest FTC Software Development Kit. Note: You need a GitHub account which is free to create. https://github.com/ftctechnh/ftc_app Extract the downloaded FTC SDK.
Prepare IDE Launch Android Studio. As applicable, close the open Android Studio project. Import FTC app #.## from the extracted file (step 8). As needed, install missing platform(s) and sync project. Note: This may take several iterations. In Android Studio, enable ADB Integration from the menu Tools\Android\ Load the applicable phone’s USB Driver to the development PC.
Prepare Phones Robot Controller and Driver Station Phones Remove the SIM card (phone must be OFF) Change phone settings Airplane Mode enabled/ON WiFi enabled/ON Bluetooth disabled/OFF Developer Options enabled/ON USB debugging enabled Connect to PC – Charge only enabled
Prepare Phones Robot Controller Phone Change phone name to “[Team Number]–[Optional Spare Device Designator]–RC” Examples: 8791-RC, 8791-A-RC Load FTC Wi-Fi Direct Channel Changing App from Google Play
Prepare Phones Driver Station Phone Change phone name to “[Team Number]–[Optional Spare Device Designator]–DS” Examples: 8791-DS, 8791-C-DS Load Driver Station App from Google Play Configure Driver Station App Select gamepad 1 and 2 types Enable/disable network traffic logging (disabled is better) Pair with Robot Controller
Pairing Phones Power up the Robot Controller and Driver Station phones. Open the Robot Controller and Driver Station apps. Touch 3 dots to access Driver Station menu. Select “Settings” to configure Driver Station. Select “Connect with Robot Controller”. Locate the Robot Controller phone in the pairing activity list and select it. Exit the ‘Connect’ screen. From the Robot Controller, “Accept” the invitation to connect to the Driver Station.
Reminder There is no need to panic! Nearly every setup step is described in the FTC Training Manual – Using the FTC SDK