Skip to content

Commit 0867347

Browse files
committed
Update flows_gimbal.json
1 parent 55deeb6 commit 0867347

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

solutions/supervisor/rootfs/usr/share/supervisor/flows_gimbal.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
"cols": "12"
301301
}
302302
],
303-
"order": 2,
303+
"order": 3,
304304
"className": "",
305305
"visible": true,
306306
"disabled": false
@@ -538,8 +538,8 @@
538538
],
539539
"order": 1,
540540
"className": "",
541-
"visible": "true",
542-
"disabled": "false"
541+
"visible": true,
542+
"disabled": false
543543
},
544544
{
545545
"id": "af20bfd61d0a6dd1",
@@ -599,7 +599,7 @@
599599
"name": "PID Control",
600600
"ui": "e2f7615831d73e4b",
601601
"path": "/pid_control",
602-
"icon": "fa-sliders",
602+
"icon": "tune",
603603
"layout": "grid",
604604
"theme": "f5ee49967f8103a8",
605605
"breakpoints": [
@@ -2021,7 +2021,7 @@
20212021
"className": "",
20222022
"icon": "",
20232023
"iconPosition": "left",
2024-
"payload": "{\"yaw_angle\":180,\"pitch_angle\":175}",
2024+
"payload": "{\"yaw_angle\":180, \"yaw_speed\":360, \"pitch_angle\":175, \"pitch_speed\":360}",
20252025
"payloadType": "json",
20262026
"topic": "topic",
20272027
"topicType": "msg",
@@ -2145,7 +2145,7 @@
21452145
"color": "",
21462146
"colorTrack": "",
21472147
"colorThumb": "",
2148-
"showTextField": false,
2148+
"showTextField": true,
21492149
"x": 350,
21502150
"y": 820,
21512151
"wires": [
@@ -2173,7 +2173,7 @@
21732173
"className": "",
21742174
"icon": "",
21752175
"iconPosition": "left",
2176-
"payload": "{\"yaw_angle\":180,\"pitch_angle\":90}",
2176+
"payload": "{\"yaw_angle\":180, \"yaw_speed\":360,\"pitch_angle\":90, \"pitch_speed\":360}",
21772177
"payloadType": "json",
21782178
"topic": "topic",
21792179
"topicType": "msg",
@@ -2289,15 +2289,15 @@
22892289
"id": "3abd7a7f8c64fdaf",
22902290
"type": "function",
22912291
"z": "5924433263ceb70d",
2292-
"name": "init_motor_state",
2292+
"name": "get_init_motor_state",
22932293
"func": "let initState = context.get('initState')\nif (!initState) {\n context.set(\"initState\", true);\n return msg;\n}\nreturn null;",
22942294
"outputs": 1,
22952295
"timeout": 0,
22962296
"noerr": 0,
22972297
"initialize": "",
22982298
"finalize": "",
22992299
"libs": [],
2300-
"x": 140,
2300+
"x": 160,
23012301
"y": 480,
23022302
"wires": [
23032303
[
@@ -2397,7 +2397,8 @@
23972397
"y": 1160,
23982398
"wires": [
23992399
[
2400-
"3b88e350fe5a51cf"
2400+
"3b88e350fe5a51cf",
2401+
"45d7334c4a7d3a34"
24012402
]
24022403
]
24032404
},
@@ -2437,7 +2438,8 @@
24372438
"y": 1220,
24382439
"wires": [
24392440
[
2440-
"06e1b8aac3611769"
2441+
"06e1b8aac3611769",
2442+
"45d7334c4a7d3a34"
24412443
]
24422444
]
24432445
},
@@ -2615,7 +2617,7 @@
26152617
"page": "",
26162618
"ui": "",
26172619
"name": "Preview Page",
2618-
"order": 5,
2620+
"order": 4,
26192621
"width": 0,
26202622
"height": 0,
26212623
"head": "",
@@ -2813,7 +2815,7 @@
28132815
"z": "5924433263ceb70d",
28142816
"g": "bc455cac092dd743",
28152817
"name": "debug 1",
2816-
"active": true,
2818+
"active": false,
28172819
"tosidebar": true,
28182820
"console": false,
28192821
"tostatus": false,
@@ -3400,7 +3402,7 @@
34003402
"width": 0,
34013403
"height": 0,
34023404
"name": "Pitch Speed Recommend PID",
3403-
"label": "Speed PID Recommended: Kp = 260; Ki = 20; Kd = 0; If leave empty, it will use the current motor pid parameter.",
3405+
"label": "Speed PID Recommended: Kp = 100; Ki = 20; Kd = 0; If leave empty, it will use the current motor pid parameter.",
34043406
"format": "{{msg.payload}}",
34053407
"layout": "row-spread",
34063408
"style": false,

0 commit comments

Comments
 (0)