Skip to content

Commit

Permalink
Fix tank drive turn min ang accel (fixes FIRST-Tech-Challenge#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrott committed Oct 13, 2024
1 parent 5f35f4c commit 8e7870f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static class Params {
public final TankKinematics kinematics = new TankKinematics(PARAMS.inPerTick * PARAMS.trackWidthTicks);

public final TurnConstraints defaultTurnConstraints = new TurnConstraints(
PARAMS.maxAngVel, -PARAMS.maxAngVel, PARAMS.maxAngAccel);
PARAMS.maxAngVel, -PARAMS.maxAngAccel, PARAMS.maxAngAccel);
public final VelConstraint defaultVelConstraint =
new MinVelConstraint(Arrays.asList(
kinematics.new WheelVelConstraint(PARAMS.maxWheelVel),
Expand Down

0 comments on commit 8e7870f

Please sign in to comment.