Add motors and sensors to 2023 wpilib interface
Signed-off-by: Logan Isaacson <100030671@mvla.net>
Change-Id: I8ff6a349ef84c206aca97ca48c0c6b7944080b44
diff --git a/y2023/constants.h b/y2023/constants.h
index f8e766c..b5e61a1 100644
--- a/y2023/constants.h
+++ b/y2023/constants.h
@@ -139,6 +139,10 @@
};
}
+ // Rollers
+ static constexpr double kRollerSupplyCurrentLimit() { return 30.0; }
+ static constexpr double kRollerStatorCurrentLimit() { return 60.0; }
+
struct PotConstants {
::frc971::control_loops::StaticZeroingSingleDOFProfiledSubsystemParams<
::frc971::zeroing::RelativeEncoderZeroingEstimator>