[{“id”:”355325da.a58eaa”,”type”:”Driver”,”z”:”5d666077.78c8c”,”name”:”Driver”,”lpwm”:6,”ldir”:7,”rpwm”:5,”rdir”:4,”speed”:”40″,”timeout”:”0.5″,”x”:1125.6666870117188,”y”:85.66666412353516,”wires”:[[]]},{“id”:”c6104804.3f04b8″,”type”:”mraa-gpio-ain”,”z”:”5d666077.78c8c”,”name”:””,”pin”:”0″,”interval”:”3000″,”x”:170.66661071777344,”y”:240.6666488647461,”wires”:[[“e02c5bfd.d375f8”]]},{“id”:”3e7dd70c.4f1e08″,”type”:”mraa-gpio-ain”,”z”:”5d666077.78c8c”,”name”:””,”pin”:”1″,”interval”:”3000″,”x”:172.66661071777344,”y”:285.6666488647461,”wires”:[[“e8864271.506fa”]]},{“id”:”80860abf.18ab58″,”type”:”mraa-gpio-ain”,”z”:”5d666077.78c8c”,”name”:””,”pin”:”2″,”interval”:”3000″,”x”:169.66661071777344,”y”:332.6666488647461,”wires”:[[“9a117a7.c37a488”]]},{“id”:”bc18db68.607508″,”type”:”mraa-gpio-ain”,”z”:”5d666077.78c8c”,”name”:””,”pin”:”3″,”interval”:”3000″,”x”:172.66661071777344,”y”:373.6666488647461,”wires”:[[“f8b43f03.e7e5a”]]},{“id”:”e02c5bfd.d375f8″,”type”:”change”,”z”:”5d666077.78c8c”,”name”:”前方距离”,”rules”:[{“t”:”set”,”p”:”front”,”to”:”msg.payload”}],”action”:””,”property”:””,”from”:””,”to”:””,”reg”:false,”x”:320.99993896484375,”y”:241.99996185302734,”wires”:[[“b0255b6e.153b38”]]},{“id”:”e8864271.506fa”,”type”:”change”,”z”:”5d666077.78c8c”,”name”:”右侧距离”,”rules”:[{“t”:”set”,”p”:”right”,”to”:”msg.payload”}],”action”:””,”property”:””,”from”:””,”to”:””,”reg”:false,”x”:321.9999237060547,”y”:283.99996185302734,”wires”:[[“b0255b6e.153b38”]]},{“id”:”9a117a7.c37a488″,”type”:”change”,”z”:”5d666077.78c8c”,”name”:”后方距离”,”rules”:[{“t”:”set”,”p”:”back”,”to”:”msg.payload”}],”action”:””,”property”:””,”from”:””,”to”:””,”reg”:false,”x”:322.9999237060547,”y”:325.99996185302734,”wires”:[[“b0255b6e.153b38”]]},{“id”:”f8b43f03.e7e5a”,”type”:”change”,”z”:”5d666077.78c8c”,”name”:”左侧距离”,”rules”:[{“t”:”set”,”p”:”left”,”to”:”msg.payload”}],”action”:””,”property”:””,”from”:””,”to”:””,”reg”:false,”x”:323.9999237060547,”y”:371.99996185302734,”wires”:[[“b0255b6e.153b38”]]},{“id”:”dfbf69b1.02d1e8″,”type”:”file in”,”z”:”5d666077.78c8c”,”name”:”读取网络数据”,”filename”:”/home/root/node-red/car_net_data”,”format”:”utf8″,”x”:280.99986267089844,”y”:571.0000228881836,”wires”:[[“ac3e7b11.5dd648”]]},{“id”:”ac3e7b11.5dd648″,”type”:”json”,”z”:”5d666077.78c8c”,”name”:””,”x”:491.9999084472656,”y”:568.9999008178711,”wires”:[[“871e63b3.f4f2e”]]},{“id”:”871e63b3.f4f2e”,”type”:”change”,”z”:”5d666077.78c8c”,”name”:”msg.netJSON”,”rules”:[{“t”:”set”,”p”:”netJSON”,”to”:”msg.payload”}],”action”:””,”property”:””,”from”:””,”to”:””,”reg”:false,”x”:673.0664367675781,”y”:568.4666366577148,”wires”:[[“6a0fc6c7.0c6048”]]},{“id”:”6a0fc6c7.0c6048″,”type”:”brain”,”z”:”5d666077.78c8c”,”name”:”神经网络”,”brainType”:”run”,”learningRate”:0.3,”hiddenLayers”:”3″,”errorThresh”:0.005,”iterations”:20000,”logPeriod”:10,”x”:859.0498352050781,”y”:570.716667175293,”wires”:[[“cd677b99.827098”]]},{“id”:”b0255b6e.153b38″,”type”:”multiInData”,”z”:”5d666077.78c8c”,”name”:”多路数据输入”,”rules”:[{“name”:”front”},{“name”:”back”},{“name”:”left”},{“name”:”right”}],”x”:570.8832397460938,”y”:315.4999694824219,”wires”:[[“c5b70a8d.e2b2d8”]]},{“id”:”c5b70a8d.e2b2d8″,”type”:”change”,”z”:”5d666077.78c8c”,”name”:”msg.runData”,”rules”:[{“t”:”set”,”p”:”runData”,”to”:”msg.payload”}],”action”:””,”property”:””,”from”:””,”to”:””,”reg”:false,”x”:792.8832397460938,”y”:301.9999694824219,”wires”:[[“dfbf69b1.02d1e8”]]},{“id”:”cd677b99.827098″,”type”:”outputJudge”,”z”:”5d666077.78c8c”,”name”:”数据判定”,”rules”:[{“name”:”forwards”},{“name”:”backwards”},{“name”:”rightwards”},{“name”:”leftwards”}],”judgeType”:”1″,”resultValue”:”direction”,”x”:1046.8833618164062,”y”:530.4999389648438,”wires”:[[“e227117c.5e0d3”]]},{“id”:”e227117c.5e0d3″,”type”:”change”,”z”:”5d666077.78c8c”,”name”:”替换direction”,”rules”:[{“t”:”change”,”p”:”payload”,”from”:”forwards”,”to”:”0″,”re”:false},{“t”:”change”,”p”:”payload”,”from”:”backwards”,”to”:”1″,”re”:false},{“t”:”change”,”p”:”payload”,”from”:”leftwards”,”to”:”2″,”re”:false},{“t”:”change”,”p”:”payload”,”from”:”rightwards”,”to”:”3″,”re”:false}],”action”:””,”property”:””,”from”:””,”to”:””,”reg”:false,”x”:1124.8833618164062,”y”:439.4999694824219,”wires”:[[“437fb2d1.e2d06c”]]},{“id”:”437fb2d1.e2d06c”,”type”:”json”,”z”:”5d666077.78c8c”,”name”:””,”x”:1122.8832397460938,”y”:308.4999694824219,”wires”:[[“23aec23a.2dabfe”]]},{“id”:”23aec23a.2dabfe”,”type”:”change”,”z”:”5d666077.78c8c”,”name”:”msg.direction”,”rules”:[{“t”:”set”,”p”:”direction”,”to”:”msg.payload.direction”}],”action”:””,”property”:””,”from”:””,”to”:””,”reg”:false,”x”:1115.8831787109375,”y”:192.49996948242188,”wires”:[[“355325da.a58eaa”]]}]

跳至工具栏