-
Couldn't load subscription status.
- Fork 261
Fix OV9281 resolution options when libcamera #2100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix OV9281 resolution options when libcamera #2100
Conversation
5738f81 to
516cac2
Compare
|
Where do these new magic FPS numbers come from? Is there a data sheet you can link? |
https://www.ovt.com/wp-content/uploads/2022/01/OV9281-OV9282-PB-v1.3-WEB.pdf |
Resolves PhotonVision#2087 Signed-off-by: Jade Turner <[email protected]>
516cac2 to
d17649f
Compare
|
That was more a gentle poke to link that in the code was all :) ty |
|
Oh yeah I can do that |
Signed-off-by: Jade Turner <[email protected]>
photon-core/src/main/java/org/photonvision/vision/camera/csi/LibcameraGpuSettables.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jade Turner <[email protected]>
| videoModes.put(2, new FPSRatedVideoMode(PixelFormat.kUnknown, 640, 480, 65, 90, .39)); | ||
| videoModes.put(3, new FPSRatedVideoMode(PixelFormat.kUnknown, 1280, 800, 60, 60, 1)); | ||
| // Taken from https://www.ovt.com/wp-content/uploads/2022/01/OV9281-OV9282-PB-v1.3-WEB.pdf | ||
| videoModes.put(0, new FPSRatedVideoMode(PixelFormat.kUnknown, 640, 400, 240, 240, 1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to test this one
Resolves #2087
Values are taken from the datasheet and have been tested on the LL4 (Todo)
Meta
Merge checklist: