-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUntitled Diagram.drawio
51 lines (51 loc) · 7.43 KB
/
Untitled Diagram.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<mxfile host="app.diagrams.net" modified="2020-12-23T16:12:31.679Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" etag="elS_edIln_wJsSlXS_55" version="14.0.5" type="github">
<diagram id="fcNTQIonAr8g9Fvxr2od" name="Page-1">
<mxGraphModel dx="981" dy="461" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="ZbvPQ6vy6DvIytjsT4os-8" value="<p style="margin: 0px ; margin-top: 6px ; text-align: center"><b>User input</b></p><hr><p style="margin: 0px ; margin-left: 8px">+ Name: //todo<br>+ Object to track</p><p style="margin: 0px ; margin-left: 8px">+ Shutter speed</p><p style="margin: 0px ; margin-left: 8px">+ N. of exposures</p>" style="align=left;overflow=fill;html=1;dropTarget=0;" parent="1" vertex="1">
<mxGeometry x="20" y="20" width="140" height="170" as="geometry" />
</mxCell>
<mxCell id="ZbvPQ6vy6DvIytjsT4os-9" value="" style="shape=component;jettyWidth=8;jettyHeight=4;" parent="ZbvPQ6vy6DvIytjsT4os-8" vertex="1">
<mxGeometry x="1" width="20" height="20" relative="1" as="geometry">
<mxPoint x="-24" y="4" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ZbvPQ6vy6DvIytjsT4os-22" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><i>Rails API</i></p><hr size="1"><div style="text-align: center"><span>Create</span></div><p style="margin: 0px ; margin-left: 4px">+ Name<br>+ Objects to track</p><p style="margin: 0px ; margin-left: 4px">+ Shutter speed</p><p style="margin: 0px ; margin-left: 4px">+ N. of exposures</p><hr size="1"><p style="text-align: center ; margin: 0px 0px 0px 4px">Update</p><p style="margin: 0px ; margin-left: 4px"></p><div><span>+ Current position</span></div>+ Position T<sub>finish+error</sub><br>+ Total time<br><p></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="280" y="20" width="200" height="180" as="geometry" />
</mxCell>
<mxCell id="ZbvPQ6vy6DvIytjsT4os-24" value="Post to 'tasks#new'" style="html=1;verticalAlign=bottom;startArrow=oval;startFill=1;endArrow=block;startSize=8;" parent="1" edge="1">
<mxGeometry width="60" relative="1" as="geometry">
<mxPoint x="160" y="107" as="sourcePoint" />
<mxPoint x="280" y="107" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ZbvPQ6vy6DvIytjsT4os-25" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><i>Python "calculator"</i></p><hr size="1"><div style="text-align: center"><span>Parameters</span></div><p style="margin: 0px ; margin-left: 4px">+ Id<br>+ Objects to track</p><p style="margin: 0px ; margin-left: 4px">+ Total time<font style="font-size: 8px">(Shutter speed + N. of exposures)</font></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ Id<br>+ Current position</p><p style="margin: 0px ; margin-left: 4px">+ Position T<sub>finish&nbsp;+ error</sub></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="600" y="20" width="190" height="150" as="geometry" />
</mxCell>
<mxCell id="ZbvPQ6vy6DvIytjsT4os-28" value="dispatch" style="html=1;verticalAlign=bottom;endArrow=block;exitX=0.999;exitY=0.226;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.271;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" target="ZbvPQ6vy6DvIytjsT4os-25" edge="1" source="ZbvPQ6vy6DvIytjsT4os-22">
<mxGeometry relative="1" as="geometry">
<mxPoint x="480" y="50" as="sourcePoint" />
<mxPoint x="600" y="46" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ZbvPQ6vy6DvIytjsT4os-29" value="put to 'tasks#return'" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;entryX=1;entryY=0.724;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" target="ZbvPQ6vy6DvIytjsT4os-22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="480" y="104.71000000000001" as="targetPoint" />
<mxPoint x="598" y="150" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="ZbvPQ6vy6DvIytjsT4os-34" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center ; text-decoration: underline"><b>Task object</b></p><hr><p style="margin: 0px ; margin-left: 8px">+ Name<br>+ Objects to track<br>+ Shutter speed</p><p style="margin: 0px ; margin-left: 8px">+ N. of exposures</p><p style="margin: 0px ; margin-left: 8px"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="20" y="270" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="ZbvPQ6vy6DvIytjsT4os-36" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><b>Arduino</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ Current position</p><p style="margin: 0px ; margin-left: 4px">+ Position T<sub>finish+error</sub></p><p style="margin: 0px ; margin-left: 4px">+ Total time</p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ Status info</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="600" y="270" width="200" height="110" as="geometry" />
</mxCell>
<mxCell id="hXzfbazBJLAiQzN4rG63-12" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><i>Serial listener</i></p><hr size="1"><div style="text-align: center">Send</div><div>+ Input -&gt; data_json</div><div>+ Output -&gt; string</div><hr size="1"><p style="text-align: center ; margin: 0px 0px 0px 4px">Rcieve</p><p style="margin: 0px ; margin-left: 4px"></p><div><span>+ Input -&gt; string</span></div><div><span>+ Output -&gt; data_json</span></div><br><p></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" vertex="1" parent="1">
<mxGeometry x="280" y="270" width="200" height="140" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>