You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -77,37 +78,37 @@ public static boolean hubPresent() {
77
78
}
78
79
}
79
80
80
-
/**
81
-
* Initialises the Limelight for Top Hub tracking: Sets the LEDS to on, sets the pipeline to 0, and sets the Limelight as a Vision Processor
82
-
*/
81
+
/**
82
+
* Initialises the Limelight for Top Hub tracking: Sets the LEDS to on, sets the pipeline to 0, and sets the Limelight as a Vision Processor
83
+
*/
83
84
publicstaticvoidinit() {
84
85
setLEDS(Limelight_Light_States.blink);
85
86
NetworkTableInstance.getDefault().getTable("limelight").getEntry("pipeline").setNumber(0); //Sets the pipeline to 0
86
87
NetworkTableInstance.getDefault().getTable("limelight").getEntry("camMode").setNumber(0); //Sets the Limelight as a Vision Proccesor
87
88
}
88
89
89
-
/**
90
-
* Sets the pipeline to the value of pipeline
91
-
*
92
-
* @param pipeline 0-10
93
-
*/
90
+
/**
91
+
* Sets the pipeline to the value of pipeline
92
+
*
93
+
* @param pipeline 0-10
94
+
*/
94
95
publicstaticvoidsetPipeline(doublepipeline) {
95
96
NetworkTableInstance.getDefault().getTable("limelight").getEntry("pipeline").setNumber(pipeline); //Sets the pipeline to pipeline
96
97
}
97
98
98
-
/**
99
-
* Code run for limelight when robot is in a disabled state
100
-
*/
99
+
/**
100
+
* Code run for limelight when robot is in a disabled state
101
+
*/
101
102
publicstaticvoiddisabled() {
102
103
setLEDS(Limelight_Light_States.off); // Turns off the god damm limelight cause im going to go blind and gouge my eyes out because wtf does it need to be so bright like holy hell
103
104
}
104
105
105
106
106
-
/**
107
-
* This function sets the LED mode of the limelight
108
-
*
109
-
* @param mode Limelight_Light_States on, off, blink
110
-
*/
107
+
/**
108
+
* This function sets the LED mode of the limelight
109
+
*
110
+
* @param mode Limelight_Light_States on, off, blink
0 commit comments