-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMuVisionSensor3.xml
126 lines (122 loc) · 4.25 KB
/
MuVisionSensor3.xml
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!--type="company"
block="block/mu_vision_sensor2.mixly.block.js"
generator="generator/mu_vision_sensor2.mixly.generator.js"
language="language/morpx_muvs-ab2/"
lib="MuVisionSensor/"
-->
<script type="text/javascript" src="../../blocks/company/mu_vision_sensor2.mixly.block.js"></script>
<script type="text/javascript" src="../../generators/arduino/company/mu_vision_sensor2.mixly.generator.js"></script>
<category id="morpxMU3" name="MuVisionSensor3" colour="#EF5411">
<!-- 人工智能-->
<category id="morpxMU3_Setup" name="设置模块" colour="#EF5411">
<block type="Vs2MuInit"></block>
<block type="Vs2Setup"></block>
<block type="Vs2Reset"></block>
<block type="Vs2SetLEDColor">
<value name="LEDLevel">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
</block>
<block type="Vs2VisionBegin"></block>
<block type="Vs2SetVisionLevel"></block>
<block type="Vs2SetColorRecognitionRegion">
<value name="Width">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<value name="Height">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
</block>
<block type="Vs2SetColorBlockMinBlob">
<value name="Width">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
<value name="Height">
<shadow type="math_number">
<field name="NUM">5</field>
</shadow>
</value>
</block>
<block type="Vs2SetVisionZoom"></block>
<block type="Vs2SetUARTBaud"></block>
<block type="Vs2SetCameraWhiteBalance"></block>
<block type="Vs2SetCameraHFR"></block>
</category>
<category id="morpxMU3_Run" name="运行模块" colour="#EAA20A">
<block type="Vs2Detected"></block>
<block type="Vs2DetectedRegionColor">
<value name="XValue">
<shadow type="math_number">
<field name="NUM">50</field>
</shadow>
</value>
<value name="YValue">
<shadow type="math_number">
<field name="NUM">50</field>
</shadow>
</value>
</block>
<block type="Vs2DetectedColorDetect"></block>
<block type="Vs2GetMessage"></block>
<block type="Vs2GetCardType"></block>
<block type="Vs2GetColorLabel"></block>
</category>
<category id="morpxMU3_LightSensor" name="光线传感器" colour="#EAA20A">
<block type="Mu3LsBegin"></block>
<block type="Mu3LsSetSensitivity"></block>
<!-- <block type="Mu3LsWhiteBalanceEnable"></block> -->
<block type="Mu3LsReadProximity"></block>
<block type="Mu3LsReadAmbientLight"></block>
<block type="Mu3LsDetectedGesture"></block>
<block type="Mu3LsDetectedGestureType"></block>
</category>
<category id="morpxMU3_LightSensor" name="WiFi模块" colour="#11ACEF">
<block type="Mu3AtWiFiInit">
<value name="BAUD">
<shadow type="math_number">
<field name="NUM">9600</field>
</shadow>
</value>
</block>
<block type="Mu3AtWiFiSet">
<value name="SSID">
<shadow type="text"></shadow>
</value>
<value name="PASSWORD">
<shadow type="text"></shadow>
</value>
</block>
<block type="Mu3AtWiFiCon"></block>
<block type="Mu3AtWiFiDiscon"></block>
<block type="Mu3AtWiFiUDP">
<value name="IP">
<shadow type="text">
<field name="TEXT">192.168.4.2</field>
</shadow>
</value>
<value name="PORT">
<shadow type="text">
<field name="TEXT">3333</field>
</shadow>
</value>
</block>
<block type="Mu3AtWiFiCip"></block>
<block type="Mu3AtWiFiSip"></block>
<block type="Mu3AtWiFiRead"></block>
<block type="Mu3AtWiFiWrite">
<value name="NUMBER">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</category>
</category>