-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lakelandspark
committed
Jan 10, 2024
1 parent
6235082
commit 5424f29
Showing
8 changed files
with
391 additions
and
25 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
src/main/kotlin/com/team4099/robot2023/config/constants/IntakeConstants.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.team4099.robot2023.config.constants | ||
|
||
import org.team4099.lib.units.base.amps | ||
import org.team4099.lib.units.derived.degrees | ||
import org.team4099.lib.units.derived.volts | ||
|
||
object IntakeConstants { | ||
val VOLTAGE_COMPENSATION = 12.0.volts | ||
|
||
// TODO: Add value for encoder offset | ||
val ABSOLUTE_ENCODER_OFFSET = 0.0.degrees | ||
|
||
// TODO: Change gear ratio according to robot | ||
val ROLLER_CURRENT_LIMIT = 50.0.amps | ||
val ARM_CURRENT_LIMIT = 50.0.amps | ||
const val ROLLER_MOTOR_INVERTED = true | ||
const val ARM_MOTOR_INVERTED = false | ||
const val ROLLER_GEAR_RATIO = 36.0 / 18.0 | ||
const val ARM_GEAR_RATIO = ((60.0 / 12.0) * (80.0 / 18.0) * (32.0 / 16.0)) | ||
const val ARM_ENCODER_GEAR_RATIO = 36.0 / 18.0 | ||
} |
3 changes: 1 addition & 2 deletions
3
src/main/kotlin/com/team4099/robot2023/subsystems/Shooter/Shooter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
package com.team4099.robot2023.subsystems.Shooter | ||
|
||
class Shooter { | ||
} | ||
class Shooter |
3 changes: 1 addition & 2 deletions
3
src/main/kotlin/com/team4099/robot2023/subsystems/TelescopingArm/TelescopingArm.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
package com.team4099.robot2023.subsystems.TelescopingArm | ||
|
||
class TelescopingArm { | ||
} | ||
class TelescopingArm |
3 changes: 1 addition & 2 deletions
3
src/main/kotlin/com/team4099/robot2023/subsystems/feeder/Feeder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package com.team4099.robot2023.subsystems.feeder | ||
|
||
import edu.wpi.first.wpilibj2.command.SubsystemBase | ||
class Feeder(val io: FeederIO) : SubsystemBase() { | ||
|
||
} | ||
class Feeder(val io: FeederIO) : SubsystemBase() |
3 changes: 1 addition & 2 deletions
3
src/main/kotlin/com/team4099/robot2023/subsystems/feeder/FeederIO.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
package com.team4099.robot2023.subsystems.feeder | ||
|
||
interface FeederIO { | ||
} | ||
interface FeederIO |
3 changes: 1 addition & 2 deletions
3
src/main/kotlin/com/team4099/robot2023/subsystems/intake/Intake.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
package com.team4099.robot2023.subsystems.intake | ||
|
||
class Intake { | ||
} | ||
class Intake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.