Last active
December 28, 2015 20:49
-
-
Save karlosgliberal/7560353 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "properties": { | |
| "environment": { | |
| "runtime": "html", | |
| "src": "./preview/iframe.html", | |
| "width": 300, | |
| "height": 300 | |
| } | |
| }, | |
| "exports": [ | |
| { | |
| "private": "disc.in", | |
| "public": "command" | |
| }, | |
| { | |
| "private": "repeatdrone.out", | |
| "public": "client" | |
| }, | |
| { | |
| "private": "repeatcommand.out", | |
| "public": "command" | |
| } | |
| ], | |
| "processes": { | |
| "Disc": { | |
| "component": "core/DisconnectAfterPacket", | |
| "metadata": { | |
| "x": -457, | |
| "y": 1196 | |
| } | |
| }, | |
| "SplitCommands": { | |
| "component": "objects/SplitObject", | |
| "metadata": { | |
| "x": -462, | |
| "y": 1039 | |
| } | |
| }, | |
| "SplitIndividualCommand": { | |
| "component": "core/Split", | |
| "metadata": { | |
| "x": -613, | |
| "y": 970 | |
| } | |
| }, | |
| "CommandRouter": { | |
| "component": "routers/GroupRouter", | |
| "metadata": { | |
| "x": -90, | |
| "y": 1022 | |
| } | |
| }, | |
| "RepeatCommand": { | |
| "component": "core/Repeat", | |
| "metadata": { | |
| "x": -96, | |
| "y": 1158 | |
| } | |
| }, | |
| "Connect": { | |
| "component": "ardrone/Connect", | |
| "metadata": { | |
| "x": -664, | |
| "y": 651 | |
| } | |
| }, | |
| "Drone": { | |
| "component": "core/Split", | |
| "metadata": { | |
| "x": -491, | |
| "y": 540 | |
| } | |
| }, | |
| "DoTakeoff": { | |
| "component": "strings/SendString", | |
| "metadata": { | |
| "x": -282, | |
| "y": 538 | |
| } | |
| }, | |
| "Takeoff": { | |
| "component": "ardrone/Takeoff", | |
| "metadata": { | |
| "x": -128, | |
| "y": 302 | |
| } | |
| }, | |
| "DoLand": { | |
| "component": "strings/SendString", | |
| "metadata": { | |
| "x": 1040, | |
| "y": 507 | |
| } | |
| }, | |
| "Land": { | |
| "component": "ardrone/Land", | |
| "metadata": { | |
| "x": 1273, | |
| "y": 488 | |
| } | |
| }, | |
| "DoStop": { | |
| "component": "strings/SendString", | |
| "metadata": { | |
| "x": 90, | |
| "y": 533 | |
| } | |
| }, | |
| "Stop": { | |
| "component": "ardrone/Stop", | |
| "metadata": { | |
| "x": 136, | |
| "y": 397 | |
| } | |
| }, | |
| "Forward": { | |
| "component": "ardrone/MoveForward", | |
| "metadata": { | |
| "x": 276, | |
| "y": 526 | |
| } | |
| }, | |
| "Back": { | |
| "component": "ardrone/MoveBackward", | |
| "metadata": { | |
| "x": 464, | |
| "y": 528 | |
| } | |
| }, | |
| "Right": { | |
| "component": "ardrone/MoveRight", | |
| "metadata": { | |
| "x": 666, | |
| "y": 521 | |
| } | |
| }, | |
| "Left": { | |
| "component": "ardrone/MoveLeft", | |
| "metadata": { | |
| "x": -702, | |
| "y": 803 | |
| } | |
| }, | |
| "Clockwise": { | |
| "component": "ardrone/TurnClockwise", | |
| "metadata": { | |
| "x": -385, | |
| "y": 694 | |
| } | |
| }, | |
| "CounterClockwise": { | |
| "component": "ardrone/TurnCounterClockwise", | |
| "metadata": { | |
| "x": -94, | |
| "y": 531 | |
| } | |
| }, | |
| "Up": { | |
| "component": "ardrone/MoveUp", | |
| "metadata": { | |
| "x": 465, | |
| "y": 331 | |
| } | |
| }, | |
| "Down": { | |
| "component": "ardrone/MoveDown", | |
| "metadata": { | |
| "x": 837, | |
| "y": 514 | |
| } | |
| }, | |
| "RepeatDrone": { | |
| "component": "core/Repeat", | |
| "metadata": { | |
| "x": -340, | |
| "y": 312 | |
| } | |
| }, | |
| "Show": { | |
| "component": "core/Output", | |
| "metadata": { | |
| "x": 268, | |
| "y": 1014 | |
| } | |
| } | |
| }, | |
| "connections": [ | |
| { | |
| "src": { | |
| "process": "Disc", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "SplitCommands", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "SplitCommands", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "SplitIndividualCommand", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "SplitIndividualCommand", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "CommandRouter", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "SplitIndividualCommand", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "RepeatCommand", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Connect", | |
| "port": "client" | |
| }, | |
| "tgt": { | |
| "process": "Drone", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "DoTakeoff", | |
| "port": "string" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "DoTakeoff", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Takeoff", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "DoLand", | |
| "port": "string" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "DoLand", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Land", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "DoStop", | |
| "port": "string" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "DoStop", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Stop", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Forward", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Back", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Right", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Left", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Clockwise", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "CounterClockwise", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Up", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Down", | |
| "port": "client" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "Drone", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "RepeatDrone", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "DoTakeoff", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "DoLand", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "DoStop", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Forward", | |
| "port": "speed" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Back", | |
| "port": "speed" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Right", | |
| "port": "speed" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Left", | |
| "port": "speed" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Clockwise", | |
| "port": "speed" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "CounterClockwise", | |
| "port": "speed" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Up", | |
| "port": "speed" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "out" | |
| }, | |
| "tgt": { | |
| "process": "Down", | |
| "port": "speed" | |
| } | |
| }, | |
| { | |
| "src": { | |
| "process": "CommandRouter", | |
| "port": "missed" | |
| }, | |
| "tgt": { | |
| "process": "Show", | |
| "port": "in" | |
| } | |
| }, | |
| { | |
| "data": "", | |
| "tgt": { | |
| "process": "Connect", | |
| "port": "ip" | |
| } | |
| }, | |
| { | |
| "data": "land", | |
| "tgt": { | |
| "process": "CommandRouter", | |
| "port": "route" | |
| } | |
| }, | |
| { | |
| "data": "land", | |
| "tgt": { | |
| "process": "CommandRouter", | |
| "port": "route" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment