- Pedro Pathing is a path follower developed to revolutionize autonomous navigation in robotics.
- Pedro Pathing uses Bezier curves, PIDF control, centripetal force correction, and more to provide smooth, fast, and accurate path following.
- Pedro Pathing uses four vectors to calculate optimal wheel powers for Faster path execution.
- Localization allows Pedro Pathing to know your robot’s position, it can correct for disturbances and get back on the path.
- Using PID control, it can instantly go to any position.
Installing Pedro-Pathing
- In Android Studio, go to Main Menu –> File –> New –> Project from Version Control. For the URL, enter https://github.com/Pedro-Pathing/Quickstart.git.
- OR run git clone https://github.com/Pedro-Pathing/Quickstart.git. Make sure you have git installed first.
Making Changes to Gradle File Manually
- In your build.dependencies.gradle, add the following to the repositories { } block: maven { url = “https://mymaven.bylazar.com/releases” }
- Then, add the following to the dependencies { } block: implementation ‘com.pedropathing:ftc:2.0.3’ implementation ‘com.pedropathing:telemetry:1.0.0’
- implementation ‘com.bylazar:fullpanels:1.0.6’
- Next, perform a Gradle sync by pressing “sync now” in the blue banner that has appeared.
- Then, navigate to
File > Project Structure > Modulesand change theCompile Sdk Versionto 34 forFtcRobotControllerandTeamCode. Then pressApplyandOK. - Lastly, copy the files from the
pedroPathingpackage in the quickstart into your code.
Important Link for Pedro-Pathing
- Docs: https://pedropathing.com/
- Quickstart: https://github.com/Pedro-Pathing/Quickstart
- Discord: https://discord.gg/2GfC4qBP5s
- Library Repo: https://github.com/Pedro-Pathing/PedroPathing
- Visualizer/Path Gen: https://visualizer.pedropathing.com/
