mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Fix int/double cast exception in request handler
This commit is contained in:
@@ -43,7 +43,8 @@ public class RequestHandler {
|
||||
VisionProcess currentVisionProcess = VisionManager.getCurrentUIVisionProcess();
|
||||
CameraCapture currentCamera = currentVisionProcess.getCamera();
|
||||
|
||||
Double newFOV = (Double) camSettings.get("fov");
|
||||
Integer newFOV = (Integer) camSettings.get("fov");
|
||||
|
||||
Integer newStreamDivisor = (Integer) camSettings.get("streamDivisor");
|
||||
Integer newResolution = (Integer) camSettings.get("resolution");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user