servo_board
Last Modified: 2024-03-17 07:09:29
Created On: 2023-12-10 15:58:46
Owned By: evezor
Created By: anfro
Contributors: anfro, evezor
Public: True
Executable
# --------------------------------------
# servo_board
# 65f69729a2d7a68ecanv
__canvas_id__ = '65f69729a2d7a68e'
# __version__ = TODO: add this
# --------------------------------------
from floe import FP
from PWM import PWM
from NeoPixel import NeoPixel
from Variable import Variable
from DigitalOutput import DigitalOutput
from DigitalInput import DigitalInput
from HbtLed import HbtLed
from ESP32Core import ESP32Core
from CANBus import CANBus
def setup(iris):
CANBus(name="CANBus", pid=6545, rx=16, tx=4, adr=19, bus=0, baud=250000, rx_queue=25, terminal_debug=False, debug=False, active=True, bcast=False, iris=iris)
DigitalInput(name="a", pid=8138, pin=22, pullup='pullup', debounce=200, invert=True, initial_value=False, datatype="bool", debug=False, active=True, bcast=True, iris=iris)
DigitalInput(name="b", pid=11853, pin=23, pullup='pullup', debounce=200, invert=True, initial_value=False, datatype="bool", debug=False, active=True, bcast=True, iris=iris)
DigitalInput(name="down", pid=56103, pin=33, pullup='pullup', debounce=200, invert=True, initial_value=False, datatype="bool", debug=False, active=True, bcast=True, iris=iris)
DigitalInput(name="function_button", pid=2276, pin=36, pullup='None', debounce=200, invert=True, initial_value=False, datatype="bool", debug=False, active=True, bcast=True, iris=iris)
DigitalInput(name="up", pid=25546, pin=32, pullup='pullup', debounce=200, invert=True, initial_value=False, datatype="bool", debug=False, active=True, bcast=True, iris=iris)
DigitalOutput(name="can_slp", pid=11397, pin=2, invert=False, initial_value=False, datatype="bool", debug=False, active=True, bcast=False, iris=iris)
ESP32Core(name="ESP32Core", pid=6074, wifi=False, hbt_led=FP(50487), neo_status=FP(47403), function_button=FP(2276), bus=FP(6545), zorg=None, webserver=None, debug=False, active=True, bcast=False, iris=iris)
HbtLed(name="HbtLed", pid=50487, pin=5, delay=1000, datatype="int", debug=False, active=True, bcast=False, iris=iris)
NeoPixel(name="neo_status", pid=47403, pin=17, number_of_pixels=1, animation=0, delay=200, animations=None, datatype="rgb", debug=False, active=True, bcast=False, iris=iris)
PWM(name="servo1_init", pid=62828, pin=14, freq=100, duty=FP(9136), duty_min=0.03, duty_max=0.18, invert_duty=False, datatype="bool", debug=False, active=True, bcast=False, iris=iris)
PWM(name="servo2_init", pid=30475, pin=12, freq=100, duty=FP(50736), duty_min=0.03, duty_max=0.18, invert_duty=False, datatype="bool", debug=False, active=True, bcast=False, iris=iris)
PWM(name="servo3_init", pid=58400, pin=27, freq=100, duty=FP(43620), duty_min=0.03, duty_max=0.18, invert_duty=False, datatype="bool", debug=False, active=True, bcast=False, iris=iris)
PWM(name="servo4_init", pid=4775, pin=18, freq=100, duty=FP(37568), duty_min=0.03, duty_max=0.18, invert_duty=False, datatype="bool", debug=False, active=True, bcast=False, iris=iris)
PWM(name="servo5_init", pid=22144, pin=26, freq=100, duty=FP(18139), duty_min=0.03, duty_max=0.18, invert_duty=False, datatype="bool", debug=False, active=True, bcast=False, iris=iris)
PWM(name="servo6_init", pid=19196, pin=19, freq=100, duty=FP(16006), duty_min=0.03, duty_max=0.18, invert_duty=False, datatype="bool", debug=True, active=True, bcast=False, iris=iris)
PWM(name="servo7_init", pid=11768, pin=25, freq=100, duty=FP(53772), duty_min=0.03, duty_max=0.18, invert_duty=False, datatype="bool", debug=False, active=True, bcast=False, iris=iris)
PWM(name="servo8_init", pid=40851, pin=21, freq=100, duty=FP(11603), duty_min=0.03, duty_max=0.18, invert_duty=False, datatype="bool", debug=False, active=True, bcast=False, iris=iris)
Variable(name="servo1", pid=9136, state=0.03, datatype="float", constant=False, debug=False, active=True, bcast=True, iris=iris)
Variable(name="servo2", pid=50736, state=0.03, datatype="float", constant=False, debug=False, active=True, bcast=True, iris=iris)
Variable(name="servo3", pid=43620, state=0.03, datatype="float", constant=False, debug=False, active=True, bcast=True, iris=iris)
Variable(name="servo4", pid=37568, state=0.03, datatype="float", constant=False, debug=False, active=True, bcast=True, iris=iris)
Variable(name="servo5", pid=18139, state=0.03, datatype="float", constant=False, debug=False, active=True, bcast=True, iris=iris)
Variable(name="servo6", pid=16006, state=0.03, datatype="float", constant=False, debug=False, active=True, bcast=True, iris=iris)
Variable(name="servo7", pid=53772, state=0.03, datatype="float", constant=False, debug=False, active=True, bcast=True, iris=iris)
Variable(name="servo8", pid=11603, state=0.03, datatype="float", constant=False, debug=False, active=True, bcast=True, iris=iris)
iris.add_hots({})
Canvas View:
Dependencies:
["PWM", "NeoPixel", "Variable", "DigitalOutput", "DigitalInput", "HbtLed", "Parameter", "FileReceiver", "ESP32Core", "CANBus"]
Uppie code:
this code is used as the constructor in this canvas is dropped on a canvas above
{
"canvas_id": "65742b612617b775canv",
"zorg": false,
"busses": {
"CANBus": "19"
},
"ports": [
{
"name": "up",
"reference_id": "923a0b8c-ad84-aa34-bc52-6ad0cb5b15bf",
"pid": 25546,
"type": "output",
"datatype": "bool",
"parameter_type": "DigitalInput"
},
{
"name": "down",
"reference_id": "615d4e33-f4cd-303e-c93e-b9d8103b10bd",
"pid": 56103,
"type": "output",
"datatype": "bool",
"parameter_type": "DigitalInput"
},
{
"name": "a",
"reference_id": "b20d2b51-7126-2aad-ef2c-494f75da0129",
"pid": 8138,
"type": "output",
"datatype": "bool",
"parameter_type": "DigitalInput"
},
{
"name": "b",
"reference_id": "4dbed4bf-74ef-b403-3337-9324b59f4017",
"pid": 11853,
"type": "output",
"datatype": "bool",
"parameter_type": "DigitalInput"
},
{
"name": "servo1",
"reference_id": "c7040205-11bf-7668-86fa-ebdd3a7ceb01",
"pid": 9136,
"type": "both",
"datatype": "float",
"parameter_type": "Variable"
},
{
"name": "servo2",
"reference_id": "66d709e2-0687-b451-803c-9156f22b8aa2",
"pid": 50736,
"type": "both",
"datatype": "float",
"parameter_type": "Variable"
},
{
"name": "servo3",
"reference_id": "a34a08f8-ffcd-55e7-da8f-b299ac60098d",
"pid": 43620,
"type": "both",
"datatype": "float",
"parameter_type": "Variable"
},
{
"name": "servo4",
"reference_id": "adbec007-88a4-4e94-d350-61cb3950e5a2",
"pid": 37568,
"type": "both",
"datatype": "float",
"parameter_type": "Variable"
},
{
"name": "servo5",
"reference_id": "4aaa18fd-214f-dcc2-88e2-62ba77a974e7",
"pid": 18139,
"type": "both",
"datatype": "float",
"parameter_type": "Variable"
},
{
"name": "servo6",
"reference_id": "8ec54005-d7d8-3e05-729a-128b8d685195",
"pid": 16006,
"type": "both",
"datatype": "float",
"parameter_type": "Variable"
},
{
"name": "servo7",
"reference_id": "0aad1eb3-ec69-5e8c-f684-12f7f670374b",
"pid": 53772,
"type": "both",
"datatype": "float",
"parameter_type": "Variable"
},
{
"name": "servo8",
"reference_id": "211b291c-9d71-65ec-64e9-fe8126b14c9f",
"pid": 11603,
"type": "both",
"datatype": "float",
"parameter_type": "Variable"
}
]
}
Uppie subs:
{}
Canvas code:
[
{
"type": "CanvasID",
"id": "65f69729a2d7a68ecanv",
"x": 26.786299999999983,
"y": 24.64382824707031,
"selectable": false,
"draggable": true,
"text": "CanvasID: 65f69729a2d7a68ecanv",
"canvas_type": "core"
},
{
"type": "Parameter",
"name": "ESP32Core",
"id": "9e65d461-88ea-d923-2508-c70738045031",
"ParameterType": "ESP32Core",
"datatype": null,
"pid": "6074",
"x": 2417.9577,
"y": 272.2713,
"width": 95,
"height": 164,
"constants": {
"wifi": false
},
"up_data": {
"can_go_up": false,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "function_button",
"id": "755f08c5-a527-574e-94c4-ec22787d7c83",
"ParameterType": "DigitalInput",
"datatype": "bool",
"pid": 2276,
"x": 2130.9577,
"y": 257.61289999999997,
"width": 95,
"height": 51,
"constants": {
"pin": "36",
"pullup": "None",
"debounce": 200
},
"up_data": {
"can_go_up": true,
"type": "output",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Parameter",
"name": "neo_status",
"id": "c02b1b9a-83a0-4dc8-6c78-b233f6794e97",
"ParameterType": "NeoPixel",
"datatype": "rgb",
"pid": 47403,
"x": 2107.9577,
"y": 190.61289999999997,
"width": 73,
"height": 40,
"constants": {
"pin": "17",
"number_of_pixels": 1
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "CANBus",
"id": "094dfcb9-7772-56e1-d37f-10f852b3fd3e",
"ParameterType": "CANBus",
"datatype": null,
"pid": 6545,
"x": 2159.9577,
"y": 359.8641,
"width": 79,
"height": 43,
"constants": {
"rx": "16",
"tx": "4",
"adr": "19",
"bus": "0",
"baud": 250000,
"rx_queue": 25
},
"up_data": {
"can_go_up": false,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "NotePad",
"id": "d62904e5-41be-2090-31f2-f67f776f676e",
"x": 2367.4577,
"y": 187.3641,
"width": 218,
"height": 25,
"ports": [],
"text": "Core Components"
},
{
"type": "Parameter",
"name": "servo1_init",
"id": "11edbf70-19d1-3467-143c-97574ed66d1b",
"ParameterType": "PWM",
"datatype": "bool",
"pid": 62828,
"x": 314.6097874298097,
"y": 519.3333129882812,
"width": 58,
"height": 90,
"constants": {
"pin": "14"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "HbtLed",
"id": "7906fc95-7e4b-9ed1-dab9-abd07d17d0c2",
"ParameterType": "HbtLed",
"datatype": "int",
"pid": 50487,
"x": 2095.9577,
"y": 106.33331298828125,
"width": 74,
"height": 40,
"constants": {
"pin": "5"
},
"up_data": {
"can_go_up": false,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "can_slp",
"id": "3a429d50-899d-cb28-be24-195f5663a9ee",
"ParameterType": "DigitalOutput",
"datatype": "bool",
"pid": 11397,
"x": 2417.9577,
"y": 90.36410000000001,
"width": 95,
"height": 50,
"constants": {
"pin": "2"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "servo2_init",
"id": "e10fd98e-027d-dcfb-724d-11016efa1d71",
"ParameterType": "PWM",
"datatype": "bool",
"pid": 30475,
"x": 533.3069874298097,
"y": 516.3333129882812,
"width": 58,
"height": 97,
"constants": {
"pin": "12"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Constant",
"id": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"datatype": "Float",
"state": ".03",
"x": 66.77789999999995,
"y": 691.0169129882812,
"width": 45,
"height": 29
},
{
"type": "Constant",
"id": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"datatype": "Float",
"state": ".18",
"x": 65.77789999999995,
"y": 762.8669129882812,
"width": 47,
"height": 31
},
{
"type": "Parameter",
"name": "servo3_init",
"id": "f3dd1e0c-b709-641e-c8ff-a70c77ffaca2",
"ParameterType": "PWM",
"datatype": "bool",
"pid": 58400,
"x": 776,
"y": 519.3333129882812,
"width": 48,
"height": 93,
"constants": {
"pin": "27"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "servo4_init",
"id": "32f4c50c-6aa0-b82e-0386-0c8a88a5266c",
"ParameterType": "PWM",
"datatype": "bool",
"pid": 4775,
"x": 1009.0115210174563,
"y": 520.8333129882812,
"width": 52,
"height": 88,
"constants": {
"pin": "18"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "servo5_init",
"id": "ded18e87-ba55-ff84-6677-b05bf9beaf86",
"ParameterType": "PWM",
"datatype": "bool",
"pid": 22144,
"x": 1212.9014,
"y": 518.8333129882812,
"width": 59,
"height": 92,
"constants": {
"pin": "26"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "servo6_init",
"id": "58cdec7c-707b-cfee-90ce-144edc1eb0bb",
"ParameterType": "PWM",
"datatype": "bool",
"pid": 19196,
"x": 1401,
"y": 518.8333129882812,
"width": 58,
"height": 91,
"constants": {
"pin": "19"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": true,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "servo7_init",
"id": "bf6e0c57-10a7-55f0-3f72-488ced238bb9",
"ParameterType": "PWM",
"datatype": "bool",
"pid": 11768,
"x": 1589.0884,
"y": 521.8333129882812,
"width": 55,
"height": 86,
"constants": {
"pin": "25"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "servo8_init",
"id": "5effa33e-1de7-7ca1-538a-8db6a305e112",
"ParameterType": "PWM",
"datatype": "bool",
"pid": 40851,
"x": 1784.2116,
"y": 523.3333129882812,
"width": 55,
"height": 82,
"constants": {
"pin": "21"
},
"up_data": {
"can_go_up": true,
"type": "input",
"order": 999,
"up": false
},
"debug": false,
"active": true,
"broadcast": false
},
{
"type": "Parameter",
"name": "up",
"id": "923a0b8c-ad84-aa34-bc52-6ad0cb5b15bf",
"ParameterType": "DigitalInput",
"datatype": "bool",
"pid": 25546,
"x": 302.74999999999994,
"y": 1093.8333129882812,
"width": 90,
"height": 45,
"constants": {
"pin": "32",
"pullup": "pullup",
"debounce": 200
},
"up_data": {
"can_go_up": true,
"type": "output",
"order": 999,
"up": true
},
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Parameter",
"name": "down",
"id": "615d4e33-f4cd-303e-c93e-b9d8103b10bd",
"ParameterType": "DigitalInput",
"datatype": "bool",
"pid": 56103,
"x": 302.74999999999994,
"y": 1206.8333129882812,
"width": 90,
"height": 45,
"constants": {
"pin": "33",
"pullup": "pullup",
"debounce": 200
},
"up_data": {
"can_go_up": true,
"type": "output",
"order": 999,
"up": true
},
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Parameter",
"name": "a",
"id": "b20d2b51-7126-2aad-ef2c-494f75da0129",
"ParameterType": "DigitalInput",
"datatype": "bool",
"pid": 8138,
"x": 586.3069874298097,
"y": 1093.8333129882812,
"width": 90,
"height": 45,
"constants": {
"pin": "22",
"pullup": "pullup",
"debounce": 200
},
"up_data": {
"can_go_up": true,
"type": "output",
"order": 999,
"up": true
},
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Parameter",
"name": "b",
"id": "4dbed4bf-74ef-b403-3337-9324b59f4017",
"ParameterType": "DigitalInput",
"datatype": "bool",
"pid": 11853,
"x": 586.3069874298097,
"y": 1206.8333129882812,
"width": 90,
"height": 45,
"constants": {
"pin": "23",
"pullup": "pullup",
"debounce": 200
},
"up_data": {
"can_go_up": true,
"type": "output",
"order": 999,
"up": true
},
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "NotePad",
"id": "48bb6233-2db2-5b00-9377-60a98f365d89",
"x": 480.1969,
"y": 252.9113282470703,
"width": 218,
"height": 25,
"ports": [],
"text": "Servos"
},
{
"type": "NotePad",
"id": "de20fa9a-fac7-21f6-bc8b-f88d65e31781",
"x": 452.07645460510275,
"y": 1018.8333129882812,
"width": 218,
"height": 25,
"ports": [],
"text": "buttons"
},
{
"type": "Variable",
"id": "c7040205-11bf-7668-86fa-ebdd3a7ceb01",
"name": "servo1",
"class": "Float",
"datatype": "float",
"state": ".03",
"pid": 9136,
"up_data": {
"type": "both",
"order": 999,
"up": true
},
"constant": false,
"x": 207.74999999999994,
"y": 384.83331298828125,
"width": 41,
"height": 34,
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Variable",
"id": "66d709e2-0687-b451-803c-9156f22b8aa2",
"name": "servo2",
"class": "Float",
"datatype": "float",
"state": ".03",
"pid": 50736,
"up_data": {
"type": "both",
"order": 999,
"up": true
},
"constant": false,
"x": 404.5,
"y": 397.8333282470703,
"width": 44,
"height": 28,
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Variable",
"id": "a34a08f8-ffcd-55e7-da8f-b299ac60098d",
"name": "servo3",
"class": "Float",
"datatype": "float",
"state": ".03",
"pid": 43620,
"up_data": {
"type": "both",
"order": 999,
"up": true
},
"constant": false,
"x": 640.5,
"y": 381.83331298828125,
"width": 41,
"height": 35,
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Variable",
"id": "adbec007-88a4-4e94-d350-61cb3950e5a2",
"name": "servo4",
"class": "Float",
"datatype": "float",
"state": ".03",
"pid": 37568,
"up_data": {
"type": "both",
"order": 999,
"up": true
},
"constant": false,
"x": 889.5,
"y": 402.2713,
"width": 34,
"height": 34,
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Variable",
"id": "4aaa18fd-214f-dcc2-88e2-62ba77a974e7",
"name": "servo5",
"class": "Float",
"datatype": "float",
"state": ".03",
"pid": 18139,
"up_data": {
"type": "both",
"order": 999,
"up": true
},
"constant": false,
"x": 1113.5,
"y": 381.83331298828125,
"width": 40,
"height": 35,
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Variable",
"id": "8ec54005-d7d8-3e05-729a-128b8d685195",
"name": "servo6",
"class": "Float",
"datatype": "float",
"state": ".03",
"pid": 16006,
"up_data": {
"type": "both",
"order": 999,
"up": true
},
"constant": false,
"x": 1295.0115210174563,
"y": 379.33331298828125,
"width": 33,
"height": 40,
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Variable",
"id": "0aad1eb3-ec69-5e8c-f684-12f7f670374b",
"name": "servo7",
"class": "Float",
"datatype": "float",
"state": ".03",
"pid": 53772,
"up_data": {
"type": "both",
"order": 999,
"up": true
},
"constant": false,
"x": 1493.5,
"y": 381.83331298828125,
"width": 35,
"height": 37,
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Variable",
"id": "211b291c-9d71-65ec-64e9-fe8126b14c9f",
"name": "servo8",
"class": "Float",
"datatype": "float",
"state": ".03",
"pid": 11603,
"up_data": {
"type": "both",
"order": 999,
"up": true
},
"constant": false,
"x": 1664.0884,
"y": 380.83331298828125,
"width": 36,
"height": 37,
"debug": false,
"active": true,
"broadcast": true
},
{
"type": "Constant",
"id": "792626af-2aa8-6334-125c-3012c2aa6087",
"datatype": "Int",
"state": "100",
"x": 64.74999999999994,
"y": 302.2713,
"width": 70,
"height": 30
},
{
"type": "HoverConnection",
"id": "2b775f03-5aa3-3fe4-bb75-ac541beaf49c",
"bus": "local",
"vertex": [
{
"x": 2180.9577,
"y": 217.27956666666662
},
{
"x": 2324.9577,
"y": 217.27956666666662
},
{
"x": 2324.9577,
"y": 319.12844285714283
},
{
"x": 2417.9577,
"y": 319.12844285714283
}
],
"source": {
"node": "c02b1b9a-83a0-4dc8-6c78-b233f6794e97",
"port": "self"
},
"target": {
"node": "9e65d461-88ea-d923-2508-c70738045031",
"port": "neo_status"
}
},
{
"type": "HoverConnection",
"id": "825c8068-d774-af1f-4d9a-32a158ca9744",
"bus": "local",
"vertex": [
{
"x": 2169.9577,
"y": 126.33331298828125
},
{
"x": 2342.9577,
"y": 126.33331298828125
},
{
"x": 2342.9577,
"y": 295.69987142857144
},
{
"x": 2417.9577,
"y": 295.69987142857144
}
],
"source": {
"node": "7906fc95-7e4b-9ed1-dab9-abd07d17d0c2",
"port": "self"
},
"target": {
"node": "9e65d461-88ea-d923-2508-c70738045031",
"port": "hbt_led"
}
},
{
"type": "HoverConnection",
"id": "9b616e2a-71ec-3e0e-7d4a-2886ba348a15",
"bus": "local",
"vertex": [
{
"x": 134.74999999999994,
"y": 317.2713
},
{
"x": 737.375,
"y": 317.2713
},
{
"x": 737.375,
"y": 545.9047415597098
},
{
"x": 776,
"y": 545.9047415597098
}
],
"source": {
"node": "792626af-2aa8-6334-125c-3012c2aa6087",
"port": "output0"
},
"target": {
"node": "f3dd1e0c-b709-641e-c8ff-a70c77ffaca2",
"port": "freq"
}
},
{
"type": "HoverConnection",
"id": "f729006b-073c-7d3c-6955-c542f6f545e3",
"bus": "local",
"vertex": [
{
"x": 134.74999999999994,
"y": 317.2713
},
{
"x": 1381,
"y": 317.2713
},
{
"x": 1381,
"y": 544.8333129882812
},
{
"x": 1401,
"y": 544.8333129882812
}
],
"source": {
"node": "792626af-2aa8-6334-125c-3012c2aa6087",
"port": "output0"
},
"target": {
"node": "58cdec7c-707b-cfee-90ce-144edc1eb0bb",
"port": "freq"
}
},
{
"type": "HoverConnection",
"id": "e04202ae-a1f5-4a63-ee85-3ca3955f8453",
"bus": "local",
"vertex": [
{
"x": 134.74999999999994,
"y": 317.2713
},
{
"x": 984.8807605087281,
"y": 317.2713
},
{
"x": 984.8807605087281,
"y": 545.9761701311384
},
{
"x": 1009.0115210174563,
"y": 545.9761701311384
}
],
"source": {
"node": "792626af-2aa8-6334-125c-3012c2aa6087",
"port": "output0"
},
"target": {
"node": "32f4c50c-6aa0-b82e-0386-0c8a88a5266c",
"port": "freq"
}
},
{
"type": "HoverConnection",
"id": "103faa4f-5b6e-b689-18b1-4c00ce94c12a",
"bus": "local",
"vertex": [
{
"x": 134.74999999999994,
"y": 317.2713
},
{
"x": 1191.9014,
"y": 317.2713
},
{
"x": 1191.9014,
"y": 545.1190272739956
},
{
"x": 1212.9014,
"y": 545.1190272739956
}
],
"source": {
"node": "792626af-2aa8-6334-125c-3012c2aa6087",
"port": "output0"
},
"target": {
"node": "ded18e87-ba55-ff84-6677-b05bf9beaf86",
"port": "freq"
}
},
{
"type": "HoverConnection",
"id": "1f05f03f-b2d3-26d8-d70f-5ddee88b4cf5",
"bus": "local",
"vertex": [
{
"x": 134.74999999999994,
"y": 317.2713
},
{
"x": 1565.0884,
"y": 317.2713
},
{
"x": 1565.0884,
"y": 546.4047415597098
},
{
"x": 1589.0884,
"y": 546.4047415597098
}
],
"source": {
"node": "792626af-2aa8-6334-125c-3012c2aa6087",
"port": "output0"
},
"target": {
"node": "bf6e0c57-10a7-55f0-3f72-488ced238bb9",
"port": "freq"
}
},
{
"type": "HoverConnection",
"id": "5c897b9c-cdd0-4f50-eb99-d068ffa8f04e",
"bus": "local",
"vertex": [
{
"x": 134.74999999999994,
"y": 317.2713
},
{
"x": 1736.9808,
"y": 317.2713
},
{
"x": 1736.9808,
"y": 546.7618844168527
},
{
"x": 1784.2116,
"y": 546.7618844168527
}
],
"source": {
"node": "792626af-2aa8-6334-125c-3012c2aa6087",
"port": "output0"
},
"target": {
"node": "5effa33e-1de7-7ca1-538a-8db6a305e112",
"port": "freq"
}
},
{
"type": "HoverConnection",
"id": "88252fb5-1de6-7db0-6491-2caaefaa4ff2",
"bus": "local",
"vertex": [
{
"x": 134.74999999999994,
"y": 317.2713
},
{
"x": 513.3069874298097,
"y": 317.2713
},
{
"x": 513.3069874298097,
"y": 544.0475987025669
},
{
"x": 533.3069874298097,
"y": 544.0475987025669
}
],
"source": {
"node": "792626af-2aa8-6334-125c-3012c2aa6087",
"port": "output0"
},
"target": {
"node": "e10fd98e-027d-dcfb-724d-11016efa1d71",
"port": "freq"
}
},
{
"type": "HoverConnection",
"id": "be47257d-1f2e-5723-18be-6adb007139e6",
"bus": "local",
"vertex": [
{
"x": 134.74999999999994,
"y": 317.2713
},
{
"x": 287.67989371490484,
"y": 317.2713
},
{
"x": 287.67989371490484,
"y": 545.0475987025669
},
{
"x": 314.6097874298097,
"y": 545.0475987025669
}
],
"source": {
"node": "792626af-2aa8-6334-125c-3012c2aa6087",
"port": "output0"
},
"target": {
"node": "11edbf70-19d1-3467-143c-97574ed66d1b",
"port": "freq"
}
},
{
"type": "HoverConnection",
"id": "754ff452-d327-e413-8f2c-3ce49c4fab2d",
"bus": "local",
"vertex": [
{
"x": 111.77789999999995,
"y": 705.5169129882812
},
{
"x": 435.2784937149046,
"y": 705.5169129882812
},
{
"x": 435.2784937149046,
"y": 571.7618844168527
},
{
"x": 533.3069874298097,
"y": 571.7618844168527
}
],
"source": {
"node": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"port": "output0"
},
"target": {
"node": "e10fd98e-027d-dcfb-724d-11016efa1d71",
"port": "duty_min"
}
},
{
"type": "HoverConnection",
"id": "4cfb0649-d401-4ee4-c682-0f4dcd762ca1",
"bus": "local",
"vertex": [
{
"x": 111.77789999999995,
"y": 705.5169129882812
},
{
"x": 907.6576937149057,
"y": 705.5169129882812
},
{
"x": 907.6576937149057,
"y": 571.1190272739956
},
{
"x": 1009.0115210174563,
"y": 571.1190272739956
}
],
"source": {
"node": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"port": "output0"
},
"target": {
"node": "32f4c50c-6aa0-b82e-0386-0c8a88a5266c",
"port": "duty_min"
}
},
{
"type": "HoverConnection",
"id": "0dbcaba0-8bed-97f5-5341-6dfe8a48c110",
"bus": "local",
"vertex": [
{
"x": 111.77789999999995,
"y": 705.5169129882812
},
{
"x": 682.0999999999999,
"y": 705.5169129882812
},
{
"x": 682.0999999999999,
"y": 572.4761701311384
},
{
"x": 776,
"y": 572.4761701311384
}
],
"source": {
"node": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"port": "output0"
},
"target": {
"node": "f3dd1e0c-b709-641e-c8ff-a70c77ffaca2",
"port": "duty_min"
}
},
{
"type": "HoverConnection",
"id": "535034a2-f538-0b9c-3015-45285b912260",
"bus": "local",
"vertex": [
{
"x": 111.77789999999995,
"y": 705.5169129882812
},
{
"x": 1105.1097874298098,
"y": 705.5169129882812
},
{
"x": 1105.1097874298098,
"y": 571.4047415597098
},
{
"x": 1212.9014,
"y": 571.4047415597098
}
],
"source": {
"node": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"port": "output0"
},
"target": {
"node": "ded18e87-ba55-ff84-6677-b05bf9beaf86",
"port": "duty_min"
}
},
{
"type": "HoverConnection",
"id": "56878aef-0d65-4b88-a46b-1545cc5fd491",
"bus": "local",
"vertex": [
{
"x": 111.77789999999995,
"y": 705.5169129882812
},
{
"x": 1335.4500000000003,
"y": 705.5169129882812
},
{
"x": 1335.4500000000003,
"y": 570.8333129882812
},
{
"x": 1401,
"y": 570.8333129882812
}
],
"source": {
"node": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"port": "output0"
},
"target": {
"node": "58cdec7c-707b-cfee-90ce-144edc1eb0bb",
"port": "duty_min"
}
},
{
"type": "HoverConnection",
"id": "113bea4a-6f00-ecbe-a13e-2413e93421d3",
"bus": "local",
"vertex": [
{
"x": 111.77789999999995,
"y": 705.5169129882812
},
{
"x": 1690.199999999999,
"y": 705.5169129882812
},
{
"x": 1690.199999999999,
"y": 570.1904558454241
},
{
"x": 1784.2116,
"y": 570.1904558454241
}
],
"source": {
"node": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"port": "output0"
},
"target": {
"node": "5effa33e-1de7-7ca1-538a-8db6a305e112",
"port": "duty_min"
}
},
{
"type": "HoverConnection",
"id": "43ca207f-45a6-0d1e-b186-80e2ff14e486",
"bus": "local",
"vertex": [
{
"x": 111.77789999999995,
"y": 705.5169129882812
},
{
"x": 185.67989371490484,
"y": 705.5169129882812
},
{
"x": 185.67989371490484,
"y": 570.7618844168527
},
{
"x": 314.6097874298097,
"y": 570.7618844168527
}
],
"source": {
"node": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"port": "output0"
},
"target": {
"node": "11edbf70-19d1-3467-143c-97574ed66d1b",
"port": "duty_min"
}
},
{
"type": "HoverConnection",
"id": "d8b8730e-981e-d5d9-d5d2-8e99f7f17073",
"bus": "local",
"vertex": [
{
"x": 111.77789999999995,
"y": 705.5169129882812
},
{
"x": 1509.6499999999994,
"y": 705.5169129882812
},
{
"x": 1509.6499999999994,
"y": 570.9761701311384
},
{
"x": 1589.0884,
"y": 570.9761701311384
}
],
"source": {
"node": "945bf171-034a-0148-bbb4-99adc6b0bb99",
"port": "output0"
},
"target": {
"node": "bf6e0c57-10a7-55f0-3f72-488ced238bb9",
"port": "duty_min"
}
},
{
"type": "HoverConnection",
"id": "03ba6057-30fe-b4d1-5462-e526d641f592",
"bus": "local",
"vertex": [
{
"x": 112.77789999999995,
"y": 778.3669129882812
},
{
"x": 208.17989371490484,
"y": 778.3669129882812
},
{
"x": 208.17989371490484,
"y": 583.6190272739956
},
{
"x": 314.6097874298097,
"y": 583.6190272739956
}
],
"source": {
"node": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"port": "output0"
},
"target": {
"node": "11edbf70-19d1-3467-143c-97574ed66d1b",
"port": "duty_max"
}
},
{
"type": "HoverConnection",
"id": "05c579ab-890e-2ed5-aae4-9bf763843861",
"bus": "local",
"vertex": [
{
"x": 112.77789999999995,
"y": 778.3669129882812
},
{
"x": 702.4421937149049,
"y": 778.3669129882812
},
{
"x": 702.4421937149049,
"y": 585.7618844168527
},
{
"x": 776,
"y": 585.7618844168527
}
],
"source": {
"node": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"port": "output0"
},
"target": {
"node": "f3dd1e0c-b709-641e-c8ff-a70c77ffaca2",
"port": "duty_max"
}
},
{
"type": "HoverConnection",
"id": "bfd724d6-db9a-6712-42d5-8bb0362496f7",
"bus": "local",
"vertex": [
{
"x": 112.77789999999995,
"y": 778.3669129882812
},
{
"x": 451.2069874298095,
"y": 778.3669129882812
},
{
"x": 451.2069874298095,
"y": 585.6190272739956
},
{
"x": 533.3069874298097,
"y": 585.6190272739956
}
],
"source": {
"node": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"port": "output0"
},
"target": {
"node": "e10fd98e-027d-dcfb-724d-11016efa1d71",
"port": "duty_max"
}
},
{
"type": "HoverConnection",
"id": "fff57a20-f9c0-a9f5-ff4f-52a0ceac24ca",
"bus": "local",
"vertex": [
{
"x": 112.77789999999995,
"y": 778.3669129882812
},
{
"x": 925.9576937149043,
"y": 778.3669129882812
},
{
"x": 925.9576937149043,
"y": 583.6904558454241
},
{
"x": 1009.0115210174563,
"y": 583.6904558454241
}
],
"source": {
"node": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"port": "output0"
},
"target": {
"node": "32f4c50c-6aa0-b82e-0386-0c8a88a5266c",
"port": "duty_max"
}
},
{
"type": "HoverConnection",
"id": "ac4aa3d8-17f4-9654-6dcd-80a3fbb4ed45",
"bus": "local",
"vertex": [
{
"x": 112.77789999999995,
"y": 778.3669129882812
},
{
"x": 1120.1097874298098,
"y": 778.3669129882812
},
{
"x": 1120.1097874298098,
"y": 584.5475987025669
},
{
"x": 1212.9014,
"y": 584.5475987025669
}
],
"source": {
"node": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"port": "output0"
},
"target": {
"node": "ded18e87-ba55-ff84-6677-b05bf9beaf86",
"port": "duty_max"
}
},
{
"type": "HoverConnection",
"id": "9a14ab16-a493-328a-ec16-01f043b54e37",
"bus": "local",
"vertex": [
{
"x": 112.77789999999995,
"y": 778.3669129882812
},
{
"x": 1530.9499999999998,
"y": 778.3669129882812
},
{
"x": 1530.9499999999998,
"y": 583.2618844168527
},
{
"x": 1589.0884,
"y": 583.2618844168527
}
],
"source": {
"node": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"port": "output0"
},
"target": {
"node": "bf6e0c57-10a7-55f0-3f72-488ced238bb9",
"port": "duty_max"
}
},
{
"type": "HoverConnection",
"id": "c7137924-2e41-8b00-d111-939277656a30",
"bus": "local",
"vertex": [
{
"x": 112.77789999999995,
"y": 778.3669129882812
},
{
"x": 1362.4500000000003,
"y": 778.3669129882812
},
{
"x": 1362.4500000000003,
"y": 583.8333129882812
},
{
"x": 1401,
"y": 583.8333129882812
}
],
"source": {
"node": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"port": "output0"
},
"target": {
"node": "58cdec7c-707b-cfee-90ce-144edc1eb0bb",
"port": "duty_max"
}
},
{
"type": "HoverConnection",
"id": "da04c9e5-bfb8-d182-0b2e-bee4a400ae39",
"bus": "local",
"vertex": [
{
"x": 112.77789999999995,
"y": 778.3669129882812
},
{
"x": 1706.1615999999995,
"y": 778.3669129882812
},
{
"x": 1706.1615999999995,
"y": 581.9047415597098
},
{
"x": 1784.2116,
"y": 581.9047415597098
}
],
"source": {
"node": "b27a501b-3b1e-2ae3-b3e8-b25e0132eb56",
"port": "output0"
},
"target": {
"node": "5effa33e-1de7-7ca1-538a-8db6a305e112",
"port": "duty_max"
}
},
{
"type": "HoverConnection",
"id": "7a598272-8aba-7789-1bc1-0836706eb8c1",
"bus": "local",
"vertex": [
{
"x": 1528.5,
"y": 400.33331298828125
},
{
"x": 1548.5,
"y": 400.33331298828125
},
{
"x": 1548.5,
"y": 558.6904558454241
},
{
"x": 1589.0884,
"y": 558.6904558454241
}
],
"source": {
"node": "0aad1eb3-ec69-5e8c-f684-12f7f670374b",
"port": "output0"
},
"target": {
"node": "bf6e0c57-10a7-55f0-3f72-488ced238bb9",
"port": "duty"
}
},
{
"type": "HoverConnection",
"id": "65be2b61-ca8d-e5e3-81ff-af3dd48ce324",
"bus": "local",
"vertex": [
{
"x": 2225.9577,
"y": 274.61289999999997
},
{
"x": 2305.9577,
"y": 274.61289999999997
},
{
"x": 2305.9577,
"y": 342.5570142857143
},
{
"x": 2417.9577,
"y": 342.5570142857143
}
],
"source": {
"node": "755f08c5-a527-574e-94c4-ec22787d7c83",
"port": "event"
},
"target": {
"node": "9e65d461-88ea-d923-2508-c70738045031",
"port": "function_button"
}
},
{
"type": "HoverConnection",
"id": "e25b06b5-c6ab-6573-a34a-6b3535c3467f",
"bus": "local",
"vertex": [
{
"x": 1153.5,
"y": 399.33331298828125
},
{
"x": 1173.5,
"y": 399.33331298828125
},
{
"x": 1173.5,
"y": 558.2618844168527
},
{
"x": 1212.9014,
"y": 558.2618844168527
}
],
"source": {
"node": "4aaa18fd-214f-dcc2-88e2-62ba77a974e7",
"port": "output0"
},
"target": {
"node": "ded18e87-ba55-ff84-6677-b05bf9beaf86",
"port": "duty"
}
},
{
"type": "HoverConnection",
"id": "3f658083-625d-614a-c703-d4270120db8f",
"bus": "local",
"vertex": [
{
"x": 2238.9577,
"y": 381.3641
},
{
"x": 2308.4577,
"y": 381.3641
},
{
"x": 2308.4577,
"y": 365.9855857142857
},
{
"x": 2417.9577,
"y": 365.9855857142857
}
],
"source": {
"node": "094dfcb9-7772-56e1-d37f-10f852b3fd3e",
"port": "self"
},
"target": {
"node": "9e65d461-88ea-d923-2508-c70738045031",
"port": "bus"
}
},
{
"type": "HoverConnection",
"id": "f3d24033-6b57-5ab9-8b58-50a9cd7ddeba",
"bus": "local",
"vertex": [
{
"x": 1328.0115210174563,
"y": 399.33331298828125
},
{
"x": 1348.0115210174563,
"y": 399.33331298828125
},
{
"x": 1348.0115210174563,
"y": 557.8333129882812
},
{
"x": 1401,
"y": 557.8333129882812
}
],
"source": {
"node": "8ec54005-d7d8-3e05-729a-128b8d685195",
"port": "output0"
},
"target": {
"node": "58cdec7c-707b-cfee-90ce-144edc1eb0bb",
"port": "duty"
}
},
{
"type": "HoverConnection",
"id": "1a45c75f-9d47-ceca-d723-40b23592f8d3",
"bus": "local",
"vertex": [
{
"x": 448.5,
"y": 411.8333282470703
},
{
"x": 490.90349371490487,
"y": 411.8333282470703
},
{
"x": 490.90349371490487,
"y": 557.9047415597098
},
{
"x": 533.3069874298097,
"y": 557.9047415597098
}
],
"source": {
"node": "66d709e2-0687-b451-803c-9156f22b8aa2",
"port": "output0"
},
"target": {
"node": "e10fd98e-027d-dcfb-724d-11016efa1d71",
"port": "duty"
}
},
{
"type": "HoverConnection",
"id": "e1d90db8-306b-c9e6-5f9f-9569e52de459",
"bus": "local",
"vertex": [
{
"x": 681.5,
"y": 399.33331298828125
},
{
"x": 710.75,
"y": 399.33331298828125
},
{
"x": 710.75,
"y": 559.1904558454241
},
{
"x": 776,
"y": 559.1904558454241
}
],
"source": {
"node": "a34a08f8-ffcd-55e7-da8f-b299ac60098d",
"port": "output0"
},
"target": {
"node": "f3dd1e0c-b709-641e-c8ff-a70c77ffaca2",
"port": "duty"
}
},
{
"type": "HoverConnection",
"id": "9ccb1066-4264-1190-af68-06ac4b11d1c7",
"bus": "local",
"vertex": [
{
"x": 248.74999999999994,
"y": 401.83331298828125
},
{
"x": 268.74999999999994,
"y": 401.83331298828125
},
{
"x": 268.74999999999994,
"y": 557.9047415597098
},
{
"x": 314.6097874298097,
"y": 557.9047415597098
}
],
"source": {
"node": "c7040205-11bf-7668-86fa-ebdd3a7ceb01",
"port": "output0"
},
"target": {
"node": "11edbf70-19d1-3467-143c-97574ed66d1b",
"port": "duty"
}
},
{
"type": "HoverConnection",
"id": "7380c97a-cc1c-488f-548e-a32b9a8d445b",
"bus": "local",
"vertex": [
{
"x": 1700.0884,
"y": 399.33331298828125
},
{
"x": 1720.0884,
"y": 399.33331298828125
},
{
"x": 1720.0884,
"y": 558.4761701311384
},
{
"x": 1784.2116,
"y": 558.4761701311384
}
],
"source": {
"node": "211b291c-9d71-65ec-64e9-fe8126b14c9f",
"port": "output0"
},
"target": {
"node": "5effa33e-1de7-7ca1-538a-8db6a305e112",
"port": "duty"
}
},
{
"type": "HoverConnection",
"id": "226d0552-e763-ffe4-d058-ed90022aadc8",
"bus": "local",
"vertex": [
{
"x": 923.5,
"y": 419.2713
},
{
"x": 966.2557605087281,
"y": 419.2713
},
{
"x": 966.2557605087281,
"y": 558.5475987025669
},
{
"x": 1009.0115210174563,
"y": 558.5475987025669
}
],
"source": {
"node": "adbec007-88a4-4e94-d350-61cb3950e5a2",
"port": "output0"
},
"target": {
"node": "32f4c50c-6aa0-b82e-0386-0c8a88a5266c",
"port": "duty"
}
}
]