Skip to content

Commit

Permalink
Run tuner X compatibility check at construction.
Browse files Browse the repository at this point in the history
Signed-off-by: thenetworkgrinch <thenetworkgrinch@users.noreply.github.com>
  • Loading branch information
thenetworkgrinch committed Jan 18, 2024
1 parent 195f20e commit 76bf2dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/swervelib/SwerveDrive.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ public SwerveDrive(
}

odometryThread.startPeriodic(SwerveDriveTelemetry.isSimulation ? 0.01 : 0.02);

checkIfTunerXCompatible();
}

/**
Expand Down

0 comments on commit 76bf2dd

Please sign in to comment.