Skip to content

Commit

Permalink
chore: add comment to flag potentially sus behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mimizh2418 committed Sep 16, 2024
1 parent 3f2f86b commit a06c1dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ public double getCharacterizationVelocity() {
@AutoLogOutput(key = "Odometry/ChassisSpeeds")
public ChassisSpeeds getChassisSpeeds() {
ChassisSpeeds speeds = kinematics.toChassisSpeeds(getModuleStates());
//FIXME: check to see if this does anything sus with autos
if (gyroInputs.connected) speeds.omegaRadiansPerSecond = gyroInputs.yawVelocityRadPerSec;
return speeds;
}
Expand Down

0 comments on commit a06c1dc

Please sign in to comment.