Files
2022NoWayHome/src/main/java/frc4388/robot/subsystems/Intake.java
T

33 lines
724 B
Java
Raw Normal View History

2022-01-12 06:00:44 +05:30
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc4388.robot.subsystems;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
public class Intake extends SubsystemBase {
/** Creates a new Intake. */
public Intake() {
}
@Override
public void periodic() {
// This method will be called once per scheduler run
}
public void runWithTriggers(double leftTrigger, double rightTrigger){
}
2022-01-12 06:34:13 +05:30
public void runIntake(double input) {
m_intakeMotor.set(input);
}
Public vod runExtender(double input) {
m_extenderMotor.set(input);
}
2022-01-12 06:00:44 +05:30
}