From 1b1197db0cfff0e152d3c7271e9ada331333c98b Mon Sep 17 00:00:00 2001 From: Ryan Brott Date: Mon, 9 Oct 2023 22:07:21 -0700 Subject: [PATCH] Re-create feedforward objects --- .../java/org/firstinspires/ftc/teamcode/MecanumDrive.java | 5 +++-- .../main/java/org/firstinspires/ftc/teamcode/TankDrive.java | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/MecanumDrive.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/MecanumDrive.java index d972a915bc88..5ec518c79fb7 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/MecanumDrive.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/MecanumDrive.java @@ -81,8 +81,6 @@ public static class Params { public final MecanumKinematics kinematics = new MecanumKinematics( PARAMS.inPerTick * PARAMS.trackWidthTicks, PARAMS.inPerTick / PARAMS.lateralInPerTick); - public final MotorFeedforward feedforward = new MotorFeedforward(PARAMS.kS, PARAMS.kV / PARAMS.inPerTick, PARAMS.kA / PARAMS.inPerTick); - public final TurnConstraints defaultTurnConstraints = new TurnConstraints( PARAMS.maxAngVel, -PARAMS.maxAngAccel, PARAMS.maxAngAccel); public final VelConstraint defaultVelConstraint = @@ -266,6 +264,8 @@ public boolean run(@NonNull TelemetryPacket p) { MecanumKinematics.WheelVelocities