src/main/java/frc/robot/subsystems/ShooterVision.java
/** Returns if limelight can see defined retroreflective target */
Returns if limelight can see defined retroreflective target
Returns if limelight can see defined retroreflective target
public boolean hasTarget(){
	setPipeline(ShooterVisionConstants.TARGET_PIPELINE);
    SmartDashboard.putNumber("tv; ", tv.getDouble(0));
    if(tv.getDouble(0) != 0)
      return true;
    return false;
  }
public boolean hasTarget ( ) { setPipeline ( ShooterVisionConstants . TARGET_PIPELINE ) ; SmartDashboard . putNumber ( "tv; " , tv . getDouble ( 0 ) ) ; if ( tv . getDouble ( 0 ) != 0 ) return true ; return false ; }
Returns if limelight can see defined retroreflective target
Returns if limelight can see defined retroreflective target