Skip to content

Commit

Permalink
added accelerations to gyroio
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchen20 committed Jun 27, 2024
1 parent 5273a15 commit a9c8dd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/frc/robot/subsystems/drive/GyroIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ public static class GyroIOInputs {
public boolean connected = false;
public Rotation2d yawPosition = new Rotation2d();
public double yawVelocityRadPerSec = 0.0;
public double accelerationXDegSecSquared = 0.0;
public double accelerationYDegSecSquared = 0.0;
public double accelerationZDegSecSquared = 0.0;
}

public default void updateInputs(GyroIOInputs inputs) {}
}
}

0 comments on commit a9c8dd6

Please sign in to comment.