This repository was archived by the owner on Sep 15, 2023. It is now read-only.
-
Couldn't load subscription status.
- Fork 2
CameraSettings
Kyle Corry edited this page Jan 8, 2019
·
2 revisions
Camera settings are used by several layers of the Robot Vision API to create accurate estimates for target locations.
- inverted: Determines whether the camera is upside down or not. If your camera is upright, you can set this to false.
- fov: The field of view of your camera in degrees, use the camera's documentation to determine these values. Here is the WPILib documentation on calibration your camera.
-
resolution: This is the resolution of your camera's image in pixels. You can set the resolution of your camera in Java using
camera.setResolution(width, height)
CameraSettings cameraSettings = new CameraSettings(inverted, fov, resolution);Developed by Kyle Corry along with FRC Team 5112, The Gongoliers.