Merge branch 'main' of https://demerso.net/pls5618/2023/robot
This commit is contained in:
commit
b8434d5a85
Binary file not shown.
Binary file not shown.
@ -23,11 +23,21 @@ public class Limelight extends SubsystemBase {
|
|||||||
limelight.setPipelineIndex(3);
|
limelight.setPipelineIndex(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Cone() {
|
public void cone() {
|
||||||
limelight.setLED(VisionLEDMode.kOff);
|
limelight.setLED(VisionLEDMode.kOff);
|
||||||
limelight.setPipelineIndex(2);
|
limelight.setPipelineIndex(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void apriltag() {
|
||||||
|
limelight.setLED(VisionLEDMode.kOff);
|
||||||
|
limelight.setPipelineIndex(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void tape() {
|
||||||
|
limelight.setLED(VisionLEDMode.kOn);
|
||||||
|
limelight.setPipelineIndex(1);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void periodic() {
|
public void periodic() {
|
||||||
// This method will be called once per scheduler run
|
// This method will be called once per scheduler run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user