Package org.hyperonline.hyperlib.vision
Class VisionResult
- java.lang.Object
-
- org.hyperonline.hyperlib.vision.VisionResult
-
- Direct Known Subclasses:
SkewVisionResult
,TargetWithHeightResult
public class VisionResult extends java.lang.Object
This class stores the result of running the vision pipeline. This contains the location of the target. If we want to do more advanced stuff (like find many targets, or different types) add some data here. This class is immutable. That way it can be safely passed between threads.
-
-
Constructor Summary
Constructors Constructor Description VisionResult(double xError, double yError, double xAbs, double yAbs, boolean foundTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
foundTarget()
double
xAbsolute()
double
xError()
double
yAbsolute()
double
yError()
-