mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
Separated vision process loop and added PipelineResult class
This commit is contained in:
@@ -19,6 +19,10 @@ public class CameraValues {
|
||||
public final double HorizontalFocalLength;
|
||||
public final double VerticalFocalLength;
|
||||
|
||||
public CameraValues(Camera camera) {
|
||||
this(camera.camVideoMode.width, camera.camVideoMode.height, camera.FOV);
|
||||
}
|
||||
|
||||
public CameraValues(int imageWidth, int imageHeight, double fov) {
|
||||
ImageWidth = imageWidth;
|
||||
ImageHeight = imageHeight;
|
||||
|
||||
Reference in New Issue
Block a user