Compare commits
6 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
3f9b2ab8e5 | 2 years ago |
|
|
f937f89e56 | 2 years ago |
|
|
0f532701f2 | 2 years ago |
|
|
06b9df2c0f | 2 years ago |
|
|
55d92d4614 | 2 years ago |
|
|
49752d4626 | 2 years ago |
@ -0,0 +1,43 @@
|
|||||||
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
|
# HOW TO USE THIS FILE
|
||||||
|
# 切換到這個檔案的目錄處
|
||||||
|
# 輸入以下指令
|
||||||
|
# docker build -t mavone_server:0.XX .
|
||||||
|
|
||||||
|
COPY mavone /home/mavone/pkg
|
||||||
|
COPY LibPack/libmavsdk-dev_1.4.18_ubuntu20.04_amd64.deb /home/mavone/pkg/libmavsdk.deb
|
||||||
|
RUN test -f /home/mavone/pkg/libmavsdk.deb || (echo "File not found: /home/mavone/pkg/libmavsdk.deb" && exit 1)
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
||||||
|
|
||||||
|
ENV LANG en_US.utf8
|
||||||
|
ENV CONFIG_FILE /home/mavone/config.txt
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y g++ cmake libmysqlcppconn-dev
|
||||||
|
|
||||||
|
WORKDIR /home/mavone/pkg
|
||||||
|
RUN dpkg -i libmavsdk.deb
|
||||||
|
|
||||||
|
RUN cmake -Bbuild -H.
|
||||||
|
RUN cmake --build build
|
||||||
|
RUN cp build/mavone /usr/local/bin/mavone
|
||||||
|
|
||||||
|
WORKDIR /home/mavone
|
||||||
|
RUN rm -r /home/mavone/pkg
|
||||||
|
|
||||||
|
CMD ["/bin/sh", "-c", "mavone $CONFIG_FILE"]
|
||||||
|
|
||||||
|
# 測試語句
|
||||||
|
# docker run -it --rm -e CONFIG_FILE="/home/mavone/mavone_config.txt" -v D:\tryRun:/home/mavone mavone_server:0.60
|
||||||
|
# docker run -it --rm -e CONFIG_FILE="/home/mavone/mavone_config.txt" -p 14550:14550 -v D:\tryRun:/home/mavone mavone_server:0.60
|
||||||
|
# docker run -it --rm -e CONFIG_FILE="/home/mavone/config1.txt" -p 49304:49304 -v /home/webpage/Mavsdk_DEV/mavone:/home/mavone mavone_server:0.421
|
||||||
|
|
||||||
|
# 這個方式會是錯的 因為會去執行 host 的環境變數 而不是 container 的環境變數
|
||||||
|
# ENTRYPOINT ["mavone"]
|
||||||
|
# CMD ["$CONFIG_FILE"]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,384 @@
|
|||||||
|
<mxfile host="Electron" modified="2024-01-16T09:06:13.081Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.18 Chrome/120.0.6099.199 Electron/28.1.2 Safari/537.36" etag="rZ2WN5JBLS4L5ICd5Iy6" version="22.1.18" type="device">
|
||||||
|
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
||||||
|
<mxGraphModel dx="2660" dy="1503" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||||
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-1" target="qup03jMZmrsR1gBGYmkV-2">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-1" value="mavone.cpp" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFCCCC;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="350" y="10" width="80" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-2" target="qup03jMZmrsR1gBGYmkV-4">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-2" value="Input config file name" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="330" y="80" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-4" target="qup03jMZmrsR1gBGYmkV-14">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-4" value="Read config file content and parse into&nbsp;<i><u>initSetting</u></i><span style="background-color: initial;">&nbsp;</span>" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="330" y="160" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-6" value="subsribe event<br>new MAVSDK::System detect" style="swimlane;whiteSpace=wrap;html=1;startSize=30;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="487" y="270" width="253" height="440" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-7" target="qup03jMZmrsR1gBGYmkV-8">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-7" value="Get all connect MAVSDK::System list" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="10" y="40" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-8" target="qup03jMZmrsR1gBGYmkV-10">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-8" value="Contrast the list with <i><u>systemHandlerInfos </u></i>and pinpoint an object in the list that has a sysid exclusive to it." style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="10" y="105" width="120" height="75" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-35" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-10" target="qup03jMZmrsR1gBGYmkV-12">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-10" target="qup03jMZmrsR1gBGYmkV-18">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-10" value="<font style="font-size: 11px;">Has an <br>object been <br>discovered?</font>" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="35" y="208" width="70" height="66" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-12" target="qup03jMZmrsR1gBGYmkV-16">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-12" value="Start an <u style=""><b>systemHandler</b></u><span style="background-color: initial;">&nbsp;<br>thread for this MAVSDK::System object.</span>" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="130" y="204" width="100" height="74" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-46" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-16" target="qup03jMZmrsR1gBGYmkV-45">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-16" value="Record the required information into an&nbsp;<i><u>handlerInfo</u></i> object." style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="120" y="290" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-18" value="END" style="whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="40" y="390" width="60" height="20" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-23" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="90" y="210" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-24" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="35" y="274" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-47" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-45" target="qup03jMZmrsR1gBGYmkV-18">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-45" value="Add this handlerInfo object in&nbsp;<br><i style="border-color: var(--border-color);"><u style="border-color: var(--border-color);">systemHandlerInfos</u></i><br>&nbsp;for managment." style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry x="120" y="370" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-14" value="Initialize MAVSDK and activate its listening connection port." style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="330" y="250" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-31" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.001;entryY=0.023;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-14" target="qup03jMZmrsR1gBGYmkV-6">
|
||||||
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||||
|
<mxPoint x="520" y="380" as="sourcePoint" />
|
||||||
|
<mxPoint x="470" y="280" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-66" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-32" target="qup03jMZmrsR1gBGYmkV-34">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-32" value="Establish MySQL connection." style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="330" y="350" width="120" height="50" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-33" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" target="qup03jMZmrsR1gBGYmkV-32">
|
||||||
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||||
|
<mxPoint x="487" y="330" as="sourcePoint" />
|
||||||
|
<mxPoint x="570" y="420" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="390" y="330" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-122" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-34" target="qup03jMZmrsR1gBGYmkV-41">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="300" y="470" />
|
||||||
|
<mxPoint x="300" y="80" />
|
||||||
|
<mxPoint x="210" y="80" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-124" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-34" target="qup03jMZmrsR1gBGYmkV-123">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-34" value="is <br>terminated<br>be SET" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="350" y="430" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-40" value="" style="endArrow=block;dashed=1;html=1;rounded=0;strokeWidth=1;endFill=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-12">
|
||||||
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||||
|
<mxPoint x="750" y="390" as="sourcePoint" />
|
||||||
|
<mxPoint x="800" y="340" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-115" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-41" target="qup03jMZmrsR1gBGYmkV-114">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-41" value="foreach handlerInfo&nbsp; object&nbsp;in&nbsp;<br><i style="border-color: var(--border-color);"><u style="border-color: var(--border-color);">systemHandlerInfos.</u></i>" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="150" y="100" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-131" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-42" target="qup03jMZmrsR1gBGYmkV-130">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-42" value="State Machine (handlerInfo.handlerState<span style="background-color: initial;">)</span>" style="swimlane;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="-650" y="240" width="930" height="860" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-58" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-43" target="qup03jMZmrsR1gBGYmkV-51">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-63" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-43" target="qup03jMZmrsR1gBGYmkV-49">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-43" value="Case :&nbsp;<br><font style="font-size: 12px;">State </font>is <br>Init." style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="720" y="40" width="80" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-99" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-49" target="qup03jMZmrsR1gBGYmkV-98">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-49" value="INSERT new row <br>to MySQL" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="700" y="460" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-73" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-50" target="qup03jMZmrsR1gBGYmkV-72">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="760" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-50" value="Change state to<br>Prologue" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="715" y="740" width="90" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-59" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-51" target="qup03jMZmrsR1gBGYmkV-54">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-51" value="Case :&nbsp;<br><font style="font-size: 12px;">State </font>is <br>Prologue" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="570" y="40" width="80" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-54" target="qup03jMZmrsR1gBGYmkV-55">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-67" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-54" target="qup03jMZmrsR1gBGYmkV-65">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-54" value="<u>mysqlSN</u><br>has <br>value?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="570" y="130" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-61" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-55" target="qup03jMZmrsR1gBGYmkV-56">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-76" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-55" target="qup03jMZmrsR1gBGYmkV-86">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="550" y="330" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-55" value="check connection<br>from&nbsp;<br><i><u>gHandlerMask</u></i>" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="570" y="240" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-77" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-56" target="qup03jMZmrsR1gBGYmkV-72">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="500" y="390" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="430" y="390" />
|
||||||
|
<mxPoint x="430" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-56" value="<u><i>gTelemetryInfo</i></u><br>has any data?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="570" y="350" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-74" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-57" target="qup03jMZmrsR1gBGYmkV-72">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="610" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-57" value="Change state to<br>Ready" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="560" y="740" width="100" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-87" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-65" target="qup03jMZmrsR1gBGYmkV-72">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="430" y="170" />
|
||||||
|
<mxPoint x="430" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-65" value="Error Detect!<br>Set terminated" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="450" y="150" width="90" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-69" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="610" y="210" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-70" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="610" y="320" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-71" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="610" y="430" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-68" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="540" y="140" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-72" value="Continue" style="whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="40" y="810" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-78" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="540" y="250" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-79" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="540" y="360" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-94" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-80" target="qup03jMZmrsR1gBGYmkV-91">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-80" value="Case :&nbsp;<br><font style="font-size: 12px;">State </font>is <br>Ready" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="270" y="40" width="80" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-83" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-81" target="qup03jMZmrsR1gBGYmkV-57">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-81" value="UPDATE state in MySQL" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="550" y="460" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-82" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-56" target="qup03jMZmrsR1gBGYmkV-81">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="570" y="440" as="sourcePoint" />
|
||||||
|
<mxPoint x="620" y="360" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-105" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-84" target="qup03jMZmrsR1gBGYmkV-97">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-84" value="Parsing <u><i>gTelemetryInfo</i></u><br>into MySQL syntax" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="250" y="360" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-89" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-86" target="qup03jMZmrsR1gBGYmkV-72">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="430" y="280" />
|
||||||
|
<mxPoint x="430" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-86" value="Change state to<br>Disconnected" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="450" y="260" width="90" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-95" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-91" target="qup03jMZmrsR1gBGYmkV-84">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-103" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-91" target="qup03jMZmrsR1gBGYmkV-93">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-91" value="check connection<br>from&nbsp;<br><i><u>gHandlerMask</u></i>" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="270" y="240" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-92" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="240" y="250" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-111" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-93" target="qup03jMZmrsR1gBGYmkV-72">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-93" value="Change state to<br>Disconnected" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="160" y="740" width="90" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-109" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-96" target="qup03jMZmrsR1gBGYmkV-108">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-96" value="clean gTelemetryInfo" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="250" y="520" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-106" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-97" target="qup03jMZmrsR1gBGYmkV-96">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-97" value="UPDATE data into<br>MySQL" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="250" y="460" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-100" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-98" target="qup03jMZmrsR1gBGYmkV-50">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-98" value="Get mysqlSN<br>from MySQL" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="700" y="570" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-104" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-101" target="qup03jMZmrsR1gBGYmkV-102">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-101" value="Case :&nbsp;<br><font style="font-size: 12px;">State </font>is <br>Disconnected" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="50" y="40" width="80" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-107" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-102" target="qup03jMZmrsR1gBGYmkV-72">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-102" value="UPDATE state in MySQL" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="30" y="460" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-113" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-108" target="qup03jMZmrsR1gBGYmkV-110">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-108" value="Get <br>Vehicle command <br>from MySQL" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#BFFBFF;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="250" y="580" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-112" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-110" target="qup03jMZmrsR1gBGYmkV-72">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="310" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-110" value="Parsing<br>Vehicle command<br>into&nbsp;<i><u>gVehicleCommand</u></i>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#BFFBFF;" vertex="1" parent="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry x="250" y="660" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-116" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-114" target="qup03jMZmrsR1gBGYmkV-42">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-114" value="Operate the handlerInfo object" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="150" y="180" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-119" value="No" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="320" y="430" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-127" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-123" target="qup03jMZmrsR1gBGYmkV-126">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-123" value="Close MySQL connection." style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="330" y="550" width="120" height="50" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-125" value="Yes" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="390" y="510" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-129" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-126" target="qup03jMZmrsR1gBGYmkV-128">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-126" value="Join &amp; Tell <br>all thread to cutoff" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="330" y="640" width="120" height="50" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-128" value="STOP" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#FFCCCC;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="350" y="750" width="80" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-133" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-130" target="qup03jMZmrsR1gBGYmkV-132">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-130" value="foreach handlerInfo&nbsp; object&nbsp;in&nbsp;<br><i style="border-color: var(--border-color);"><u style="border-color: var(--border-color);">systemHandlerInfos.</u></i>" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="150" y="1140" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-134" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-132" target="qup03jMZmrsR1gBGYmkV-34">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="470" y="1260" />
|
||||||
|
<mxPoint x="470" y="470" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-132" value="Remove handlerInfo object if the state is disconnected." style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="150" y="1230" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
</mxfile>
|
||||||
@ -0,0 +1,578 @@
|
|||||||
|
<mxfile host="Electron" modified="2024-03-19T15:39:55.572Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.18 Chrome/120.0.6099.199 Electron/28.1.2 Safari/537.36" etag="dIUk3_SABq-_l_q8tnzb" version="22.1.18" type="device">
|
||||||
|
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
||||||
|
<mxGraphModel dx="1927" dy="902" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||||
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-1" target="qup03jMZmrsR1gBGYmkV-2" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-1" value="mavone.cpp" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFCCCC;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="350" y="10" width="80" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-2" target="qup03jMZmrsR1gBGYmkV-4" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-2" value="Input config file name" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="330" y="80" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-4" target="qup03jMZmrsR1gBGYmkV-14" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-4" value="Read config file content and parse into&nbsp;<i><u>initSetting</u></i><span style="background-color: initial;">&nbsp;</span>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="330" y="160" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-6" value="subscribe event<br>new MAVSDK::System detect" style="swimlane;whiteSpace=wrap;html=1;startSize=30;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="487" y="270" width="253" height="440" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-7" target="qup03jMZmrsR1gBGYmkV-8" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-7" value="Get all connect MAVSDK::System list" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="10" y="40" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-8" target="qup03jMZmrsR1gBGYmkV-10" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-8" value="Contrast the list with <i><u>systemHandlerInfos </u></i>and pinpoint an object in the list that has a sysid exclusive to it." style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="10" y="105" width="120" height="75" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-35" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-10" target="qup03jMZmrsR1gBGYmkV-12" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-10" target="qup03jMZmrsR1gBGYmkV-18" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-10" value="<font style="font-size: 11px;">Has an <br>object been <br>discovered?</font>" style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="35" y="208" width="70" height="66" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-12" target="qup03jMZmrsR1gBGYmkV-16" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-12" value="Start an <u style=""><b>systemHandler</b></u><span style="background-color: initial;">&nbsp;<br>thread for this MAVSDK::System object.</span>" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="130" y="204" width="100" height="74" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-46" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-16" target="qup03jMZmrsR1gBGYmkV-45" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-16" value="Record the required information into an&nbsp;<i><u>handlerInfo</u></i> object." style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="120" y="290" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-18" value="END" style="whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="40" y="390" width="60" height="20" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-23" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="90" y="210" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-24" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="35" y="274" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-47" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" source="qup03jMZmrsR1gBGYmkV-45" target="qup03jMZmrsR1gBGYmkV-18" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-45" value="Add this handlerInfo object in&nbsp;<br><i style="border-color: var(--border-color);"><u style="border-color: var(--border-color);">systemHandlerInfos</u></i><br>&nbsp;for managment." style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-6" vertex="1">
|
||||||
|
<mxGeometry x="120" y="370" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-14" value="Initialize MAVSDK and activate its listening connection port." style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="330" y="250" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-31" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.001;entryY=0.023;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-14" target="qup03jMZmrsR1gBGYmkV-6" edge="1">
|
||||||
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||||
|
<mxPoint x="520" y="380" as="sourcePoint" />
|
||||||
|
<mxPoint x="470" y="280" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-66" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-32" target="qup03jMZmrsR1gBGYmkV-34" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-32" value="Establish MySQL connection." style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="330" y="350" width="120" height="50" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-33" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" target="qup03jMZmrsR1gBGYmkV-32" edge="1">
|
||||||
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||||
|
<mxPoint x="487" y="330" as="sourcePoint" />
|
||||||
|
<mxPoint x="570" y="420" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="390" y="330" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-122" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-34" target="qup03jMZmrsR1gBGYmkV-41" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="300" y="470" />
|
||||||
|
<mxPoint x="300" y="80" />
|
||||||
|
<mxPoint x="210" y="80" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-124" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-34" target="qup03jMZmrsR1gBGYmkV-123" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-34" value="is <br>terminated<br>be SET" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="350" y="430" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-40" value="" style="endArrow=block;dashed=1;html=1;rounded=0;strokeWidth=1;endFill=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.004;entryY=0.778;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-12" target="qup03jMZmrsR1gBGYmkV-135" edge="1">
|
||||||
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||||
|
<mxPoint x="750" y="390" as="sourcePoint" />
|
||||||
|
<mxPoint x="800" y="340" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-115" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-41" target="qup03jMZmrsR1gBGYmkV-114" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-41" value="foreach handlerInfo&nbsp; object&nbsp;in&nbsp;<br><i style="border-color: var(--border-color);"><u style="border-color: var(--border-color);">systemHandlerInfos.</u></i>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="150" y="100" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-131" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-42" target="qup03jMZmrsR1gBGYmkV-130" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-42" value="State Machine (handlerInfo.handlerState<span style="background-color: initial;">)</span>" style="swimlane;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="-650" y="240" width="930" height="860" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-58" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-43" target="qup03jMZmrsR1gBGYmkV-51" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-63" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-43" target="qup03jMZmrsR1gBGYmkV-49" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-43" value="Case :&nbsp;<br><font style="font-size: 12px;">State </font>is <br>Init." style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="720" y="40" width="80" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-99" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-49" target="qup03jMZmrsR1gBGYmkV-98" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-49" value="INSERT new row <br>to MySQL" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="700" y="460" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-73" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-50" target="qup03jMZmrsR1gBGYmkV-72" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="760" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-50" value="Change state to<br>Prologue" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="715" y="740" width="90" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-59" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-51" target="qup03jMZmrsR1gBGYmkV-54" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-51" value="Case :&nbsp;<br><font style="font-size: 12px;">State </font>is <br>Prologue" style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="570" y="40" width="80" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-54" target="qup03jMZmrsR1gBGYmkV-55" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-67" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-54" target="qup03jMZmrsR1gBGYmkV-65" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-54" value="<u>mysqlSN</u><br>has <br>value?" style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="570" y="130" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-61" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-55" target="qup03jMZmrsR1gBGYmkV-56" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-76" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-55" target="qup03jMZmrsR1gBGYmkV-86" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="550" y="330" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-55" value="check connection<br>from&nbsp;<br><i><u>gHandlerMask</u></i>" style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="570" y="240" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-77" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-56" target="qup03jMZmrsR1gBGYmkV-72" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="500" y="390" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="430" y="390" />
|
||||||
|
<mxPoint x="430" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-56" value="<u><i>gTelemetryInfo</i></u><br>has any data?" style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="570" y="350" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-74" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-57" target="qup03jMZmrsR1gBGYmkV-72" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="610" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-57" value="Change state to<br>Ready" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="560" y="740" width="100" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-87" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-65" target="qup03jMZmrsR1gBGYmkV-72" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="430" y="170" />
|
||||||
|
<mxPoint x="430" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-65" value="Error Detect!<br>Set terminated" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="450" y="150" width="90" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-69" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="610" y="210" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-70" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="610" y="320" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-71" value="Yes" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="610" y="430" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-68" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="540" y="140" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-72" value="Continue" style="whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="40" y="810" width="100" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-78" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="540" y="250" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-79" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="540" y="360" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-94" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-80" target="qup03jMZmrsR1gBGYmkV-91" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-80" value="Case :&nbsp;<br><font style="font-size: 12px;">State </font>is <br>Ready" style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="270" y="40" width="80" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-83" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-81" target="qup03jMZmrsR1gBGYmkV-57" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-81" value="UPDATE state in MySQL" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="550" y="460" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-82" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-56" target="qup03jMZmrsR1gBGYmkV-81" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="570" y="440" as="sourcePoint" />
|
||||||
|
<mxPoint x="620" y="360" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-105" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-84" target="qup03jMZmrsR1gBGYmkV-97" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-84" value="Parsing <u><i>gTelemetryInfo</i></u><br>into MySQL syntax" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="250" y="360" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-89" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-86" target="qup03jMZmrsR1gBGYmkV-72" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="430" y="280" />
|
||||||
|
<mxPoint x="430" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-86" value="Change state to<br>Disconnected" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="450" y="260" width="90" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-95" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-91" target="qup03jMZmrsR1gBGYmkV-84" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-103" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-91" target="qup03jMZmrsR1gBGYmkV-93" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-91" value="check connection<br>from&nbsp;<br><i><u>gHandlerMask</u></i>" style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="270" y="240" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-92" value="No" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="240" y="250" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-111" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-93" target="qup03jMZmrsR1gBGYmkV-72" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-93" value="Change state to<br>Disconnected" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="160" y="740" width="90" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-109" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-96" target="qup03jMZmrsR1gBGYmkV-108" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-96" value="clean gTelemetryInfo" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="250" y="520" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-106" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-97" target="qup03jMZmrsR1gBGYmkV-96" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-97" value="UPDATE data into<br>MySQL" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="250" y="460" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-100" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-98" target="qup03jMZmrsR1gBGYmkV-50" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-98" value="Get mysqlSN<br>from MySQL" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="700" y="570" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-104" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-101" target="qup03jMZmrsR1gBGYmkV-102" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-101" value="Case :&nbsp;<br><font style="font-size: 12px;">State </font>is <br>Disconnected" style="rhombus;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="50" y="40" width="80" height="70" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-107" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-102" target="qup03jMZmrsR1gBGYmkV-72" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-102" value="UPDATE state in MySQL" style="rounded=1;whiteSpace=wrap;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="30" y="460" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-113" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-108" target="qup03jMZmrsR1gBGYmkV-110" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-108" value="Get <br>Vehicle command <br>from MySQL" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#BFFBFF;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="250" y="580" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-112" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="qup03jMZmrsR1gBGYmkV-42" source="qup03jMZmrsR1gBGYmkV-110" target="qup03jMZmrsR1gBGYmkV-72" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="310" y="825" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-110" value="Parsing<br>Vehicle command<br>into&nbsp;<i><u>gVehicleCommand</u></i>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#BFFBFF;" parent="qup03jMZmrsR1gBGYmkV-42" vertex="1">
|
||||||
|
<mxGeometry x="250" y="660" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-116" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-114" target="qup03jMZmrsR1gBGYmkV-42" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-114" value="Operate the handlerInfo object" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="150" y="180" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-119" value="No" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="320" y="430" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-127" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-123" target="qup03jMZmrsR1gBGYmkV-126" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-123" value="Close MySQL connection." style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="330" y="550" width="120" height="50" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-125" value="Yes" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="390" y="510" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-129" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-126" target="qup03jMZmrsR1gBGYmkV-128" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-126" value="Join &amp; Tell <br>all thread to cutoff" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="330" y="640" width="120" height="50" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-128" value="STOP" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#FFCCCC;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="350" y="750" width="80" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-133" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-130" target="qup03jMZmrsR1gBGYmkV-132" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-130" value="foreach handlerInfo&nbsp; object&nbsp;in&nbsp;<br><i style="border-color: var(--border-color);"><u style="border-color: var(--border-color);">systemHandlerInfos.</u></i>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="150" y="1140" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-134" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-132" target="qup03jMZmrsR1gBGYmkV-34" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="470" y="1260" />
|
||||||
|
<mxPoint x="470" y="470" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-132" value="Remove handlerInfo object if the state is disconnected." style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="150" y="1230" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="qup03jMZmrsR1gBGYmkV-135" target="jvLHa8hEhrjO4LWS7YWt-0" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="qup03jMZmrsR1gBGYmkV-135" value="systemHandler.cpp" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFCCCC;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1025" y="10" width="110" height="50" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-0" target="jvLHa8hEhrjO4LWS7YWt-5" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-0" value="Init variables &amp; <br>set parameter" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1020" y="100" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-1" value="handlerInfo" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="600" y="70" width="140" height="120" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-2" value="Item 1" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-1" vertex="1">
|
||||||
|
<mxGeometry y="30" width="140" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-3" value="Item 2" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-1" vertex="1">
|
||||||
|
<mxGeometry y="60" width="140" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-4" value="Item 3" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-1" vertex="1">
|
||||||
|
<mxGeometry y="90" width="140" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-5" target="jvLHa8hEhrjO4LWS7YWt-7" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;endArrow=none;endFill=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-5" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="1080" y="349.9999999999999" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="990" y="215" />
|
||||||
|
<mxPoint x="990" y="350" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-5" value="does this system have autopilot?" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1037.5" y="170" width="85" height="90" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-6" value="subscribe event<br>telemetry data recieved" style="swimlane;whiteSpace=wrap;html=1;startSize=35;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1190" y="290" width="500" height="365" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" source="jvLHa8hEhrjO4LWS7YWt-10" target="jvLHa8hEhrjO4LWS7YWt-12" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-10" value="for&nbsp;latitude,&nbsp;longitude" style="rounded=1;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" vertex="1">
|
||||||
|
<mxGeometry x="21.25" y="115" width="137.5" height="45" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-11" value="Read data <br>from buffer" style="rounded=1;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" vertex="1">
|
||||||
|
<mxGeometry x="195" y="50" width="110" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="jvLHa8hEhrjO4LWS7YWt-6" source="jvLHa8hEhrjO4LWS7YWt-12" target="jvLHa8hEhrjO4LWS7YWt-13" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="90" y="275" />
|
||||||
|
<mxPoint x="250" y="275" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-12" value="Convert a DOUBLE into a string with precision to <br>8 decimal places." style="rounded=1;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" vertex="1">
|
||||||
|
<mxGeometry x="30" y="205" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-13" value="Compose t<i><u>elemetryInfo</u></i>" style="rounded=1;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" vertex="1">
|
||||||
|
<mxGeometry x="195" y="295" width="110" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" source="jvLHa8hEhrjO4LWS7YWt-14" target="jvLHa8hEhrjO4LWS7YWt-15" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-14" value="for&nbsp;latitude,&nbsp;longitude<br>heading,&nbsp;velocity,<br>eulerAngle(pitch, yaw, roll)<br>battery remain percent" style="rounded=1;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" vertex="1">
|
||||||
|
<mxGeometry x="170" y="105" width="160" height="75" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" source="jvLHa8hEhrjO4LWS7YWt-15" target="jvLHa8hEhrjO4LWS7YWt-13" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-15" value="Convert a FLOAT <br>into a string with precision to <br>4 decimal places." style="rounded=1;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" vertex="1">
|
||||||
|
<mxGeometry x="190" y="205" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" source="jvLHa8hEhrjO4LWS7YWt-16" target="jvLHa8hEhrjO4LWS7YWt-17" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-16" value="for&nbsp;armed, inair" style="rounded=1;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" vertex="1">
|
||||||
|
<mxGeometry x="350" y="120" width="137.5" height="45" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="jvLHa8hEhrjO4LWS7YWt-6" source="jvLHa8hEhrjO4LWS7YWt-17" target="jvLHa8hEhrjO4LWS7YWt-13" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="419" y="275" />
|
||||||
|
<mxPoint x="250" y="275" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-17" value="Convert BOOL to <br>a '0' or '1' string." style="rounded=1;whiteSpace=wrap;html=1;" parent="jvLHa8hEhrjO4LWS7YWt-6" vertex="1">
|
||||||
|
<mxGeometry x="358.75" y="205" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-7" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="1185" y="310" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-7" value="Set telemetry data transmission rate" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1020" y="290" width="120" height="40" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-24" target="jvLHa8hEhrjO4LWS7YWt-26" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="1160" y="610" />
|
||||||
|
<mxPoint x="1160" y="440" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-47" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-24" target="jvLHa8hEhrjO4LWS7YWt-42" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-24" value="Does <i><u>gTelemetryInfo</u></i><br>have any<br>content?" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1040" y="570" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-25" target="jvLHa8hEhrjO4LWS7YWt-24" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-25" value="Sleep 1 sec" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1040" y="510" width="80" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-26" target="jvLHa8hEhrjO4LWS7YWt-25" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-26" value="Retry count<br>less than<br>10?" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1040" y="400" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-31" value="Yes" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1040" y="470" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-32" value="Yes" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1040" y="640" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-33" value="Yes" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1037.5" y="250" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-38" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" target="jvLHa8hEhrjO4LWS7YWt-26" edge="1">
|
||||||
|
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||||
|
<mxPoint x="1190" y="350" as="sourcePoint" />
|
||||||
|
<mxPoint x="1000" y="350" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="1080" y="350" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-40" value="No" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1000" y="185" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-41" value="No" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1120" y="580" width="40" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-46" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-42" target="jvLHa8hEhrjO4LWS7YWt-45" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-54" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-42" target="jvLHa8hEhrjO4LWS7YWt-53" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-42" value="is diccon-nect?<br>or cutoff ?" style="rhombus;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1040" y="710" width="80" height="80" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-45" target="jvLHa8hEhrjO4LWS7YWt-48" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-45" value="Put telemetry into&nbsp;<i style="border-color: var(--border-color);"><u style="border-color: var(--border-color);">gTelemetryInfo</u></i>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1190" y="720" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-51" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-48" target="jvLHa8hEhrjO4LWS7YWt-50" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-48" value="check cutoff flag" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1190" y="810" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-52" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-50" target="jvLHa8hEhrjO4LWS7YWt-42" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="1340" y="875" />
|
||||||
|
<mxPoint x="1340" y="690" />
|
||||||
|
<mxPoint x="1080" y="690" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-50" value="sleep 100 ms" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1190" y="860" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-56" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="jvLHa8hEhrjO4LWS7YWt-53" target="jvLHa8hEhrjO4LWS7YWt-55" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-53" value="set disconnect flag" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1020" y="810" width="120" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="jvLHa8hEhrjO4LWS7YWt-55" value="END" style="rounded=0;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="1042.5" y="860" width="75" height="30" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
</mxfile>
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
root --- RCrVpHd2
|
||||||
|
webInterface --- w23FgwXnQ5
|
||||||
|
mavoneServer --- T7DVVh2Sue
|
||||||
|
GUIDev --- pwnUxXCGE5
|
||||||
|
GUIDev2 --- c7gDdUddvB
|
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,80 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import asyncio
|
||||||
|
from mavsdk import System
|
||||||
|
from mavsdk.telemetry_server import (StatusText,StatusTextType,Battery,Position,VelocityNed, Heading,RawGps,GpsInfo,FixType)
|
||||||
|
import random
|
||||||
|
async def run():
|
||||||
|
|
||||||
|
# drone = System(port=50053, sysid=96, compid=1)
|
||||||
|
drone = System(port=50053)
|
||||||
|
print("456")
|
||||||
|
|
||||||
|
# await drone.connect(system_address="udp://127.0.0.1:14550")
|
||||||
|
await drone.connect()
|
||||||
|
print("123")
|
||||||
|
await drone.telemetry_server.publish_status_text(StatusText(StatusTextType.ALERT,"Check"))
|
||||||
|
|
||||||
|
# await drone.param_server.provide_param_int("CAL_ACC0_ID",1)
|
||||||
|
# await drone.param_server.provide_param_int("CAL_GYRO0_ID",1)
|
||||||
|
# await drone.param_server.provide_param_int("CAL_MAG0_ID",1)
|
||||||
|
# await drone.param_server.provide_param_int("SYS_HITL",0)
|
||||||
|
# await drone.param_server.provide_param_int("MIS_TAKEOFF_ALT",0)
|
||||||
|
|
||||||
|
a1 = drone.param_server.IntParam("CAL_ACC0_ID",1)
|
||||||
|
a2 = drone.param_server.IntParam("CAL_GYRO0_ID",1)
|
||||||
|
a3 = drone.param_server.IntParam("CAL_MAG0_ID",1)
|
||||||
|
a4 = drone.param_server.IntParam("SYS_HITL",0)
|
||||||
|
a5 = drone.param_server.IntParam("MIS_TAKEOFF_ALT",0)
|
||||||
|
|
||||||
|
while True:
|
||||||
|
|
||||||
|
remaining_percent = random.uniform(0.0, 1.0)
|
||||||
|
voltage_v = random.uniform(0.0, 20.0)
|
||||||
|
|
||||||
|
latitude_deg = random.uniform(0.0, 50.0)
|
||||||
|
longitude_deg = random.uniform(0.0, 180.0)
|
||||||
|
absolute_altitude_m = random.uniform(0.0, 50.0)
|
||||||
|
relative_altitude_m = random.uniform(0.0, 50.0)
|
||||||
|
heading_deg = random.uniform(0.0, 360.0)
|
||||||
|
position = Position(latitude_deg, longitude_deg,absolute_altitude_m,relative_altitude_m)
|
||||||
|
velocity_ned = VelocityNed(north_m_s=0.0, east_m_s=0.0, down_m_s=0.0)
|
||||||
|
heading = Heading(heading_deg)
|
||||||
|
|
||||||
|
raw_gps = RawGps(
|
||||||
|
timestamp_us=123456789, # 当前时间戳,以微秒为单位
|
||||||
|
latitude_deg=47.3977418, # 纬度
|
||||||
|
longitude_deg=8.5455934, # 经度
|
||||||
|
absolute_altitude_m=500, # 绝对海拔高度(米)
|
||||||
|
hdop=1.0, # 水平精度因子
|
||||||
|
vdop=1.0, # 垂直精度因子
|
||||||
|
velocity_m_s=random.uniform(0.0,50.0), # 速度(米/秒)
|
||||||
|
cog_deg=90.0, # 航向(度)
|
||||||
|
altitude_ellipsoid_m=510.0, # 大地水准面上的高度(米)
|
||||||
|
horizontal_uncertainty_m=1.000000000000, # 水平准确性(米)
|
||||||
|
vertical_uncertainty_m=1.00000000,
|
||||||
|
velocity_uncertainty_m_s=0.0000000000000000 ,# 垂直准确性(米)
|
||||||
|
heading_uncertainty_deg=1.0000000, # 速度准确性(米/秒)
|
||||||
|
yaw_deg=180.5# 是否已定位的标志
|
||||||
|
)
|
||||||
|
gps_info = GpsInfo(
|
||||||
|
num_satellites=10, # 卫星数量
|
||||||
|
fix_type=FixType.RTK_FIXED # GPS 修复类型
|
||||||
|
)
|
||||||
|
await drone.telemetry_server.publish_battery(Battery(voltage_v,remaining_percent))
|
||||||
|
await drone.telemetry_server.publish_position(position,velocity_ned,heading)
|
||||||
|
await drone.telemetry_server.publish_raw_gps(raw_gps,gps_info)
|
||||||
|
|
||||||
|
vehicle_battery_temperature = random.uniform(20.0,150.0) # 電池溫度
|
||||||
|
vehicle_battery_current = random.uniform(0.0,15.0) # 電池電流
|
||||||
|
vehicle_battery_CAT = "I" + str(vehicle_battery_current) + "," + "T" + str(vehicle_battery_temperature)
|
||||||
|
print(vehicle_battery_CAT)
|
||||||
|
await drone.telemetry_server.publish_status_text(StatusText(StatusTextType.INFO,vehicle_battery_CAT))
|
||||||
|
await asyncio.sleep(2)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#print("remaining_percent: ",remaining_percent)
|
||||||
|
if __name__ == "__main__":
|
||||||
|
loop = asyncio.get_event_loop()
|
||||||
|
loop.run_until_complete(run())
|
||||||
Loading…
Reference in New Issue