mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-21 01:01:41 +00:00
Websockets almost done TODO ports, testing
This commit is contained in:
@@ -3,7 +3,7 @@ package com.chameleonvision.vision;
|
||||
public class CamVideoMode {
|
||||
public int fps;
|
||||
public int width;
|
||||
public int heigh;
|
||||
public int height;
|
||||
public String pixel_format;
|
||||
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ public class CameraProcess implements Runnable{
|
||||
|
||||
|
||||
int Width = manager.Cameras.get(CameraName).camVideoMode.width;
|
||||
int Height = manager.Cameras.get(CameraName).camVideoMode.heigh;
|
||||
int Height = manager.Cameras.get(CameraName).camVideoMode.height;
|
||||
var cv_publish = cs.putVideo(CameraName,Width,Height);
|
||||
//initial math setup for camera
|
||||
double DiagonalView = FastMath.toRadians(manager.Cameras.get(CameraName).FOV);
|
||||
|
||||
Reference in New Issue
Block a user