Class SkewVisionResult


  • public class SkewVisionResult
    extends VisionResult
    Vision result which stores the skew of the target found.
    • Constructor Detail

      • SkewVisionResult

        public SkewVisionResult​(VisionResult result,
                                double skew)
        Parameters:
        result - base result to add to
        skew - skew of the target
      • SkewVisionResult

        public SkewVisionResult​(double xError,
                                double yError,
                                double xAbs,
                                double yAbs,
                                double skew,
                                boolean foundTarget)
        Parameters:
        xError - error on x-coordinate
        yError - error on y-coordinate
        xAbs - absolute x-coordinate
        yAbs - absolute y-coordinate
        skew - skew of the target
        foundTarget - whether a target was actually found
    • Method Detail

      • skew

        public double skew()
        Returns:
        the skew of the target