Add the following to your TeamCode build.gradle:
maven { url = "https://maven.bitflip.club/releases" }implementation ("club.bitflip:utils:1.0.2")NOTE: if you are using the SlothLoad fork of panels, replace the above line for the dependencies block with this:
implementation ("club.bitflip:utils:1.0.2") {
exclude group: 'com.bylazar'
}Utils.ktprovides a few PedroPathing path builder helper functions, as well as angle calculation functions.PIDControlleris a PID Controller that allows you to customize basically any parameter.Componentis an interface which has thestart()andloop()functions, allowing you to group many small components together and run them all at once.LoopTimeComponentimplementsComponentand allows you to easily print your loop times in ms and hz.
TelemetryImplUpstreamSubmissionis an optimized telemetry class (NOT MY OWN WORK).OpModeManageris a translation of a java class of the same name from Marrow FTC that simplifies usage in Kotlin.- Hardware classes that simplify initialization and provide both read and write caching as well as motor slew rate limiting.
MotorExServoExCRServoEx