mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-04 03:11:40 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5be3d062c | ||
|
|
3379a1a132 |
@@ -465,13 +465,13 @@ public class VisionModule {
|
|||||||
pipelineSettings.cameraExposureRaw = 10; // reasonable default
|
pipelineSettings.cameraExposureRaw = 10; // reasonable default
|
||||||
}
|
}
|
||||||
|
|
||||||
|
settables.setExposureRaw(pipelineSettings.cameraExposureRaw);
|
||||||
try {
|
try {
|
||||||
settables.setAutoExposure(pipelineSettings.cameraAutoExposure);
|
settables.setAutoExposure(pipelineSettings.cameraAutoExposure);
|
||||||
} catch (VideoException e) {
|
} catch (VideoException e) {
|
||||||
logger.error("Unable to set camera auto exposure!");
|
logger.error("Unable to set camera auto exposure!");
|
||||||
logger.error(e.toString());
|
logger.error(e.toString());
|
||||||
}
|
}
|
||||||
settables.setExposureRaw(pipelineSettings.cameraExposureRaw);
|
|
||||||
if (cameraQuirks.hasQuirk(CameraQuirk.Gain)) {
|
if (cameraQuirks.hasQuirk(CameraQuirk.Gain)) {
|
||||||
// If the gain is disabled for some reason, re-enable it
|
// If the gain is disabled for some reason, re-enable it
|
||||||
if (pipelineSettings.cameraGain == -1) pipelineSettings.cameraGain = 75;
|
if (pipelineSettings.cameraGain == -1) pipelineSettings.cameraGain = 75;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ const navLinks = [
|
|||||||
icon: "fab fa-github",
|
icon: "fab fa-github",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "https://www.redbubble.com/people/PhotonVision/shop?asc=u",
|
href: "https://photonvision.printful.me/",
|
||||||
label: "Merch",
|
label: "Merch",
|
||||||
icon: "fa-solid fa-shirt",
|
icon: "fa-solid fa-shirt",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user