This commit is contained in:
Antoine PerreaultE 2023-02-15 18:29:20 -05:00
commit b8434d5a85
3 changed files with 11 additions and 1 deletions

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