Streaming RobotController Screen
This tutorial teaches you on how to set up a phone-to-computer streaming over ADB debugging bridge in FTC software development.
1.0 Set up wireless connection / remote debugging.
Please follow the guide in Android Studio Remote / Wifi Debugging Setup Guide
2.0 Install Scrcpy Software on your computer.
2.1 Windows Setup
2.1.1 Downloading The Project
Download the Scrcpy Software in the link below
Win32 - V1.10
Win64 - V1.10
2.1.2 Starting a shell
- Unzip the file you just downloaded to a folder that you can find every time. For example, I had it
D:\APP\scrcpy. - Press the
Windows + Rkey on your keyboard, on the window that showed up, typecmdand press enter - type your disk character in the commend prompt followed by a
:, for example, I haveD:, then press enter - type
cd YOUR_PATH_TO_SCRCPY, for example, mine iscd D:\APP\scrcpy\
2.2 Mac Setup
2.2.1 Installing Homebrew
- Open up
Terminalon your mac, if you don’t know how to find it, it should be in a folder calledOtherin yourLaunchPad. - To verify if you have homebrew installed or not, type
brew --version, then press enter, if a text likeHomebrew X.X.Xdoes not show up, follow the instructions below, otherwise skip this step and go to step 2.2.2 - Type in
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"and press enter. During the installation process the command prompt might ask you several times for your password, just time them in and press enter.
2.2.2 Installing scrcpy and platform tools
- If you don’t have Android Studio on your mac, type in
brew cask install android-platform-toolsand press enter, otherwise follow step 1.2.2 in Android Studio Remote / Wifi Debugging Setup Guide. - type in
brew install scrcpyand press enter.
3.0 Use scrcpy software on your computer.
- type
scrcpy -b2M -m800and press enter, the contents on your phone should start streaming.