|
300 | 300 | "cols": "12"
|
301 | 301 | }
|
302 | 302 | ],
|
303 |
| - "order": 2, |
| 303 | + "order": 3, |
304 | 304 | "className": "",
|
305 | 305 | "visible": true,
|
306 | 306 | "disabled": false
|
|
538 | 538 | ],
|
539 | 539 | "order": 1,
|
540 | 540 | "className": "",
|
541 |
| - "visible": "true", |
542 |
| - "disabled": "false" |
| 541 | + "visible": true, |
| 542 | + "disabled": false |
543 | 543 | },
|
544 | 544 | {
|
545 | 545 | "id": "af20bfd61d0a6dd1",
|
|
599 | 599 | "name": "PID Control",
|
600 | 600 | "ui": "e2f7615831d73e4b",
|
601 | 601 | "path": "/pid_control",
|
602 |
| - "icon": "fa-sliders", |
| 602 | + "icon": "tune", |
603 | 603 | "layout": "grid",
|
604 | 604 | "theme": "f5ee49967f8103a8",
|
605 | 605 | "breakpoints": [
|
|
2021 | 2021 | "className": "",
|
2022 | 2022 | "icon": "",
|
2023 | 2023 | "iconPosition": "left",
|
2024 |
| - "payload": "{\"yaw_angle\":180,\"pitch_angle\":175}", |
| 2024 | + "payload": "{\"yaw_angle\":180, \"yaw_speed\":360, \"pitch_angle\":175, \"pitch_speed\":360}", |
2025 | 2025 | "payloadType": "json",
|
2026 | 2026 | "topic": "topic",
|
2027 | 2027 | "topicType": "msg",
|
|
2145 | 2145 | "color": "",
|
2146 | 2146 | "colorTrack": "",
|
2147 | 2147 | "colorThumb": "",
|
2148 |
| - "showTextField": false, |
| 2148 | + "showTextField": true, |
2149 | 2149 | "x": 350,
|
2150 | 2150 | "y": 820,
|
2151 | 2151 | "wires": [
|
|
2173 | 2173 | "className": "",
|
2174 | 2174 | "icon": "",
|
2175 | 2175 | "iconPosition": "left",
|
2176 |
| - "payload": "{\"yaw_angle\":180,\"pitch_angle\":90}", |
| 2176 | + "payload": "{\"yaw_angle\":180, \"yaw_speed\":360,\"pitch_angle\":90, \"pitch_speed\":360}", |
2177 | 2177 | "payloadType": "json",
|
2178 | 2178 | "topic": "topic",
|
2179 | 2179 | "topicType": "msg",
|
|
2289 | 2289 | "id": "3abd7a7f8c64fdaf",
|
2290 | 2290 | "type": "function",
|
2291 | 2291 | "z": "5924433263ceb70d",
|
2292 |
| - "name": "init_motor_state", |
| 2292 | + "name": "get_init_motor_state", |
2293 | 2293 | "func": "let initState = context.get('initState')\nif (!initState) {\n context.set(\"initState\", true);\n return msg;\n}\nreturn null;",
|
2294 | 2294 | "outputs": 1,
|
2295 | 2295 | "timeout": 0,
|
2296 | 2296 | "noerr": 0,
|
2297 | 2297 | "initialize": "",
|
2298 | 2298 | "finalize": "",
|
2299 | 2299 | "libs": [],
|
2300 |
| - "x": 140, |
| 2300 | + "x": 160, |
2301 | 2301 | "y": 480,
|
2302 | 2302 | "wires": [
|
2303 | 2303 | [
|
|
2397 | 2397 | "y": 1160,
|
2398 | 2398 | "wires": [
|
2399 | 2399 | [
|
2400 |
| - "3b88e350fe5a51cf" |
| 2400 | + "3b88e350fe5a51cf", |
| 2401 | + "45d7334c4a7d3a34" |
2401 | 2402 | ]
|
2402 | 2403 | ]
|
2403 | 2404 | },
|
|
2437 | 2438 | "y": 1220,
|
2438 | 2439 | "wires": [
|
2439 | 2440 | [
|
2440 |
| - "06e1b8aac3611769" |
| 2441 | + "06e1b8aac3611769", |
| 2442 | + "45d7334c4a7d3a34" |
2441 | 2443 | ]
|
2442 | 2444 | ]
|
2443 | 2445 | },
|
|
2615 | 2617 | "page": "",
|
2616 | 2618 | "ui": "",
|
2617 | 2619 | "name": "Preview Page",
|
2618 |
| - "order": 5, |
| 2620 | + "order": 4, |
2619 | 2621 | "width": 0,
|
2620 | 2622 | "height": 0,
|
2621 | 2623 | "head": "",
|
|
2813 | 2815 | "z": "5924433263ceb70d",
|
2814 | 2816 | "g": "bc455cac092dd743",
|
2815 | 2817 | "name": "debug 1",
|
2816 |
| - "active": true, |
| 2818 | + "active": false, |
2817 | 2819 | "tosidebar": true,
|
2818 | 2820 | "console": false,
|
2819 | 2821 | "tostatus": false,
|
|
3400 | 3402 | "width": 0,
|
3401 | 3403 | "height": 0,
|
3402 | 3404 | "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.", |
3404 | 3406 | "format": "{{msg.payload}}",
|
3405 | 3407 | "layout": "row-spread",
|
3406 | 3408 | "style": false,
|
|
0 commit comments