Add intake pivot to the fast encoder pulses list
Signed-off-by: Maxwell Henderson <mxwhenderson@gmail.com>
Change-Id: I87a57ae080c468add110ea6a1ca58efc998a8033
diff --git a/y2024/wpilib_interface.cc b/y2024/wpilib_interface.cc
index b708266..a82114e 100644
--- a/y2024/wpilib_interface.cc
+++ b/y2024/wpilib_interface.cc
@@ -90,6 +90,7 @@
constexpr double kMaxFastEncoderPulsesPerSecond = std::max({
Values::kMaxDrivetrainEncoderPulsesPerSecond(),
+ Values::kMaxIntakePivotEncoderPulsesPerSecond(),
});
static_assert(kMaxFastEncoderPulsesPerSecond <= 1300000,
"fast encoders are too fast");