TeamCode/src/main/java/org/firstinspires/ftc/teamcode/DriverOpMode.java
/**
     * handleLED sets LED lights based on
     * Red(Led1) is when it is on robot oriented mode or when we are in an automated task
     * Green(Led2) is when the tracking target is visible
     * Blue(Led3) is when the shooting motor is within the shooting velocity range
     */
handleLED sets LED lights based on
Red(Led1) is when it is on robot oriented mode or when we are in an automated task
Green(Led2) is when the tracking target is visible
Blue(Led3) is when the shooting motor is within the shooting velocity range
handleLED sets LED lights based on Red ( Led1 ) is when it is on robot oriented mode or when we are in an automated task Green ( Led2 ) is when the tracking target is visible Blue ( Led3 ) is when the shooting motor is within the shooting velocity range
private void handleLED(){
        robotHardware.setLed1(currentTask != null || !fieldMode);
        robotHardware.setLed2(robotVision.isTargetVisible());
        robotHardware.setLed3(robotHardware.isShootingSpeedWithinRange());
    }
private void handleLED ( ) { robotHardware . setLed1 ( currentTask != null || ! fieldMode ) ; robotHardware . setLed2 ( robotVision . isTargetVisible ( ) ) ; robotHardware . setLed3 ( robotHardware . isShootingSpeedWithinRange ( ) ) ; }
handleLED sets LED lights based on
 Red(Led1) is when it is on robot oriented mode or when we are in an automated task
 Green(Led2) is when the tracking target is visible
 Blue(Led3) is when the shooting motor is within the shooting velocity range
handleLED sets LED lights based on Red ( Led1 ) is when it is on robot oriented mode or when we are in an automated task Green ( Led2 ) is when the tracking target is visible Blue ( Led3 ) is when the shooting motor is within the shooting velocity range