Class TargetWithHeightResult


  • public class TargetWithHeightResult
    extends VisionResult
    Vision result which stores the height of the target found.
    • Constructor Summary

      Constructors 
      Constructor Description
      TargetWithHeightResult​(double xError, double yError, double xAbs, double yAbs, double height, boolean foundTarget)
      Construct a result with the given parameters
    • Constructor Detail

      • TargetWithHeightResult

        public TargetWithHeightResult​(double xError,
                                      double yError,
                                      double xAbs,
                                      double yAbs,
                                      double height,
                                      boolean foundTarget)
        Construct a result with the given parameters
        Parameters:
        xError - error on x-coordinate
        yError - error on y-coordinate
        xAbs - absolute x-coordinate
        yAbs - absolute y-coordinate
        height - height of the target
        foundTarget - whether a target was actually found
    • Method Detail

      • height

        public double height()