Make drivetrain current limits use the constants
Signed-off-by: Maxwell Henderson <mxwhenderson@gmail.com>
Change-Id: I3be805941a01ec42a7ee2bc1095d131661e22668
diff --git a/y2024/constants/common.json b/y2024/constants/common.json
index 2e89bfa..3da88fe 100644
--- a/y2024/constants/common.json
+++ b/y2024/constants/common.json
@@ -45,7 +45,9 @@
"intake_roller_supply_current_limit": 35,
"intake_roller_stator_current_limit": 60,
"transfer_roller_supply_current_limit": 35,
- "transfer_roller_stator_current_limit": 60
+ "transfer_roller_stator_current_limit": 60,
+ "drivetrain_supply_current_limit": 35,
+ "drivetrain_stator_current_limit": 60
},
"transfer_roller_voltages": {
"transfer_in": 12.0,
diff --git a/y2024/constants/constants.fbs b/y2024/constants/constants.fbs
index 54e6925..4a40487 100644
--- a/y2024/constants/constants.fbs
+++ b/y2024/constants/constants.fbs
@@ -50,6 +50,8 @@
intake_roller_stator_current_limit:double (id: 3);
transfer_roller_supply_current_limit:double (id: 4);
transfer_roller_stator_current_limit:double (id: 5);
+ drivetrain_supply_current_limit:double (id: 6);
+ drivetrain_stator_current_limit:double (id: 7);
}
table TransferRollerVoltages {