Skip to content

Commit

Permalink
Update to include javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
richpant committed Dec 28, 2024
1 parent 0db1ccd commit f9582db
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
9 changes: 7 additions & 2 deletions TeamCode/src/main/java/pedroPathing/constants/FConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@

import com.pedropathing.localization.Localizers;
import com.pedropathing.follower.FollowerConstants;
import com.pedropathing.util.CustomFilteredPIDFCoefficients;
import com.pedropathing.util.CustomPIDFCoefficients;
import com.qualcomm.robotcore.hardware.DcMotorSimple;

public class FConstants {
static {
FollowerConstants.mass = 5;
FollowerConstants.localizers = Localizers.OTOS;
FollowerConstants.zeroPowerAccelerationMultiplier = 4;
FollowerConstants.leftFrontMotorDirection = DcMotorSimple.Direction.REVERSE;
FollowerConstants.leftRearMotorDirection = DcMotorSimple.Direction.REVERSE;
FollowerConstants.rightFrontMotorDirection = DcMotorSimple.Direction.FORWARD;
FollowerConstants.rightRearMotorDirection = DcMotorSimple.Direction.FORWARD;
FollowerConstants.mass = 5;
FollowerConstants.xMovement = 57.8741;
FollowerConstants.yMovement = 52.295;
FollowerConstants.forwardZeroPowerAcceleration = -41.278;
FollowerConstants.lateralZeroPowerAcceleration = -59.7819;
FollowerConstants.zeroPowerAccelerationMultiplier = 4;
FollowerConstants.translationalPIDFCoefficients = new CustomPIDFCoefficients(0.1,0,0.01,0);
FollowerConstants.headingPIDFCoefficients = new CustomPIDFCoefficients(2,0,0.1,0);
FollowerConstants.drivePIDFCoefficients = new CustomFilteredPIDFCoefficients(0.1,0,0,0.6,0);
FollowerConstants.centripetalScaling = 0.0005;


}
}
4 changes: 4 additions & 0 deletions TeamCode/src/main/java/pedroPathing/constants/LConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ public class LConstants {

}
}




4 changes: 2 additions & 2 deletions build.dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repositories {
mavenCentral()
google() // Needed for androidx
google()

maven { url = 'https://maven.brott.dev/' }
maven { url="https://maven.pedropathing.com/" }
Expand All @@ -15,7 +15,7 @@ dependencies {
implementation 'org.firstinspires.ftc:Hardware:10.1.1'
implementation 'org.firstinspires.ftc:FtcCommon:10.1.1'
implementation 'org.firstinspires.ftc:Vision:10.1.1'
implementation 'com.pedropathing:pedro:0.0.1-beta12'
implementation 'com.pedropathing:pedro:0.0.1-beta13'
//noinspection GradleDependency
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.acmerobotics.dashboard:dashboard:0.4.16'
Expand Down

0 comments on commit f9582db

Please sign in to comment.