Deploy by USB or automatic Wi-Fi
deploy_robotBuild TeamCode and install it on a REV Control Hub using a physical USB connection or a Wi-Fi-switch workflow that temporarily joins the robot's network, installs the app, and restores original Wi-Fi.
Instructions
Preferred high-level deployment entry point. With connection usb, build TeamCode and install it on a Control Hub or Robot Controller already visible to adb over a physical USB cable. With connection wifi-switch, build while online, then queue the local saved-network switch, ADB install, Robot Controller restart, and original-Wi-Fi restoration workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Run a clean build before deployment | |
| dryRun | No | Preview the selected deployment path without building, switching networks, or installing | |
| serial | No | USB adb device serial; useful when multiple devices are attached | |
| homeSsid | No | wifi-switch internet network to restore; defaults to the current SSID | |
| robotHost | No | wifi-switch Control Hub host; default 192.168.43.1 | |
| robotPort | No | wifi-switch ADB port; default 5555 | |
| robotSsid | No | Required for wifi-switch: saved Control Hub Wi-Fi network name | |
| connection | Yes | Use usb for a physically connected adb device, or wifi-switch to temporarily join a saved Control Hub network | |
| stacktrace | No | Return extended Gradle failure context | |
| projectPath | No | Path to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project. | |
| delaySeconds | No | wifi-switch delay before disconnecting; default 10 seconds | |
| timeoutSeconds | No | Gradle build timeout; default 600 seconds |