Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/intake' into intake
Browse files Browse the repository at this point in the history
  • Loading branch information
Adarondek committed Jan 25, 2024
2 parents c3df006 + bbac7ca commit 9f27657
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/main/kotlin/frc/team449/robot2024/subsystems/Intake.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package frc.team449.robot2024.subsystems
class Intake {

}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ProtoUndertaker(
private val motor: WrappedMotor
) : SubsystemBase() {

fun intake(): Command {
fun intake(): Command { // lalalallal lalalallal allalalalalla
return this.runOnce {
motor.setVoltage(ProtoIntakeConstants.INTAKE_VOLTAGE)
}
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/frc/team449/system/motor/WrappedMotor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class WrappedMotor(
val busVoltage: DoubleSupplier? = null,
val outputCurrent: DoubleSupplier? = null
) : MotorController by motor {

/**
* The last set voltage for this motor (through [setVoltage] or [set])
*/
Expand Down

0 comments on commit 9f27657

Please sign in to comment.