-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path未命名绘图.drawio
108 lines (108 loc) · 12.2 KB
/
未命名绘图.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<mxfile host="app.diagrams.net" modified="2024-01-08T03:08:38.524Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" etag="jZrfJ7MORvj1WMMf-WhV" version="22.1.17" type="github">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="855" dy="1668" 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="6cw_2s1J7Ef0hvvbNptq-0" value="MotorKernel" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="420" y="180" width="220" height="160" as="geometry">
<mxRectangle x="420" y="180" width="110" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="6cw_2s1J7Ef0hvvbNptq-1" value="- motorlist_: QMap&lt;int, Motor&gt;<br>- timer_: QTimer" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" parent="6cw_2s1J7Ef0hvvbNptq-0" vertex="1">
<mxGeometry y="26" width="220" height="44" as="geometry" />
</mxCell>
<mxCell id="6cw_2s1J7Ef0hvvbNptq-2" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" parent="6cw_2s1J7Ef0hvvbNptq-0" vertex="1">
<mxGeometry y="70" width="220" height="8" as="geometry" />
</mxCell>
<mxCell id="6cw_2s1J7Ef0hvvbNptq-3" value="- readSensors(): void<br>+ refreshMotorList():void<br>+ runMotor():void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" parent="6cw_2s1J7Ef0hvvbNptq-0" vertex="1">
<mxGeometry y="78" width="220" height="82" as="geometry" />
</mxCell>
<mxCell id="6cw_2s1J7Ef0hvvbNptq-8" value="Motor" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="100" y="140" width="230" height="280" as="geometry" />
</mxCell>
<mxCell id="6cw_2s1J7Ef0hvvbNptq-9" value="- id_: int<br>- name_: QString<br>- pos_: double<br>- vel_: double<br>- portName_:&nbsp;QString<br>- lastReadTime_: QDateTime<br>- task_: QThread*" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" parent="6cw_2s1J7Ef0hvvbNptq-8" vertex="1">
<mxGeometry y="26" width="230" height="124" as="geometry" />
</mxCell>
<mxCell id="6cw_2s1J7Ef0hvvbNptq-10" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" parent="6cw_2s1J7Ef0hvvbNptq-8" vertex="1">
<mxGeometry y="150" width="230" height="8" as="geometry" />
</mxCell>
<mxCell id="6cw_2s1J7Ef0hvvbNptq-11" value="+ execute(double, double): void<br>+ readSensor(): double<br>+ openLoopTrajectory(QList&lt;double&gt;, QList&lt;double&gt;, QList&lt;double&gt;): void<br>+ pidTrajectory(QList&lt;double&gt;, QList&lt;double&gt;, double,double, double):void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" parent="6cw_2s1J7Ef0hvvbNptq-8" vertex="1">
<mxGeometry y="158" width="230" height="122" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-0" value="N" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="-1" y="3" relative="1" as="geometry">
<mxPoint x="330" y="250" as="sourcePoint" />
<mxPoint x="420" y="250.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-1" value="RobotModel" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="730" y="180" width="220" height="160" as="geometry">
<mxRectangle x="420" y="180" width="110" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-2" value="- motorKernel_: MotorKernel<br>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-1">
<mxGeometry y="26" width="220" height="44" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-3" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-1">
<mxGeometry y="70" width="220" height="8" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-4" value="- kinematics(): void<br>+ openLoopTrajectory(): void<br>+ closedLoopTrajectory(): void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-1">
<mxGeometry y="78" width="220" height="82" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-5" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="-1" y="3" relative="1" as="geometry">
<mxPoint x="640" y="259.25" as="sourcePoint" />
<mxPoint x="730" y="259.75" as="targetPoint" />
<Array as="points">
<mxPoint x="685" y="259.75" />
<mxPoint x="685" y="260.75" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-8" value="" style="swimlane;startSize=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="50" y="90" width="930" height="360" as="geometry">
<mxRectangle x="50" y="90" width="960" height="350" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-7" value="机器人运动学,电机控制,串口通讯" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-8">
<mxGeometry x="30" y="10" width="220" height="30" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-9" value="IOcontroller" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="680" y="-90" width="220" height="160" as="geometry">
<mxRectangle x="420" y="180" width="110" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-10" value="- mainWindow: QMainWindow" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-9">
<mxGeometry y="26" width="220" height="44" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-11" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-9">
<mxGeometry y="70" width="220" height="8" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-12" value="// gui IO<br>// rpc" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-9">
<mxGeometry y="78" width="220" height="82" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-17" value="Viewer" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="350" y="-90" width="220" height="160" as="geometry">
<mxRectangle x="420" y="180" width="110" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-18" value="// display widget" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-17">
<mxGeometry y="26" width="220" height="44" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-19" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-17">
<mxGeometry y="70" width="220" height="8" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-20" value="// rendering robot" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="FzLFaQrDB-EBAlo0IdFk-17">
<mxGeometry y="78" width="220" height="82" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-21" value="图形界面交互,多进程通讯" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="680" y="-120" width="170" height="30" as="geometry" />
</mxCell>
<mxCell id="FzLFaQrDB-EBAlo0IdFk-22" value="机器人三维模型渲染" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="350" y="-120" width="130" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>