package frc.robot.subsystems; import java.lang.constant.Constable; import com.revrobotics.CANSparkMax; import com.revrobotics.CANSparkLowLevel.MotorType; import frc.robot.Constants; import edu.wpi.first.wpilibj2.command.SubsystemBase; public class Hooks extends SubsystemBase { private final CANSparkMax m_hookL = new CANSparkMax(Constants.hookL_ID, MotorType.kBrushed); private final CANSparkMax m_hookR = new CANSparkMax(Constants.hookR_ID, MotorType.kBrushed); public Hooks() { // TODO: possibly invert to move forward upon positive votage // TODO: invert one hook m_hookL.setInverted(true); } public void atPercentage(double percL, double percR) { m_hookL.set(percL); m_hookR.set(percR); } }