MCPcopy Index your code
hub / github.com/Pedro-Pathing/PedroPathing

github.com/Pedro-Pathing/PedroPathing @v2.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.2 ↗ · + Follow
1,380 symbols 2,806 edges 85 files 920 documented · 67%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Welcome to the Official Pedro Pathing Library Repository

Follow the steps on our website to setup your project and tune!
Feel free to reach out on the Offical Pedro Pathing Discord Server! <!--


Release History

v1.0.3

Library: https://github.com/Pedro-Pathing/PedroPathing/releases/tag/v1.0.3 Quickstart: https://github.com/Pedro-Pathing/Quickstart/releases/tag/v1.0.3

  • Fixed a bug that caused follower constants to be updated by user input AFTER follower was already created, causing hardwareMap issues.
  • Removed 2 Parameters from Follower and PoseUpdater (two classes), now you have to call Constants.setConstants(FConstants.class, LConstants.class); before initalizing the Follower.
  • Added Power Caching

v1.0.2

Library: https://github.com/Pedro-Pathing/PedroPathing/releases/tag/v1.0.2 Quickstart: https://github.com/Pedro-Pathing/Quickstart/releases/tag/v1.0.2

  • Fixed a bug that causes the left motors to always be reversed
  • Fixed a bug that would cause driveLeftVector to be always the default value
  • Added a debug method to ConstantsUser.java
  • Fixed the spelling of FollowerConstants.useBreakModeInTeleOp to FollowerConstants.useBrakeModeInTeleOp

v1.0.1

Library: https://github.com/Pedro-Pathing/PedroPathing/releases/tag/v1.0.1 Quickstart: https://github.com/Pedro-Pathing/Quickstart/releases/tag/v1.0.1

Add FollowerConstants.useBreakModeInTeleOp - It allows you to use brake mode for your drivetrain motors instead of float during teleop.


v1.0.0

Library: https://github.com/Pedro-Pathing/PedroPathing/releases/tag/v1.0.0 Quickstart: https://github.com/Pedro-Pathing/Quickstart/releases/tag/v1.0.0

The first release of Pedro Pathing in its library form.

Follow the instructions on the website to setup your project.

The Official Quickstart: https://github.com/Pedro-Pathing/Quickstart/


Extension points exported contracts — how you extend this code

Localizer (Interface)
This is the Localizer class. It is an abstract superclass of all localizers used in Pedro Pathing, so it contains abstra [8 …
core/src/main/java/com/pedropathing/localization/Localizer.java
SwervePod (Interface)
Swerve pod interface so Swerve drivetrains can be constructed with coaxial or differential pods. @author Kabir Goyal @au [2 …
ftc/src/main/java/com/pedropathing/ftc/drivetrains/SwervePod.java
CallbackCondition (Interface)
This is a condition for a callback to run. This class is functionally the same as a BooleanSupplier. It is used to check [5 …
core/src/main/java/com/pedropathing/paths/PathBuilder.java
CustomIMU (Interface)
(no doc) [2 implementers]
ftc/src/main/java/com/pedropathing/ftc/localization/CustomIMU.java
PathCallback (Interface)
This is the PathCallback class. This class handles callbacks of Runnables in PathChains. Basically, this allows you to r [5 …
core/src/main/java/com/pedropathing/paths/callbacks/PathCallback.java
DataSupplier (Interface)
Allows decoupling OctoQuad hardware read cycle from PedroPathing. This may be useful if you, for example, want to use a
ftc/src/main/java/com/pedropathing/ftc/localization/localizers/OctoQuadLocalizer.java
NoiseFilter (Interface)
This is the NoiseFilter interface. This interface defines the methods that any noise filter should implement. @author H [4 …
core/src/main/java/com/pedropathing/control/NoiseFilter.java
CoordinateSystem (Interface)
A coordinate system, such as FTC standard coordinates or Pedro coordinates FTC standard coordinates are as d [3 implementers]
core/src/main/java/com/pedropathing/geometry/CoordinateSystem.java

Core symbols most depended-on inside this repo

get
called by 104
core/src/main/java/com/pedropathing/math/Matrix.java
get
called by 104
core/src/main/java/com/pedropathing/math/BijectiveMap.java
getY
called by 80
core/src/main/java/com/pedropathing/geometry/Pose.java
set
called by 80
core/src/main/java/com/pedropathing/math/Matrix.java
size
called by 80
core/src/main/java/com/pedropathing/math/BijectiveMap.java
getX
called by 66
core/src/main/java/com/pedropathing/geometry/Pose.java
getHeading
called by 54
ftc/src/main/java/com/pedropathing/ftc/localization/CustomIMU.java
getPose
called by 48
core/src/main/java/com/pedropathing/geometry/Curve.java

Shape

Method 1,288
Class 72
Interface 14
Enum 6

Languages

Java100%

Modules by API surface

core/src/main/java/com/pedropathing/follower/Follower.java103 symbols
core/src/main/java/com/pedropathing/follower/FollowerConstants.java82 symbols
core/src/main/java/com/pedropathing/paths/Path.java58 symbols
ftc/src/main/java/com/pedropathing/ftc/drivetrains/MecanumConstants.java47 symbols
core/src/main/java/com/pedropathing/math/Matrix.java41 symbols
core/src/main/java/com/pedropathing/paths/PathChain.java40 symbols
core/src/main/java/com/pedropathing/paths/PathBuilder.java40 symbols
core/src/main/java/com/pedropathing/geometry/BezierCurve.java35 symbols
ftc/src/main/java/com/pedropathing/ftc/drivetrains/SwerveConstants.java34 symbols
core/src/main/java/com/pedropathing/math/AbstractBijectiveMap.java31 symbols
core/src/main/java/com/pedropathing/geometry/Pose.java31 symbols
core/src/main/java/com/pedropathing/VectorCalculator.java31 symbols

For agents

$ claude mcp add PedroPathing \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact