[
    {
        "id": "41bd393e9b93f02f",
        "type": "tab",
        "label": "TROS FCOS (Object Detection)",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "cb01c990e53afb60",
        "type": "group",
        "z": "41bd393e9b93f02f",
        "name": "软件包智能更新",
        "style": {
            "fill": "#ffffbf",
            "fill-opacity": "0.46",
            "label": true
        },
        "nodes": [
            "3dcace4b163bc682",
            "71f59c4d4b715a11",
            "f12cfad3b74b3321"
        ],
        "x": 354,
        "y": 79,
        "w": 572,
        "h": 82
    },
    {
        "id": "f4c4361755ae5c67",
        "type": "group",
        "z": "41bd393e9b93f02f",
        "name": "检查及运行FCOS节点",
        "style": {
            "fill": "#e3f3d3",
            "fill-opacity": "0.51",
            "label": true
        },
        "nodes": [
            "868b2da5ad39c31d",
            "4e0b61b0441c2a2a"
        ],
        "x": 414,
        "y": 199,
        "w": 412,
        "h": 82
    },
    {
        "id": "7990eae8ec566482",
        "type": "group",
        "z": "41bd393e9b93f02f",
        "name": "FCOS结果展示",
        "style": {
            "fill": "#bfdbef",
            "fill-opacity": "0.47",
            "label": true
        },
        "nodes": [
            "7f36299e8dc30fdb",
            "b97878a7a2096c59",
            "fbf750e466027ace"
        ],
        "x": 154,
        "y": 319,
        "w": 352,
        "h": 122
    },
    {
        "id": "a0af2a1299b4cb0b",
        "type": "comment",
        "z": "41bd393e9b93f02f",
        "name": "名称：TROS目标检测 FCOS",
        "info": "",
        "x": 160,
        "y": 40,
        "wires": []
    },
    {
        "id": "84c9be578cfe4b20",
        "type": "comment",
        "z": "41bd393e9b93f02f",
        "name": "注意：选择对应的摄像头类型",
        "info": "",
        "x": 220,
        "y": 200,
        "wires": []
    },
    {
        "id": "6c30b23e940d3fb7",
        "type": "inject",
        "z": "41bd393e9b93f02f",
        "name": "了解更多",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "https://developer.d-robotics.cc/rdk_doc/Robot_development/boxs/detection/fcos",
        "payloadType": "str",
        "x": 420,
        "y": 40,
        "wires": [
            [
                "dc47b3f5014a51ef"
            ]
        ]
    },
    {
        "id": "dc47b3f5014a51ef",
        "type": "rdk-tools openurl",
        "z": "41bd393e9b93f02f",
        "name": "",
        "x": 580,
        "y": 40,
        "wires": []
    },
    {
        "id": "e724db9829d49ab9",
        "type": "inject",
        "z": "41bd393e9b93f02f",
        "name": "启动（USB摄像头）",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "camera",
                "v": "usb",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "iso",
        "payloadType": "date",
        "x": 190,
        "y": 120,
        "wires": [
            [
                "868b2da5ad39c31d",
                "7f36299e8dc30fdb"
            ]
        ]
    },
    {
        "id": "754087505cbc434b",
        "type": "inject",
        "z": "41bd393e9b93f02f",
        "name": "启动（MIPI摄像头）",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "mipi",
        "payload": "iso",
        "payloadType": "date",
        "x": 190,
        "y": 160,
        "wires": [
            [
                "868b2da5ad39c31d",
                "7f36299e8dc30fdb"
            ]
        ]
    },
    {
        "id": "3dcace4b163bc682",
        "type": "rdk-tools smartupdate",
        "z": "41bd393e9b93f02f",
        "g": "cb01c990e53afb60",
        "name": "",
        "x": 440,
        "y": 120,
        "wires": [
            [
                "71f59c4d4b715a11"
            ],
            []
        ]
    },
    {
        "id": "71f59c4d4b715a11",
        "type": "change",
        "z": "41bd393e9b93f02f",
        "g": "cb01c990e53afb60",
        "name": "更新提示",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "智能更新已完成",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 620,
        "y": 120,
        "wires": [
            [
                "f12cfad3b74b3321"
            ]
        ]
    },
    {
        "id": "f12cfad3b74b3321",
        "type": "rdk-tools texttoaudio",
        "z": "41bd393e9b93f02f",
        "g": "cb01c990e53afb60",
        "name": "",
        "x": 830,
        "y": 120,
        "wires": []
    },
    {
        "id": "868b2da5ad39c31d",
        "type": "change",
        "z": "41bd393e9b93f02f",
        "g": "f4c4361755ae5c67",
        "name": "设定FCOS节点",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "launch",
                "pt": "msg",
                "to": "dnn_node_example dnn_node_example.launch.py dnn_example_config_file:=config/fcosworkconfig.json dnn_example_image_width:=480 dnn_example_image_height:=272",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "insert",
                "pt": "msg",
                "to": "$join(['export CAM_TYPE=', msg.camera])",
                "tot": "jsonata"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 520,
        "y": 240,
        "wires": [
            [
                "4e0b61b0441c2a2a"
            ]
        ]
    },
    {
        "id": "4e0b61b0441c2a2a",
        "type": "rdk-tools checkexecute",
        "z": "41bd393e9b93f02f",
        "g": "f4c4361755ae5c67",
        "name": "",
        "x": 730,
        "y": 240,
        "wires": [
            [
                "d44e16c8b177c020"
            ],
            [
                "75ca2b13e5113dc2"
            ]
        ]
    },
    {
        "id": "d44e16c8b177c020",
        "type": "debug",
        "z": "41bd393e9b93f02f",
        "name": "正确执行提示",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 920,
        "y": 220,
        "wires": []
    },
    {
        "id": "75ca2b13e5113dc2",
        "type": "debug",
        "z": "41bd393e9b93f02f",
        "name": "错误执行提示",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 920,
        "y": 260,
        "wires": []
    },
    {
        "id": "20132bee7476989a",
        "type": "inject",
        "z": "41bd393e9b93f02f",
        "name": "关闭",
        "props": [
            {
                "p": "kill",
                "v": "",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 150,
        "y": 240,
        "wires": [
            [
                "4e0b61b0441c2a2a"
            ]
        ]
    },
    {
        "id": "3caad0dafed3124b",
        "type": "comment",
        "z": "41bd393e9b93f02f",
        "name": "注意：使用结束后请主动关闭",
        "info": "",
        "x": 220,
        "y": 280,
        "wires": []
    },
    {
        "id": "7f36299e8dc30fdb",
        "type": "delay",
        "z": "41bd393e9b93f02f",
        "g": "7990eae8ec566482",
        "name": "",
        "pauseType": "delay",
        "timeout": "10",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 240,
        "y": 360,
        "wires": [
            [
                "b97878a7a2096c59"
            ]
        ]
    },
    {
        "id": "b97878a7a2096c59",
        "type": "change",
        "z": "41bd393e9b93f02f",
        "g": "7990eae8ec566482",
        "name": "设定链接",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "ws://{host}:8080",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 240,
        "y": 400,
        "wires": [
            [
                "fbf750e466027ace"
            ]
        ]
    },
    {
        "id": "975203282da7bef8",
        "type": "debug",
        "z": "41bd393e9b93f02f",
        "name": "算法结果输出",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 680,
        "y": 360,
        "wires": []
    },
    {
        "id": "6b453c4c4953b34f",
        "type": "debug",
        "z": "41bd393e9b93f02f",
        "name": "性能信息输出",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 680,
        "y": 400,
        "wires": []
    },
    {
        "id": "2c8983ad195d6889",
        "type": "inject",
        "z": "41bd393e9b93f02f",
        "name": "更新软件包",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 160,
        "y": 80,
        "wires": [
            [
                "3dcace4b163bc682"
            ]
        ]
    },
    {
        "id": "a5f5e623839368d3",
        "type": "rdk-tools openurl",
        "z": "41bd393e9b93f02f",
        "name": "",
        "x": 860,
        "y": 320,
        "wires": []
    },
    {
        "id": "ef78cfefcc74efdc",
        "type": "inject",
        "z": "41bd393e9b93f02f",
        "name": "打开浏览器",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "http://{host}:8000",
        "payloadType": "str",
        "x": 680,
        "y": 320,
        "wires": [
            [
                "a5f5e623839368d3"
            ]
        ]
    },
    {
        "id": "fbf750e466027ace",
        "type": "rdk-tools videows",
        "z": "41bd393e9b93f02f",
        "g": "7990eae8ec566482",
        "name": "",
        "fps": "2",
        "width": 640,
        "active": true,
        "x": 400,
        "y": 380,
        "wires": [
            [
                "975203282da7bef8",
                "f910c04de6db2536"
            ],
            [
                "6b453c4c4953b34f"
            ],
            []
        ]
    },
    {
        "id": "f910c04de6db2536",
        "type": "change",
        "z": "41bd393e9b93f02f",
        "name": "提取类型",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "attributes.type",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 180,
        "y": 480,
        "wires": [
            [
                "17d8c38b6c59f970"
            ]
        ]
    },
    {
        "id": "17d8c38b6c59f970",
        "type": "rdk-tools output",
        "z": "41bd393e9b93f02f",
        "name": "",
        "active": true,
        "x": 180,
        "y": 520,
        "wires": []
    }
]