Update writes to log file
This commit is contained in:
parent
e202de939e
commit
2370971a89
3 changed files with 8 additions and 8 deletions
|
@ -97,8 +97,6 @@ public class Cli
|
|||
switch (userInput)
|
||||
{
|
||||
case 1:
|
||||
println("Setting up cameras...");
|
||||
println("This may take a moment...");
|
||||
configureCameras();
|
||||
camerasConfigured = true;
|
||||
break;
|
||||
|
@ -143,6 +141,7 @@ public class Cli
|
|||
printHelp();
|
||||
break;
|
||||
case 8:
|
||||
ErrorLogging.logError("DEBUG: User requested manual exit of program. Cleanly exiting...");
|
||||
break;
|
||||
default:
|
||||
//Input handling already done by inputFiltering()
|
||||
|
|
|
@ -76,13 +76,13 @@ public class OpenCVFacade
|
|||
//Initial Camera creation
|
||||
static
|
||||
{
|
||||
ErrorLogging.logError("Initialising cameras...");
|
||||
File devDirectory = new File("/dev");
|
||||
for(File cameraFile : devDirectory.listFiles(
|
||||
(file) -> { return file.getName().contains(CAMERA_FILE_PREFIX); }))
|
||||
{
|
||||
String cameraName = cameraFile.getName().
|
||||
substring(CAMERA_FILE_PREFIX.length());
|
||||
ErrorLogging.logError("DEBUG: Camera name: " + cameraName);
|
||||
newCamera(cameraName, cameraFile.getAbsolutePath());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<XMI xmi.version="1.2" timestamp="2023-03-10T15:27:52" verified="false" xmlns:UML="http://schema.omg.org/spec/UML/1.4">
|
||||
<XMI xmi.version="1.2" timestamp="2023-03-13T12:29:08" verified="false" xmlns:UML="http://schema.omg.org/spec/UML/1.4">
|
||||
<XMI.header>
|
||||
<XMI.documentation>
|
||||
<XMI.exporter>umbrello uml modeller 2.32.3 http://umbrello.kde.org</XMI.exporter>
|
||||
|
@ -60,12 +60,13 @@
|
|||
<messages/>
|
||||
<associations/>
|
||||
</diagram>
|
||||
<diagram xmi.id="uucBDfma2hRQg" name="activity diagram" type="6" documentation="" backgroundcolor="#ffffff" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" griddotcolor="#f7f7f7" linecolor="#ff0000" linewidth="0" textcolor="#000000" usefillcolor="1" showattribassocs="1" showatts="1" showattsig="1" showops="1" showopsig="1" showpackage="1" showpubliconly="0" showscope="1" showstereotype="2" localid="-1" showgrid="0" snapgrid="0" snapcsgrid="0" snapx="25" snapy="25" zoom="100" canvasheight="197" canvaswidth="314" isopen="1">
|
||||
<diagram xmi.id="uucBDfma2hRQg" name="activity diagram" type="6" documentation="" backgroundcolor="#ffffff" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" griddotcolor="#f7f7f7" linecolor="#ff0000" linewidth="0" textcolor="#000000" usefillcolor="1" showattribassocs="1" showatts="1" showattsig="1" showops="1" showopsig="1" showpackage="1" showpubliconly="0" showscope="1" showstereotype="2" localid="-1" showgrid="0" snapgrid="0" snapcsgrid="0" snapx="25" snapy="25" zoom="100" canvasheight="281" canvaswidth="299" isopen="1">
|
||||
<widgets>
|
||||
<objectnodewidget xmi.id="u5M4P5Hfu8Nx0" localid="uoJ4Np3PVy53i" textcolor="#000000" linecolor="#ff0000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="1" x="-280" y="-70" width="105" height="51" isinstance="0" showstereotype="2" objectnodename="Config File" documentation="" objectnodetype="1" objectnodestate=""/>
|
||||
<activitywidget xmi.id="uepLzsA8b3T2G" localid="u5XRXcu6W6hx8" textcolor="#000000" linecolor="#ff0000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="1" x="-474" y="-53" width="106" height="28" isinstance="0" showstereotype="2" activityname="Import Config" documentation="" precondition="" postcondition="" activitytype="1"/>
|
||||
<activitywidget xmi.id="utaWvp4BKKTSY" localid="u48aLE7dXqRpC" textcolor="#000000" linecolor="#ff0000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="1" x="-445" y="-147" width="15" height="15" isinstance="0" showstereotype="2" activityname="" documentation="" precondition="" postcondition="" activitytype="0"/>
|
||||
<activitywidget xmi.id="uekMk1xetI6OX" localid="u5psqOHbbWzXS" textcolor="#000000" linecolor="#ff0000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="1" x="-489" y="22" width="66" height="28" isinstance="0" showstereotype="2" activityname="Import " documentation="" precondition="" postcondition="" activitytype="1"/>
|
||||
<objectnodewidget xmi.id="u5M4P5Hfu8Nx0" localid="uoJ4Np3PVy53i" textcolor="#000000" linecolor="#ff0000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="1" x="-280" y="-70" width="105" height="51" isinstance="0" showstereotype="2" objectnodename="Config File" documentation="" objectnodetype="1" objectnodestate=""/>
|
||||
<activitywidget xmi.id="uIamPmPrluaOa" localid="ulAwe2WjMF8Ij" textcolor="#000000" linecolor="#ff0000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="1" x="-428" y="34" width="117" height="28" isinstance="0" showstereotype="2" activityname="Set Up Cameras" documentation="" precondition="" postcondition="" activitytype="1"/>
|
||||
<activitywidget xmi.id="ubN1Cq8FrGEp1" localid="uz49grNbi9mqh" textcolor="#000000" linecolor="#ff0000" linewidth="0" usefillcolor="1" usesdiagramfillcolor="0" usesdiagramusefillcolor="0" fillcolor="#ffffc0" font="Noto Sans,10,-1,5,50,0,0,0,0,0,Regular" autoresize="1" x="-441" y="106" width="117" height="28" isinstance="0" showstereotype="2" activityname="Initialise Fixture" documentation="" precondition="" postcondition="" activitytype="1"/>
|
||||
</widgets>
|
||||
<messages/>
|
||||
<associations>
|
||||
|
@ -102,7 +103,7 @@
|
|||
</UML:Model>
|
||||
</XMI.content>
|
||||
<XMI.extensions xmi.extender="umbrello">
|
||||
<docsettings viewid="uucBDfma2hRQg" documentation="" uniqueid="u5psqOHbbWzXS"/>
|
||||
<docsettings viewid="uucBDfma2hRQg" documentation="" uniqueid="uz49grNbi9mqh"/>
|
||||
<listview>
|
||||
<listitem id="Views" type="800" open="1">
|
||||
<listitem id="Component_View" type="821" open="1"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue