Add Transfer Roller Constants
Added transfer roller voltages to constants json and fbs.
Signed-off-by: Nathan Leong <nathanrleong@gmail.com>
Change-Id: I90d6c9c717fa066b53c1b79392fea1f6e5217949
diff --git a/y2024/constants/common.json b/y2024/constants/common.json
index d939743..e33bfad 100644
--- a/y2024/constants/common.json
+++ b/y2024/constants/common.json
@@ -44,5 +44,9 @@
"intake_pivot_stator_current_limit": 60,
"intake_roller_supply_current_limit": 35,
"intake_roller_stator_current_limit": 60
+ },
+ "transfer_roller_voltages": {
+ "transfer_in": 12.0,
+ "transfer_out": -12.0
}
}
diff --git a/y2024/constants/constants.fbs b/y2024/constants/constants.fbs
index ee5ff60..71b5eb7 100644
--- a/y2024/constants/constants.fbs
+++ b/y2024/constants/constants.fbs
@@ -45,6 +45,11 @@
intake_roller_stator_current_limit:double (id: 3);
}
+table TransferRollerVoltages {
+ transfer_in:double (id: 0);
+ transfer_out:double (id: 1);
+}
+
table RobotConstants {
intake_constants:IntakeConstants (id: 0);
}
@@ -58,6 +63,7 @@
intake_pivot:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemCommonParams (id: 4);
drivetrain:frc971.control_loops.drivetrain.fbs.DrivetrainConfig (id: 5);
current_limits:CurrentLimits (id: 6);
+ transfer_roller_voltages:TransferRollerVoltages (id: 7);
}
table Constants {