[backend] Check file existance, use underscores in camera unique name (#33)

* Add more comments and logging, fix configManager barf, add underscores

* apply spotless

* Add more verbose logging

* Update VisionSourceManager.java
This commit is contained in:
Matt
2020-07-13 16:41:36 -07:00
committed by GitHub
parent f93ec6665f
commit aed92e7132
5 changed files with 126 additions and 87 deletions

View File

@@ -80,13 +80,12 @@ public class Main {
var usbSrc = (USBCameraSource) src;
collectedSources.put(usbSrc, usbSrc.configuration.pipelineSettings);
logger.trace(
() -> {
return "Matched config for camera \""
+ src.getFrameProvider().getName()
+ "\" and loaded "
+ usbSrc.configuration.pipelineSettings.size()
+ " pipelines";
});
() ->
"Matched config for camera \""
+ src.getFrameProvider().getName()
+ "\" and loaded "
+ usbSrc.configuration.pipelineSettings.size()
+ " pipelines");
}
logger.info("Adding " + collectedSources.size() + " configs to VMM.");