From b4edbcbc86bce4f445e9dcbf3dc9d1361b02aca3 Mon Sep 17 00:00:00 2001 From: NeonCoal <52942449+NeonCoal@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:28:22 -0500 Subject: [PATCH] update constants --- .../team4099/robot2023/config/constants/IntakeConstants.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/team4099/robot2023/config/constants/IntakeConstants.kt b/src/main/kotlin/com/team4099/robot2023/config/constants/IntakeConstants.kt index 79a2b2a8..3846be7c 100644 --- a/src/main/kotlin/com/team4099/robot2023/config/constants/IntakeConstants.kt +++ b/src/main/kotlin/com/team4099/robot2023/config/constants/IntakeConstants.kt @@ -4,13 +4,13 @@ import org.team4099.lib.units.base.amps import org.team4099.lib.units.derived.volts object IntakeConstants { - val ROLLER_INERTIA = 0.0 + val ROLLER_INERTIA = 0.0014948033 // this one has been updated val VOLTAGE_COMPENSATION = 12.0.volts // TODO: Change gear ratio according to robot val ROLLER_CURRENT_LIMIT = 50.0.amps const val ROLLER_MOTOR_INVERTED = true - const val ROLLER_GEAR_RATIO = 36.0 / 18.0 + const val ROLLER_GEAR_RATIO = 24.0 / 12.0 // this one has been updated // TODO: Update value val IDLE_ROLLER_VOLTAGE = 2.0.volts