Included in this repo are the two Java files mentioned in our "Programming and Implementing Servos in FTC" YouTube video: https://youtu.be/s_4Xvi8vru4?si=pAUGvQjlxN1oCukZ
The first (Servo Position Helper) is designed to make finding your ideal servo position easier. It installs a servo and allows you to change its position using a gamepad. The second (ServoEx Example) is a demo of some of the more advanced features available for servos in FTC. Including changing the PWM range and default direction.
Download either file by clicking on the file name from this page, finding the three dots in the top right of the following page, and clicking Download. Then copy it from your downloads folder, and paste it into the TeamCode folder in Android Studio.
Navigate to the OnBot Java tab of your Robot Controller either by using the REV Hardware Interface and a USB A to C cable, or by connecting to the Robot Controller’s wifi network and going to 192.168.43.1:8080 in the browser of your choice. Before clicking the upload button and uploading one or both files one-at-a-time.