Installation
Installing Pedro Pathing
There are two ways to install Pedro Pathing.
Using the Quickstart
The quickstart is the easiest way to install Pedro Pathing.
- In Android Studio, go to
Main Menu -> File -> New -> Project from Version Control
. For the URL, enterhttps://github.com/Pedro-Pathing/Quickstart.git
. - OR run
git clone https://github.com/Pedro-Pathing/Quickstart.git
. Make sure you have git installed first.
That's it! You have now installed Pedro Pathing.
Manually
In your build.dependencies.gradle
, add the following to the repositories { }
block:
maven { url = 'https://maven.pedropathing.com' }
maven { url = "https://mymaven.bylazar.com/releases" }
Then, add the following to the dependencies { }
block:
implementation 'com.pedropathing:ftc:x.y.z'
implementation 'com.pedropathing:telemetry:0.0.6'
implementation 'com.bylazar:fullpanels:1.0.2'
Next, perform a Gradle sync by pressing "sync now" in the blue banner that has appeared.
Then, navigate to File > Project Structure > Modules
and change the Compile Sdk Version
to 34 for FtcRobotController
and TeamCode
.
Then press Apply
and OK
.
Lastly, copy the files from the pedroPathing
package in the quickstart
into your code.
Last updated on