This commit is contained in:
EdwardFaucher 2023-02-15 18:23:38 -05:00
parent 0756345494
commit af77d6e4a4

View File

@ -23,11 +23,21 @@ public class Limelight extends SubsystemBase {
limelight.setPipelineIndex(3);
}
public void Cone() {
public void cone() {
limelight.setLED(VisionLEDMode.kOff);
limelight.setPipelineIndex(2);
}
public void apriltag() {
limelight.setLED(VisionLEDMode.kOff);
limelight.setPipelineIndex(0);
}
public void tape() {
limelight.setLED(VisionLEDMode.kOn);
limelight.setPipelineIndex(1);
}
@Override
public void periodic() {
// This method will be called once per scheduler run