File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/kotlin/com/frcteam3636/bunnybots2025/subsystems Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ class IntakeIOReal : IntakeIO {
142142 val PROFILE_ACCELERATION = 0.0 .degreesPerSecondPerSecond
143143 const val PROFILE_JERK = 0.0
144144 const val ENCODER_MAGNET_OFFSET = 0.0
145- const val ENCODER_TO_PIVOT_GEAR_RATIO = 0.0
146- const val MOTOR_TO_ENCODER_GEAR_RATIO = 0 .0
145+ const val ENCODER_TO_PIVOT_GEAR_RATIO = 2.25
146+ const val MOTOR_TO_ENCODER_GEAR_RATIO = 4 .0
147147 }
148148}
149149
@@ -181,4 +181,4 @@ class IntakeIOSim : IntakeIO {
181181 goal = TrapezoidProfile .State (pivotPosition.inRotations(), 0.0 )
182182 profileTimer.reset()
183183 }
184- }
184+ }
Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ class PivotIOReal : PivotIO {
131131
132132 companion object Constants {
133133 private val PID_GAINS = PIDGains (6.0 , 0.0 , 0.0 )
134- private const val SENSOR_TO_MECHANISM_GEAR_RATIO = 0.0
135- private const val ROTOR_TO_SENSOR_GEAR_RATIO = 0 .0
134+ private const val SENSOR_TO_MECHANISM_GEAR_RATIO = 37.25
135+ private const val ROTOR_TO_SENSOR_GEAR_RATIO = 1 .0
136136 private const val MAGNET_OFFSET = 0.0
137137 private val HARDSTOP_OFFSET = 12 .degrees.inRotations()
138138 val PROFILE_ACCELERATION = 5.0 .degreesPerSecondPerSecond
You can’t perform that action at this time.
0 commit comments