Package org.hyperonline.hyperlib.vision
Class TargetWithHeightResult
- java.lang.Object
-
- org.hyperonline.hyperlib.vision.VisionResult
-
- org.hyperonline.hyperlib.vision.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 parametersTargetWithHeightResult(VisionResult result, double height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
height()
-
Methods inherited from class org.hyperonline.hyperlib.vision.VisionResult
foundTarget, xAbsolute, xError, yAbsolute, yError
-
-
-
-
Constructor Detail
-
TargetWithHeightResult
public TargetWithHeightResult(VisionResult result, double height)
- Parameters:
result
- base result to add toheight
- height of the target
-
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-coordinateyError
- error on y-coordinatexAbs
- absolute x-coordinateyAbs
- absolute y-coordinateheight
- height of the targetfoundTarget
- whether a target was actually found
-
-