From b8fa174aeaada5ade035ccf722ff181574887487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sat, 28 Feb 2026 12:23:12 +0100 Subject: [PATCH 01/45] Added packets and measurements to test --- boards.json | 8 +- boards/TEST/TEST.json | 14 +++ boards/TEST/TEST_measurements.json | 158 +++++++++++++++++++++++++++++ boards/TEST/orders.json | 48 +++++++++ boards/TEST/packets.json | 89 ++++++++++++++++ boards/TEST/sockets.json | 20 ++++ 6 files changed, 330 insertions(+), 7 deletions(-) create mode 100644 boards/TEST/TEST.json create mode 100644 boards/TEST/TEST_measurements.json create mode 100644 boards/TEST/orders.json create mode 100644 boards/TEST/packets.json create mode 100644 boards/TEST/sockets.json diff --git a/boards.json b/boards.json index c240a92..fbe6794 100644 --- a/boards.json +++ b/boards.json @@ -1,9 +1,3 @@ { - "HVSCU-Cabinet": "boards/HVSCU-Cabinet/HVSCU-Cabinet.json", - "BCU": "boards/BCU/BCU.json", - "PCU": "boards/PCU/PCU.json", - "LCU": "boards/LCU/LCU.json", - "HVSCU": "boards/HVSCU/HVSCU.json", - "BMSL": "boards/BMSL/BMSL.json", - "VCU": "boards/VCU/VCU.json" + "TEST": "boards/TEST/TEST.json" } diff --git a/boards/TEST/TEST.json b/boards/TEST/TEST.json new file mode 100644 index 0000000..bbedbf6 --- /dev/null +++ b/boards/TEST/TEST.json @@ -0,0 +1,14 @@ +{ + "board_id": 1, + "board_ip": "192.168.200.7", + "measurements": [ + "TEST_measurements.json" + ], + "packets": [ + "orders.json", + "packets.json" + ], + "sockets": [ + "sockets.json" + ] +} diff --git a/boards/TEST/TEST_measurements.json b/boards/TEST/TEST_measurements.json new file mode 100644 index 0000000..296401d --- /dev/null +++ b/boards/TEST/TEST_measurements.json @@ -0,0 +1,158 @@ +[ + { + "id": "enable_flag", + "name": "Enable Flag", + "type": "bool" + }, + { + "id": "small_counter", + "name": "Small Counter", + "type": "uint8" + }, + { + "id": "window_size", + "name": "Window Size", + "type": "uint16" + }, + { + "id": "magic_value", + "name": "Magic Value", + "type": "uint32" + }, + { + "id": "big_counter", + "name": "Big Counter", + "type": "uint64" + }, + { + "id": "trim_value", + "name": "Trim Value", + "type": "int8" + }, + { + "id": "offset_value", + "name": "Offset Value", + "type": "int16" + }, + { + "id": "position_value", + "name": "Position Value", + "type": "int32" + }, + { + "id": "energy_value", + "name": "Energy Value", + "type": "int64" + }, + { + "id": "ratio_value", + "name": "Ratio Value", + "type": "float32", + "podUnits": "m/s", + "displayUnits": "m/s" + }, + { + "id": "precise_value", + "name": "Precise Value", + "type": "float64", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "tcp_order_count", + "name": "TCP Order Count", + "type": "uint32" + }, + { + "id": "udp_parse_count", + "name": "UDP Parse Count", + "type": "uint32" + }, + { + "id": "heartbeat_ticks", + "name": "Heartbeat Ticks", + "type": "uint32" + }, + { + "id": "last_order_code", + "name": "Last Order Code", + "type": "uint16" + }, + { + "id": "order_mode", + "name": "Order Mode", + "type": "enum", + "enumValues": [ + "IDLE", + "RUN", + "SAFE", + "CAL" + ] + }, + { + "id": "order_state", + "name": "Order State", + "type": "enum", + "enumValues": [ + "BOOT", + "ARMED", + "STREAMING", + "ERROR" + ] + }, + { + "id": "mirror_mode", + "name": "Mirror Mode", + "type": "enum", + "enumValues": [ + "IDLE", + "RUN", + "SAFE", + "CAL" + ] + }, + { + "id": "mirror_state", + "name": "Mirror State", + "type": "enum", + "enumValues": [ + "BOOT", + "ARMED", + "STREAMING", + "ERROR" + ] + }, + { + "id": "probe_seq", + "name": "Probe Sequence", + "type": "uint32" + }, + { + "id": "probe_toggle", + "name": "Probe Toggle", + "type": "bool" + }, + { + "id": "probe_window", + "name": "Probe Window", + "type": "uint16" + }, + { + "id": "probe_ratio", + "name": "Probe Ratio", + "type": "float32", + "podUnits": "m/s", + "displayUnits": "m/s" + }, + { + "id": "probe_mode", + "name": "Probe Mode", + "type": "enum", + "enumValues": [ + "LOW", + "MEDIUM", + "HIGH", + "TURBO" + ] + } +] diff --git a/boards/TEST/orders.json b/boards/TEST/orders.json new file mode 100644 index 0000000..80cc0ea --- /dev/null +++ b/boards/TEST/orders.json @@ -0,0 +1,48 @@ +[ + { + "type": "order", + "name": "set_small_profile", + "variables": [ + "enable_flag", + "small_counter", + "offset_value", + "order_mode" + ], + "id": 20481 + }, + { + "type": "order", + "name": "set_large_profile", + "variables": [ + "window_size", + "magic_value", + "position_value", + "ratio_value", + "precise_value" + ], + "id": 20482 + }, + { + "type": "order", + "name": "set_extremes", + "variables": [ + "trim_value", + "energy_value", + "big_counter" + ], + "id": 20483 + }, + { + "type": "order", + "name": "bump_state", + "id": 20484 + }, + { + "type": "order", + "name": "set_state_code", + "variables": [ + "order_state" + ], + "id": 20485 + } +] diff --git a/boards/TEST/packets.json b/boards/TEST/packets.json new file mode 100644 index 0000000..3cc1fbd --- /dev/null +++ b/boards/TEST/packets.json @@ -0,0 +1,89 @@ +[ + { + "type": "data", + "name": "order_mirror", + "variables": [ + "tcp_order_count", + "last_order_code", + "enable_flag", + "small_counter", + "offset_value", + "mirror_mode" + ], + "id": 20737, + "socket": "telemetry_udp", + "period": 50, + "period_type": "ms" + }, + { + "type": "data", + "name": "numeric_mirror", + "variables": [ + "window_size", + "magic_value", + "position_value", + "ratio_value", + "precise_value" + ], + "id": 20738, + "socket": "telemetry_udp", + "period": 50, + "period_type": "ms" + }, + { + "type": "data", + "name": "extremes_mirror", + "variables": [ + "trim_value", + "energy_value", + "big_counter", + "mirror_state" + ], + "id": 20739, + "socket": "telemetry_udp", + "period": 50, + "period_type": "ms" + }, + { + "type": "data", + "name": "udp_probe", + "variables": [ + "probe_seq", + "probe_toggle", + "probe_window", + "probe_ratio", + "probe_mode" + ], + "id": 20740 + }, + { + "type": "data", + "name": "udp_probe_echo", + "variables": [ + "udp_parse_count", + "probe_seq", + "probe_toggle", + "probe_window", + "probe_ratio", + "probe_mode" + ], + "id": 20741, + "socket": "telemetry_udp", + "period": 50, + "period_type": "ms" + }, + { + "type": "data", + "name": "heartbeat_snapshot", + "variables": [ + "heartbeat_ticks", + "tcp_order_count", + "udp_parse_count", + "mirror_state" + ], + "id": 20742, + "socket": "telemetry_udp", + "period": 250, + "period_type": "ms" + } +] diff --git a/boards/TEST/sockets.json b/boards/TEST/sockets.json new file mode 100644 index 0000000..7e69cc1 --- /dev/null +++ b/boards/TEST/sockets.json @@ -0,0 +1,20 @@ +[ + { + "type": "ServerSocket", + "name": "control_test_tcp", + "port": 41000 + }, + { + "type": "Socket", + "name": "control_test_client", + "local_port": 41002, + "remote_ip": "192.168.200.9", + "remote_port": 41003 + }, + { + "type": "DatagramSocket", + "name": "telemetry_udp", + "port": 41001, + "remote_ip": "192.168.200.9" + } +] From 5b856377fb0fb3ca67bc4467598cec986116fe22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sat, 28 Feb 2026 12:42:22 +0100 Subject: [PATCH 02/45] fixed IPs --- boards/TEST/TEST.json | 2 +- boards/TEST/sockets.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/TEST/TEST.json b/boards/TEST/TEST.json index bbedbf6..09d8f3c 100644 --- a/boards/TEST/TEST.json +++ b/boards/TEST/TEST.json @@ -1,6 +1,6 @@ { "board_id": 1, - "board_ip": "192.168.200.7", + "board_ip": "192.168.1.7", "measurements": [ "TEST_measurements.json" ], diff --git a/boards/TEST/sockets.json b/boards/TEST/sockets.json index 7e69cc1..e563fe1 100644 --- a/boards/TEST/sockets.json +++ b/boards/TEST/sockets.json @@ -8,13 +8,13 @@ "type": "Socket", "name": "control_test_client", "local_port": 41002, - "remote_ip": "192.168.200.9", + "remote_ip": "192.168.1.9", "remote_port": 41003 }, { "type": "DatagramSocket", "name": "telemetry_udp", "port": 41001, - "remote_ip": "192.168.200.9" + "remote_ip": "192.168.1.9" } ] From ae9abd13ab223fae6bc4ee885a843f345f70718d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sat, 28 Feb 2026 13:28:29 +0100 Subject: [PATCH 03/45] fix(test-schema): restore signed integer measurements for ExamplePackets --- boards/TEST/TEST_measurements.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/boards/TEST/TEST_measurements.json b/boards/TEST/TEST_measurements.json index 296401d..07f4bb5 100644 --- a/boards/TEST/TEST_measurements.json +++ b/boards/TEST/TEST_measurements.json @@ -7,42 +7,42 @@ { "id": "small_counter", "name": "Small Counter", - "type": "uint8" + "type": "int8" }, { "id": "window_size", "name": "Window Size", - "type": "uint16" + "type": "int16" }, { "id": "magic_value", "name": "Magic Value", - "type": "uint32" + "type": "int32" }, { "id": "big_counter", "name": "Big Counter", - "type": "uint64" + "type": "int64" }, { "id": "trim_value", "name": "Trim Value", - "type": "int8" + "type": "uint8" }, { "id": "offset_value", "name": "Offset Value", - "type": "int16" + "type": "uint16" }, { "id": "position_value", "name": "Position Value", - "type": "int32" + "type": "uint32" }, { "id": "energy_value", "name": "Energy Value", - "type": "int64" + "type": "uint64" }, { "id": "ratio_value", From d0f7d80d726bc9e6d5f4e1d13f3a120d63fedec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sat, 28 Feb 2026 13:28:50 +0100 Subject: [PATCH 04/45] fix(test-schema): keep counter fields unsigned and mirror fields signed --- boards/TEST/TEST_measurements.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/boards/TEST/TEST_measurements.json b/boards/TEST/TEST_measurements.json index 07f4bb5..296401d 100644 --- a/boards/TEST/TEST_measurements.json +++ b/boards/TEST/TEST_measurements.json @@ -7,42 +7,42 @@ { "id": "small_counter", "name": "Small Counter", - "type": "int8" + "type": "uint8" }, { "id": "window_size", "name": "Window Size", - "type": "int16" + "type": "uint16" }, { "id": "magic_value", "name": "Magic Value", - "type": "int32" + "type": "uint32" }, { "id": "big_counter", "name": "Big Counter", - "type": "int64" + "type": "uint64" }, { "id": "trim_value", "name": "Trim Value", - "type": "uint8" + "type": "int8" }, { "id": "offset_value", "name": "Offset Value", - "type": "uint16" + "type": "int16" }, { "id": "position_value", "name": "Position Value", - "type": "uint32" + "type": "int32" }, { "id": "energy_value", "name": "Energy Value", - "type": "uint64" + "type": "int64" }, { "id": "ratio_value", From 8a7cf90c8a69ba977c9cd25049b51da8355a067e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Thu, 14 May 2026 19:41:00 +0200 Subject: [PATCH 05/45] Updated with latest coce --- boards.json | 3 +- boards/VCU/VCU_measurements.json | 231 +++++++------------------------ boards/VCU/orders.json | 113 ++------------- boards/VCU/packets.json | 63 ++++----- 4 files changed, 87 insertions(+), 323 deletions(-) diff --git a/boards.json b/boards.json index fbe6794..2056a9b 100644 --- a/boards.json +++ b/boards.json @@ -1,3 +1,4 @@ { - "TEST": "boards/TEST/TEST.json" + "TEST": "boards/TEST/TEST.json", + "VCU": "boards/VCU/VCU.json" } diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 54a6c05..9dcbf7a 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -7,12 +7,12 @@ "displayUnits": "%" }, { - "id": "pump", - "name": "Pump", + "id": "cooling_pump", + "name": "Cooling Pump", "type": "enum", "enumValues": [ - "UNIDADES", - "PLACAS" + "PUMP_1", + "PUMP_2" ] }, { @@ -21,8 +21,7 @@ "type": "enum", "enumValues": [ "CONNECTING", - "OPERATIONAL", - "FAULT" + "OPERATIONAL" ] }, { @@ -39,222 +38,94 @@ ] }, { - "id": "regulator_pressure", - "name": "Regulator Pressure", + "id": "pressure_command", + "name": "Pressure Command", "type": "float32", "podUnits": "bar", "displayUnits": "bar" }, { - "id": "regulator", - "name": "Regulator", - "type": "enum", - "enumValues": [ - "REGULATOR 1", - "REGULATOR 2" - ] - }, - { - "id": "reed1", - "name": "Reed 1", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed2", - "name": "Reed 2", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed3", - "name": "Reed 3", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed4", - "name": "Reed 4", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "all_reeds", - "name": "All Reeds", - "type": "bool", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "flow1", + "id": "flow_1", "name": "Flow 1", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" }, { - "id": "flow2", + "id": "flow_2", "name": "Flow 2", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] - }, - { - "id": "regulator_1_pressure", - "name": "Regulator 1", "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" + "podUnits": "Hz", + "displayUnits": "Hz" }, { - "id": "regulator_2_pressure", - "name": "Regulator 2", + "id": "ntc_temperature_1", + "name": "NTC Temperature 1", "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" + "podUnits": "degC", + "displayUnits": "degC" }, { - "id": "pressure_high", - "name": "Pressure High", + "id": "ntc_temperature_2", + "name": "NTC Temperature 2", "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" + "podUnits": "degC", + "displayUnits": "degC" }, { - "id": "pressure_regulator", - "name": "Pressure Regulator", + "id": "high_pressure", + "name": "High Pressure", "type": "float32", "podUnits": "bar", "displayUnits": "bar" }, { - "id": "pressure_brakes", - "name": "Pressure Brakes", + "id": "low_pressure", + "name": "Low Pressure", "type": "float32", "podUnits": "bar", "displayUnits": "bar" }, { - "id": "pressure_capsule", - "name": "Pressure Capsule", + "id": "pressure_regulator_feedback", + "name": "Pressure Regulator Feedback", "type": "float32", "podUnits": "bar", "displayUnits": "bar" }, { - "id": "tape_enable_output", - "name": "Tape Enable", - "type": "enum", - "enumValues": [ - "DISABLED", - "ENABLED" - ] - }, - { - "id": "emergency_tape", - "name": "Section Type", - "type": "enum", - "enumValues": [ - "EMERGENCY_SECTION", - "NORMAL_SECTION" - ] - }, - { - "id": "SDC", - "name": "SDC", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] - }, - { - "id": "levitation_distance", - "name": "Levitation Distance (mm)", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "run_id", - "name": "Run ID", - "type": "enum", - "enumValues": [ - "LIM" - ] - }, - { - "id": "motor_direction", - "name": "Motor Direction", - "type": "enum", - "enumValues": [ - "FORWARD", - "BACKWARDS" - ] - }, - { - "id": "max_voltage", - "name": "Max Voltage", + "id": "pressure_regulator_duty", + "name": "Pressure Regulator Duty", "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "reference_voltage", - "name": "Reference Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "commutation_frequency", - "name": "Commutation Frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" + "podUnits": "%", + "displayUnits": "%" }, { - "id": "modulation_frequency", - "name": "Modulation Frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" + "id": "sdc_closed", + "name": "SDC Closed", + "type": "bool", + "podUnits": "", + "displayUnits": "" }, { - "id": "reference_current", - "name": "Reference Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" + "id": "brake_fault", + "name": "Brake Fault", + "type": "bool", + "podUnits": "", + "displayUnits": "" }, { - "id": "reference_speed", - "name": "Reference Speed", - "type": "float32", - "podUnits": "km/h", - "displayUnits": "km/h" + "id": "sdmmc_card_detect", + "name": "SDMMC Card Detect", + "type": "bool", + "podUnits": "", + "displayUnits": "" }, { - "id": "state", - "name": "Recovery State", - "type": "uint8", + "id": "sdmmc_write_protect", + "name": "SDMMC Write Protect", + "type": "bool", "podUnits": "", "displayUnits": "" } -] \ No newline at end of file +] diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index d8945e8..9e6533d 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -1,129 +1,34 @@ [ { "type": "order", - "name": "Brake", - "id": 43 - }, - { - "type": "order", - "name": "Unbrake", - "id": 52 - }, - { - "type": "order", - "name": "Potencia Refri", + "name": "Set Cooling Pump", "variables": [ "duty", - "pump" + "cooling_pump" ], "id": 33 }, { "type": "order", - "name": "Set Regulator", + "name": "Set Pressure Regulator", "variables": [ - "regulator_pressure", - "regulator" + "pressure_command" ], "id": 34 }, { "type": "order", - "name": "Enable Tapes", - "id": 35 - }, - { - "type": "order", - "name": "Disbable Tapes", - "id": 36 - }, - { - "type": "order", - "name": "Close Contactors", - "id": 44 - }, - { - "type": "order", - "name": "Open Contactors", - "id": 53 - }, - { - "type": "order", - "name": "Levitation", - "variables" : [ - "levitation_distance" - ], - "id": 37 - }, - { - "type": "order", - "name": "Stop Levitation", - "id": 46 - }, - { - "type" : "order", - "name": "Emergency Stop", - "id": 55 - }, - { - "type": "order", - "name": "Propulsion", - "variables" : [ - "run_id" - ], - "id": 56 - }, - { - "type": "order", - "name": "SVPWM", - "variables" : [ - "modulation_frequency", - "commutation_frequency", - "max_voltage", - "reference_voltage", - "motor_direction" - ], - "id": 57 - }, - { - "type": "order", - "name": "Stop Motor", - "id": 58 - }, - { - "type": "order", - "name": "Current Control", - "variables" : [ - - "modulation_frequency", - "commutation_frequency", - "reference_current", - "max_voltage", - "motor_direction" - - - ], - "id": 59 - }, - { - "type": "order", - "name": "Speed Control", - "variables" : [ - "reference_speed", - "commutation_frequency", - "max_voltage", - "motor_direction" - ], - "id": 60 + "name": "Brake", + "id": 43 }, { "type": "order", - "name": "Motor Brake", - "id": 61 + "name": "Unbrake", + "id": 52 }, { "type": "order", "name": "Recovery", "id": 32 } -] \ No newline at end of file +] diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 13f9476..d4cc51d 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -13,51 +13,48 @@ }, { "type": "data", - "name": "Reeds", + "name": "Flow", "variables": [ - "reed1", - "reed2", - "reed3", - "reed4", - "all_reeds" + "flow_1", + "flow_2" ], - "id": 251, - "period_type": "us", + "id": 250, + "period_type": "ms", "period": 16.67, "socket": "control_station_udp" }, { "type": "data", - "name": "Flow", + "name": "Temperatures", "variables": [ - "flow1", - "flow2" + "ntc_temperature_1", + "ntc_temperature_2" ], - "id": 250, + "id": 251, "period_type": "ms", "period": 16.67, "socket": "control_station_udp" }, { "type": "data", - "name": "Regulator", + "name": "Pressures", "variables": [ - "regulator_1_pressure", - "regulator_2_pressure" + "high_pressure", + "low_pressure", + "pressure_regulator_feedback" ], "id": 252, - "period_type": "us", + "period_type": "ms", "period": 16.67, "socket": "control_station_udp" }, { "type": "data", - "name": "Pressure", + "name": "Pressure Regulator", "variables": [ - "pressure_high", - "pressure_regulator", - "pressure_brakes", - "pressure_capsule" + "pressure_command", + "pressure_regulator_duty", + "pressure_regulator_feedback" ], "id": 253, "period_type": "ms", @@ -66,10 +63,10 @@ }, { "type": "data", - "name": "tapes", + "name": "Safety Inputs", "variables": [ - "tape_enable_output", - "emergency_tape" + "sdc_closed", + "brake_fault" ], "id": 254, "period_type": "ms", @@ -78,24 +75,14 @@ }, { "type": "data", - "name": "sdc", + "name": "Storage", "variables": [ - "SDC" + "sdmmc_card_detect", + "sdmmc_write_protect" ], "id": 255, "period_type": "ms", "period": 16.67, "socket": "control_station_udp" - }, - { - "type": "data", - "name": "recovery_state", - "variables": [ - "state" - ], - "id": 65, - "period_type": "ms", - "period": 16.67, - "socket": "pcu_udp" } -] \ No newline at end of file +] From 2589624258025f4c43e2e7c76b135a86b2d31f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sat, 16 May 2026 19:19:05 +0200 Subject: [PATCH 06/45] fixed --- boards/VCU/VCU_measurements.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 9dcbf7a..4c2d18d 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -62,15 +62,15 @@ "id": "ntc_temperature_1", "name": "NTC Temperature 1", "type": "float32", - "podUnits": "degC", - "displayUnits": "degC" + "podUnits": "ºC", + "displayUnits": "ºC" }, { "id": "ntc_temperature_2", "name": "NTC Temperature 2", "type": "float32", - "podUnits": "degC", - "displayUnits": "degC" + "podUnits": "ºC", + "displayUnits": "ºC" }, { "id": "high_pressure", From b85e018b1e28788cf61cdb0513896133ad922de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Tue, 19 May 2026 19:00:21 +0200 Subject: [PATCH 07/45] Remove other boards --- boards.json | 1 - boards/BCU/BCU.json | 14 - boards/BCU/hvscu_order_measurements.json | 34 - boards/BCU/hvscu_orders.json | 50 - boards/BCU/measurements.json | 358 ---- boards/BCU/order_measurements.json | 150 -- boards/BCU/orders.json | 81 - boards/BCU/packets.json | 118 -- boards/BMSL/BMSL.json | 11 - boards/BMSL/BMSL_measurements.json | 200 -- boards/BMSL/orders.json | 30 - boards/BMSL/packets.json | 50 - boards/HVSCU-Cabinet/HVSCU-Cabinet.json | 12 - boards/HVSCU-Cabinet/measurements.json | 94 - boards/HVSCU-Cabinet/packets.json | 37 - boards/HVSCU-Cabinet/state_machine.json | 67 - boards/HVSCU-Cabinet/supercaps_data.json | 215 -- .../HVSCU-Cabinet/supercaps_measurements.json | 1831 ----------------- boards/HVSCU/HVSCU.json | 11 - boards/HVSCU/HVSCU_measurements.json | 1504 -------------- boards/HVSCU/orders.json | 38 - boards/HVSCU/packets.json | 424 ---- boards/LCU/LCU.json | 11 - boards/LCU/LCU_measurements.json | 806 -------- boards/LCU/orders.json | 121 -- boards/LCU/packets.json | 113 - boards/PCU/PCU.json | 11 - boards/PCU/PCU_measurements.json | 435 ---- boards/PCU/orders.json | 99 - boards/PCU/packets.json | 117 -- boards/TEST/TEST.json | 14 - boards/TEST/TEST_measurements.json | 158 -- boards/TEST/orders.json | 48 - boards/TEST/packets.json | 89 - boards/TEST/sockets.json | 20 - 35 files changed, 7372 deletions(-) delete mode 100644 boards/BCU/BCU.json delete mode 100644 boards/BCU/hvscu_order_measurements.json delete mode 100644 boards/BCU/hvscu_orders.json delete mode 100644 boards/BCU/measurements.json delete mode 100644 boards/BCU/order_measurements.json delete mode 100644 boards/BCU/orders.json delete mode 100644 boards/BCU/packets.json delete mode 100644 boards/BMSL/BMSL.json delete mode 100644 boards/BMSL/BMSL_measurements.json delete mode 100644 boards/BMSL/orders.json delete mode 100644 boards/BMSL/packets.json delete mode 100644 boards/HVSCU-Cabinet/HVSCU-Cabinet.json delete mode 100644 boards/HVSCU-Cabinet/measurements.json delete mode 100644 boards/HVSCU-Cabinet/packets.json delete mode 100644 boards/HVSCU-Cabinet/state_machine.json delete mode 100644 boards/HVSCU-Cabinet/supercaps_data.json delete mode 100644 boards/HVSCU-Cabinet/supercaps_measurements.json delete mode 100644 boards/HVSCU/HVSCU.json delete mode 100644 boards/HVSCU/HVSCU_measurements.json delete mode 100644 boards/HVSCU/orders.json delete mode 100644 boards/HVSCU/packets.json delete mode 100644 boards/LCU/LCU.json delete mode 100644 boards/LCU/LCU_measurements.json delete mode 100644 boards/LCU/orders.json delete mode 100644 boards/LCU/packets.json delete mode 100644 boards/PCU/PCU.json delete mode 100644 boards/PCU/PCU_measurements.json delete mode 100644 boards/PCU/orders.json delete mode 100644 boards/PCU/packets.json delete mode 100644 boards/TEST/TEST.json delete mode 100644 boards/TEST/TEST_measurements.json delete mode 100644 boards/TEST/orders.json delete mode 100644 boards/TEST/packets.json delete mode 100644 boards/TEST/sockets.json diff --git a/boards.json b/boards.json index 2056a9b..08974f8 100644 --- a/boards.json +++ b/boards.json @@ -1,4 +1,3 @@ { - "TEST": "boards/TEST/TEST.json", "VCU": "boards/VCU/VCU.json" } diff --git a/boards/BCU/BCU.json b/boards/BCU/BCU.json deleted file mode 100644 index 235a0b1..0000000 --- a/boards/BCU/BCU.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "board_id": 217, - "board_ip": "192.168.2.17", - "packets": [ - "orders.json", - "hvscu_orders.json", - "packets.json" - ], - "measurements": [ - "order_measurements.json", - "hvscu_order_measurements.json", - "measurements.json" - ] -} \ No newline at end of file diff --git a/boards/BCU/hvscu_order_measurements.json b/boards/BCU/hvscu_order_measurements.json deleted file mode 100644 index 42d227a..0000000 --- a/boards/BCU/hvscu_order_measurements.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "id": "HVSCU-Cabinet_target_charge_voltage", - "name": "Target Charge Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "above": { - "warning": 100.0 - } - }, - { - "id": "HVSCU-Cabinet_imd_bypass", - "name": "Bypass IMD?", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Enable", - "Disable" - ] - }, - { - "id": "HVSCU-Cabinet_sdc_enable", - "name": "Enable SDC?", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Enable", - "Disable" - ] - } -] \ No newline at end of file diff --git a/boards/BCU/hvscu_orders.json b/boards/BCU/hvscu_orders.json deleted file mode 100644 index 9e7b179..0000000 --- a/boards/BCU/hvscu_orders.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "id": 1694, - "type": "order", - "name": "SDC Enable", - "variables": [ - "HVSCU-Cabinet_sdc_enable" - ] - }, - { - "id": 1695, - "type": "order", - "name": "IMD Bypass", - "variables": [ - "HVSCU-Cabinet_imd_bypass" - ] - }, - { - "id": 1696, - "type": "order", - "name": "Reset Supercaps", - "variables": [] - }, - { - "id": 1697, - "type": "order", - "name": "Charge Supercaps", - "variables": [ - "HVSCU-Cabinet_target_charge_voltage" - ] - }, - { - "id": 1698, - "type": "order", - "name": "Open Contactors", - "variables": [] - }, - { - "id": 1693, - "type": "order", - "name": "Hold Supercaps Charge", - "variables": [] - }, - { - "id": 1699, - "type": "order", - "name": "Close Contactors", - "variables": [] - } -] \ No newline at end of file diff --git a/boards/BCU/measurements.json b/boards/BCU/measurements.json deleted file mode 100644 index b2371bc..0000000 --- a/boards/BCU/measurements.json +++ /dev/null @@ -1,358 +0,0 @@ -[ - { - "id": "bcu_general_state", - "name": "General State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Connecting", - "Operational", - "Fault" - ] - }, - { - "id": "bcu_operational_state", - "name": "Operational State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Idle", - "Charging", - "Charged", - "Precharge", - "Engaged" - ] - }, - { - "id": "bcu_nested_state", - "name": "Nested State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Idle", - "Testing", - "Ready", - "Boosting", - "Precharging" - ] - }, - { - "id": "control_state", - "name": "Control State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Idle", - "Test PWM", - "Space Vector", - "Current Control", - "Speed Control" - ] - }, - { - "id": "space_vector_time", - "name": "Space Vector Time", - "type": "float32", - "podUnits": "s", - "displayUnits": "s" - }, - { - "id": "output_modulation_index", - "name": "Output Modulation Index", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "output_modulation_frequency_hz", - "name": "Output Modulation Frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "dc_link_average_voltage", - "name": "DC Link Average Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "bcu_bus_voltage", - "name": "Bus Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "dc_link_a_voltage", - "name": "DC Link A Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "dc_link_b_voltage", - "name": "DC Link B Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "average_current_u", - "name": "Average Current U", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "average_current_v", - "name": "Average Current V", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "average_current_w", - "name": "Average Current W", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_u_motor_a", - "name": "Current U Motor A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_v_motor_a", - "name": "Current V Motor A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_w_motor_a", - "name": "Current W Motor A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_u_motor_b", - "name": "Current U Motor B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_v_motor_b", - "name": "Current V Motor B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_w_motor_b", - "name": "Current W Motor B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "position_speetec_1", - "name": "Position Speetec 1", - "type": "float64", - "podUnits": "m", - "displayUnits": "m", - "below": { - "safe": 3.0, - "warning": 4.0 - } - }, - { - "id": "speed_speetec_1", - "name": "Speed Speetec 1", - "type": "float64", - "podUnits": "m/s", - "displayUnits": "m/s", - "below": { - "safe": 10.0 - } - }, - { - "id": "acceleration_speetec_1", - "name": "Acceleration Speetec 1", - "type": "float64", - "podUnits": "m/ss", - "displayUnits": "m/ss", - "below": { - "safe": 30.0 - } - }, - { - "id": "direction_speetec_1", - "name": "Direction Speetec 1", - "type": "bool" - }, - { - "id": "d_current_reference", - "name": "D Current Reference", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "measured_d_current", - "name": "Measured D Current", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "d_current_error", - "name": "D Current Error", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "q_current_reference", - "name": "Q Current Reference", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "measured_q_current", - "name": "Measured Q Current", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "q_current_error", - "name": "Q Current Error", - "type": "float64", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "pi_id_output", - "name": "PI ID Output", - "type": "float64", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "pi_iq_output", - "name": "PI IQ Output", - "type": "float64", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "target_u_voltage", - "name": "Target U Voltage", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "target_v_voltage", - "name": "Target V Voltage", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "target_w_voltage", - "name": "Target W Voltage", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "electrical_angle", - "name": "Electrical Angle", - "type": "float64", - "podUnits": "rad", - "displayUnits": "rad" - } -] \ No newline at end of file diff --git a/boards/BCU/order_measurements.json b/boards/BCU/order_measurements.json deleted file mode 100644 index 4816640..0000000 --- a/boards/BCU/order_measurements.json +++ /dev/null @@ -1,150 +0,0 @@ -[ - { - "id": "duty_cycle_u", - "name": "Duty Cycle U (%)", - "type": "float32", - "podUnits": "%", - "displayUnits": "%", - "out_of_range": { - "warning": [ - 0.0, - 100.0 - ] - } - }, - { - "id": "duty_cycle_v", - "name": "Duty Cycle V (%)", - "type": "float32", - "podUnits": "%", - "displayUnits": "%", - "out_of_range": { - "warning": [ - 0.0, - 100.0 - ] - } - }, - { - "id": "duty_cycle_w", - "name": "Duty Cycle W (%)", - "type": "float32", - "podUnits": "%", - "displayUnits": "%", - "out_of_range": { - "warning": [ - 0.0, - 100.0 - ] - } - }, - { - "id": "commutation_frequency_hz", - "name": "Commutation Frequency (Hz)", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz", - "below": { - "warning": 30000 - } - }, - { - "id": "dead_time_ns", - "name": "Dead Time (ns)", - "type": "uint32", - "podUnits": "ns", - "displayUnits": "ns", - "above": { - "warning": 100 - } - }, - { - "id": "modulation_index", - "name": "Modulation Index", - "type": "float32", - "podUnits": "", - "displayUnits": "", - "out_of_range": { - "warning": [ - 0.0, - 1.1547 - ] - } - }, - { - "id": "modulation_frequency_hz", - "name": "Modulation Frequency (Hz)", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz", - "above": { - "warning": 0.0 - } - }, - { - "id": "requested_dc_link_voltage", - "name": "Requested DC Link Voltage (V)", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "warning": 446.4 - } - }, - { - "id": "requested_linear_speed", - "name": "Target Linear Speed (m/s)", - "type": "float32", - "podUnits": "m/s", - "displayUnits": "m/s", - "above": { - "warning": 0.0 - } - }, - { - "id": "requested_d_current_reference_2", - "name": "D Current Reference(A)", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - 0.0, - 80.0 - ] - } - }, - { - "id": "requested_q_current_reference_2", - "name": "Q Current Reference (A)", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - 0.0, - 80.0 - ] - } - }, - { - "id": "requested_speetec_emulation_mode", - "name": "Emulation Mode", - "type": "enum", - "enumValues": [ - "position", - "speed", - "acceleration" - ] - }, - { - "id": "requested_speetec_emulation_value", - "name": "Value (m | m/s | m/ss)", - "type": "float32", - "podUnits": "", - "displayUnits": "", - "above": { - "warning": 0.0 - } - } -] \ No newline at end of file diff --git a/boards/BCU/orders.json b/boards/BCU/orders.json deleted file mode 100644 index dea7945..0000000 --- a/boards/BCU/orders.json +++ /dev/null @@ -1,81 +0,0 @@ -[ - { - "id": 1799, - "type": "order", - "name": "Stop Control", - "variables": [] - }, - { - "id": 1798, - "type": "order", - "name": "Start Test PWM", - "variables": [ - "duty_cycle_u", - "duty_cycle_v", - "duty_cycle_w" - ] - }, - { - "id": 1797, - "type": "order", - "name": "Configure Commutation Parameters", - "variables": [ - "commutation_frequency_hz", - "dead_time_ns" - ] - }, - { - "id": 1796, - "type": "order", - "name": "Start Space Vector", - "variables": [ - "modulation_index", - "modulation_frequency_hz" - ] - }, - { - "id": 1795, - "type": "order", - "name": "Fix DC Link Voltage", - "variables": [ - "requested_dc_link_voltage" - ] - }, - { - "id": 1794, - "type": "order", - "name": "Unfix DC Link Voltage", - "variables": [] - }, - { - "id": 1792, - "type": "order", - "name": "Start Current Control", - "variables": [ - "requested_d_current_reference_2", - "requested_q_current_reference_2" - ] - }, - { - "id": 1791, - "type": "order", - "name": "Start Speed Control", - "variables": [ - "requested_linear_speed" - ] - }, - { - "id": 1788, - "type": "order", - "name": "DC Poles Ready (BCU)" - }, - { - "id": 1787, - "type": "order", - "name": "Start Speetec emulation", - "variables": [ - "requested_speetec_emulation_mode", - "requested_speetec_emulation_value" - ] - } -] \ No newline at end of file diff --git a/boards/BCU/packets.json b/boards/BCU/packets.json deleted file mode 100644 index cc47be4..0000000 --- a/boards/BCU/packets.json +++ /dev/null @@ -1,118 +0,0 @@ -[ - { - "id": 1700, - "type": "data", - "name": "Motor Driver", - "variables": [ - "duty_cycle_u", - "duty_cycle_v", - "duty_cycle_w", - "commutation_frequency_hz", - "dead_time_ns" - ] - }, - { - "id": 1701, - "type": "data", - "name": "State", - "variables": [ - "bcu_general_state", - "bcu_operational_state", - "bcu_nested_state", - "control_state" - ] - }, - { - "id": 1702, - "type": "data", - "name": "Space Vector", - "variables": [ - "space_vector_time", - "output_modulation_index", - "output_modulation_frequency_hz" - ] - }, - { - "id": 1703, - "type": "data", - "name": "DC Link", - "variables": [ - "dc_link_average_voltage", - "dc_link_a_voltage", - "dc_link_b_voltage" - ] - }, - { - "id": 1704, - "type": "data", - "name": "Motor Currents", - "variables": [ - "average_current_u", - "average_current_v", - "average_current_w", - "current_u_motor_a", - "current_v_motor_a", - "current_w_motor_a", - "current_u_motor_b", - "current_v_motor_b", - "current_w_motor_b" - ] - }, - { - "id": 1705, - "type": "data", - "name": "SPEETEC 1", - "variables": [ - "position_speetec_1", - "direction_speetec_1", - "speed_speetec_1", - "acceleration_speetec_1" - ] - }, - { - "id": 1706, - "type": "data", - "name": "Current Control", - "variables": [ - "d_current_reference", - "measured_d_current", - "d_current_error", - "q_current_reference", - "measured_q_current", - "q_current_error", - "target_u_voltage", - "target_v_voltage", - "target_w_voltage", - "electrical_angle", - "pi_id_output", - "pi_iq_output" - ] - }, - { - "id": 1707, - "type": "data", - "name": "Speed Control", - "variables": [ - "requested_linear_speed", - "speed_speetec_1" - ] - }, - { - "id": 1790, - "type": "data", - "name": "Enable DC Poles (BCU)" - }, - { - "id": 1789, - "type": "data", - "name": "Disable DC Poles (BCU)" - }, - { - "id": 1692, - "type": "data", - "name": "BCU Bus Voltage", - "variables": [ - "bcu_bus_voltage" - ] - } -] \ No newline at end of file diff --git a/boards/BMSL/BMSL.json b/boards/BMSL/BMSL.json deleted file mode 100644 index c20082f..0000000 --- a/boards/BMSL/BMSL.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "board_id": 2, - "board_ip": "192.168.1.254", - "measurements": [ - "BMSL_measurements.json" - ], - "packets": [ - "packets.json", - "orders.json" - ] -} \ No newline at end of file diff --git a/boards/BMSL/BMSL_measurements.json b/boards/BMSL/BMSL_measurements.json deleted file mode 100644 index 4b59099..0000000 --- a/boards/BMSL/BMSL_measurements.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "id": "cell_1", - "name": "Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_2", - "name": "Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_3", - "name": "Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_4", - "name": "Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_5", - "name": "Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_6", - "name": "Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "voltage_min", - "name": "Min Cell", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "voltage_max", - "name": "Max Cell", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "total_voltage", - "name": "Total Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "SOC", - "name": "SOC", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "temperature_1", - "name": "Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temperature_2", - "name": "Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temperature_3", - "name": "Temperature 3", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temperature_4", - "name": "Temperature 4", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temp_min", - "name": "Min. Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temp_max", - "name": "Max. Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "current", - "name": "Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "state", - "name": "State", - "type": "enum", - "enumValues": [ - "CONNECTING", - "OPERATIONAL", - "FAULT" - ] - }, - { - "id": "pfm_state", - "name": "PFM State", - "type": "enum", - "enumValues": [ - "INACTIVE", - "ACTIVE" - ] - }, - { - "id": "buffer_state", - "name": "BUFFER State", - "type": "enum", - "enumValues": [ - "HIGH", - "LOW" - ] - }, - { - "id": "reset_state", - "name": "RESET State", - "type": "enum", - "enumValues": [ - "LOW", - "HIGH" - ] - }, - { - "id": "frequency", - "name": "Frequency", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "dead_time", - "name": "Dead time", - "type": "uint32", - "podUnits": "ns", - "displayUnits": "ns" - }, - { - "id": "output_current", - "name": "Output Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "input_current", - "name": "Input Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "output_voltage", - "name": "Output Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "input_voltage", - "name": "Input Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - } -] \ No newline at end of file diff --git a/boards/BMSL/orders.json b/boards/BMSL/orders.json deleted file mode 100644 index f8cf846..0000000 --- a/boards/BMSL/orders.json +++ /dev/null @@ -1,30 +0,0 @@ -[ - { - "type": "order", - "name": "Turn on PFM", - "variables": [], - "id": 502 - }, - { - "type": "order", - "name": "Turn off PFM", - "variables": [], - "id": 503 - }, - { - "type": "order", - "name": "Set PFM Frequency", - "variables": [ - "frequency" - ], - "id": 504 - }, - { - "type": "order", - "name": "Set PFM Dead Time", - "variables": [ - "dead_time" - ], - "id": 505 - } -] \ No newline at end of file diff --git a/boards/BMSL/packets.json b/boards/BMSL/packets.json deleted file mode 100644 index 1b3aa85..0000000 --- a/boards/BMSL/packets.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "type": "data", - "name": "Battery Data", - "variables": [ - "cell_1", - "cell_2", - "cell_3", - "cell_4", - "cell_5", - "cell_6", - "voltage_min", - "voltage_max", - "total_voltage", - "SOC", - "temperature_1", - "temperature_2", - "temperature_3", - "temperature_4", - "temp_min", - "temp_max", - "current" - ], - "id": 777 - }, - { - "type": "data", - "name": "Current State", - "variables": [ - "state" - ], - "id": 778 - }, - { - "type": "data", - "name": "DCLV Data", - "variables": [ - "pfm_state", - "buffer_state", - "reset_state", - "frequency", - "dead_time", - "output_current", - "input_current", - "output_voltage", - "input_voltage" - ], - "id": 779 - } -] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/HVSCU-Cabinet.json b/boards/HVSCU-Cabinet/HVSCU-Cabinet.json deleted file mode 100644 index 7ec4ab5..0000000 --- a/boards/HVSCU-Cabinet/HVSCU-Cabinet.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "board_id": 216, - "board_ip": "192.168.2.16", - "packets": [ - "supercaps_data.json", - "packets.json" - ], - "measurements": [ - "supercaps_measurements.json", - "measurements.json" - ] -} \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/measurements.json b/boards/HVSCU-Cabinet/measurements.json deleted file mode 100644 index be590b9..0000000 --- a/boards/HVSCU-Cabinet/measurements.json +++ /dev/null @@ -1,94 +0,0 @@ -[ - { - "id": "HVSCU-Cabinet_sdc_good", - "name": "SDC Good", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "False", - "True" - ] - }, - { - "id": "HVSCU-Cabinet_bus_voltage", - "name": "Bus Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "HVSCU-Cabinet_contactors_state", - "name": "Contactors State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Open", - "Charging", - "Charged", - "Precharge", - "Close" - ] - }, - { - "id": "HVSCU-Cabinet_output_current", - "name": "Output Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "safe": [ - -10.0, - 70.0 - ], - "warning": [ - -20.0, - 100.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_imd_state", - "name": "IMD State", - "type": "enum", - "enumValues": [ - "SHORT CIRCUIT", - "OK", - "UNDERVOLTAGE", - "FAST START", - "EQUIPMENT FAULT", - "GROUNDING FAULT", - "UNKNOWN" - ] - }, - { - "id": "HVSCU-Cabinet_isolation_resistance", - "name": "IMD Isolation Resistance", - "type": "float32", - "below": { - "warning": 100000, - "safe": 200000 - } - }, - { - "id": "HVSCU-Cabinet_ok", - "name": "IMD OK", - "type": "bool" - }, - { - "id": "HVSCU-Cabinet_soc", - "name": "Supercaps SoC", - "type": "float32", - "out_of_range": { - "warning": [ - 0.0, - 100.0 - ] - } - } -] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/packets.json b/boards/HVSCU-Cabinet/packets.json deleted file mode 100644 index 140b7f2..0000000 --- a/boards/HVSCU-Cabinet/packets.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "id": 1607, - "type": "data", - "name": "SDC State", - "variables": [ - "HVSCU-Cabinet_sdc_good" - ] - }, - { - "id": 1608, - "type": "data", - "name": "Contactors State", - "variables": [ - "HVSCU-Cabinet_bus_voltage", - "HVSCU-Cabinet_contactors_state" - ] - }, - { - "id": 1609, - "type": "data", - "name": "Current Sense", - "variables": [ - "HVSCU-Cabinet_output_current" - ] - }, - { - "id": 1610, - "type": "data", - "name": "Cabinet IMD", - "variables": [ - "HVSCU-Cabinet_imd_state", - "HVSCU-Cabinet_isolation_resistance", - "HVSCU-Cabinet_ok" - ] - } -] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/state_machine.json b/boards/HVSCU-Cabinet/state_machine.json deleted file mode 100644 index 08b9eb7..0000000 --- a/boards/HVSCU-Cabinet/state_machine.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "states": [ - "calibration", - "connecting", - { - "name": "operational", - "sub-states": [ - "idle", - "precharge", - "charged", - "ready", - "boosting" - ] - }, - "discharge", - "fault" - ], - "transitions": [ - { - "from": "calibration", - "to": "connecting", - "description": "All sensors zeroing complete" - }, - { - "from": "connecting", - "to": "operational", - "description": "Connection with the VCU/control station established" - }, - - { - "from": "operational.idle", - "to": "operational.precharge", - "description": "Start precharging the DC link" - }, - { - "from": "operational.precharge", - "to": "operational.charged", - "description": "Precharge successfull" - }, - { - "from": "operational.charged", - "to": "operational.ready", - "description": "Run confirmed and parameters set" - }, - { - "from": "operational.ready", - "to": "operational.booster", - "description": "Vehicle passing through booster section" - }, - { - "from": "operational.boosting", - "to": "operational.idle", - "description": "Vehicle exited booster section" - }, - - { - "from": "operational", - "to": "discharge", - "description": "Manual discharge" - }, - { - "from": "discharge", - "to": "operational", - "description": "Manual discharge reset" - } - ] -} \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/supercaps_data.json b/boards/HVSCU-Cabinet/supercaps_data.json deleted file mode 100644 index 9ee7b58..0000000 --- a/boards/HVSCU-Cabinet/supercaps_data.json +++ /dev/null @@ -1,215 +0,0 @@ -[ - { - "id": 1600, - "type": "data", - "name": "Supercaps Voltage Overview", - "variables": [ - "HVSCU-Cabinet_total_supercaps_voltage", - "HVSCU-Cabinet_soc" - ] - }, - { - "id": 1601, - "type": "data", - "name": "Module 1 Overview", - "variables": [ - "HVSCU-Cabinet_module_1_voltage", - "HVSCU-Cabinet_module_1_max_cell", - "HVSCU-Cabinet_module_1_min_cell", - "HVSCU-Cabinet_module_1_average_cell", - "HVSCU-Cabinet_module_1_max_temp", - "HVSCU-Cabinet_module_1_min_temp" - ] - }, - { - "id": 1602, - "type": "data", - "name": "Module 2 Overview", - "variables": [ - "HVSCU-Cabinet_module_2_voltage", - "HVSCU-Cabinet_module_2_max_cell", - "HVSCU-Cabinet_module_2_min_cell", - "HVSCU-Cabinet_module_2_average_cell", - "HVSCU-Cabinet_module_2_max_temp", - "HVSCU-Cabinet_module_2_min_temp" - ] - }, - { - "id": 1603, - "type": "data", - "name": "Module 3 Overview", - "variables": [ - "HVSCU-Cabinet_module_3_voltage", - "HVSCU-Cabinet_module_3_max_cell", - "HVSCU-Cabinet_module_3_min_cell", - "HVSCU-Cabinet_module_3_average_cell", - "HVSCU-Cabinet_module_3_max_temp", - "HVSCU-Cabinet_module_3_min_temp" - ] - }, - { - "id": 1604, - "type": "data", - "name": "Moduel 1 Cell Votlages", - "variables": [ - "HVSCU-Cabinet_module_1_cell_1_voltage", - "HVSCU-Cabinet_module_1_cell_2_voltage", - "HVSCU-Cabinet_module_1_cell_3_voltage", - "HVSCU-Cabinet_module_1_cell_4_voltage", - "HVSCU-Cabinet_module_1_cell_5_voltage", - "HVSCU-Cabinet_module_1_cell_6_voltage", - "HVSCU-Cabinet_module_1_cell_7_voltage", - "HVSCU-Cabinet_module_1_cell_8_voltage", - "HVSCU-Cabinet_module_1_cell_9_voltage", - "HVSCU-Cabinet_module_1_cell_10_voltage", - "HVSCU-Cabinet_module_1_cell_11_voltage", - "HVSCU-Cabinet_module_1_cell_12_voltage", - "HVSCU-Cabinet_module_1_cell_13_voltage", - "HVSCU-Cabinet_module_1_cell_14_voltage", - "HVSCU-Cabinet_module_1_cell_15_voltage", - "HVSCU-Cabinet_module_1_cell_16_voltage", - "HVSCU-Cabinet_module_1_cell_17_voltage", - "HVSCU-Cabinet_module_1_cell_18_voltage", - "HVSCU-Cabinet_module_1_cell_19_voltage", - "HVSCU-Cabinet_module_1_cell_20_voltage", - "HVSCU-Cabinet_module_1_cell_21_voltage", - "HVSCU-Cabinet_module_1_cell_22_voltage", - "HVSCU-Cabinet_module_1_cell_23_voltage", - "HVSCU-Cabinet_module_1_cell_24_voltage", - "HVSCU-Cabinet_module_1_cell_25_voltage", - "HVSCU-Cabinet_module_1_cell_26_voltage", - "HVSCU-Cabinet_module_1_cell_27_voltage", - "HVSCU-Cabinet_module_1_cell_28_voltage", - "HVSCU-Cabinet_module_1_cell_29_voltage", - "HVSCU-Cabinet_module_1_cell_30_voltage", - "HVSCU-Cabinet_module_1_cell_31_voltage", - "HVSCU-Cabinet_module_1_cell_32_voltage", - "HVSCU-Cabinet_module_1_cell_33_voltage", - "HVSCU-Cabinet_module_1_cell_34_voltage", - "HVSCU-Cabinet_module_1_cell_35_voltage", - "HVSCU-Cabinet_module_1_cell_36_voltage", - "HVSCU-Cabinet_module_1_cell_37_voltage", - "HVSCU-Cabinet_module_1_cell_38_voltage", - "HVSCU-Cabinet_module_1_cell_39_voltage", - "HVSCU-Cabinet_module_1_cell_40_voltage", - "HVSCU-Cabinet_module_1_cell_41_voltage", - "HVSCU-Cabinet_module_1_cell_42_voltage", - "HVSCU-Cabinet_module_1_cell_43_voltage", - "HVSCU-Cabinet_module_1_cell_44_voltage", - "HVSCU-Cabinet_module_1_cell_45_voltage", - "HVSCU-Cabinet_module_1_cell_46_voltage", - "HVSCU-Cabinet_module_1_cell_47_voltage", - "HVSCU-Cabinet_module_1_cell_48_voltage" - ] - }, - { - "id": 1605, - "type": "data", - "name": "Module 2 Cell Voltages", - "variables": [ - "HVSCU-Cabinet_module_2_cell_1_voltage", - "HVSCU-Cabinet_module_2_cell_2_voltage", - "HVSCU-Cabinet_module_2_cell_3_voltage", - "HVSCU-Cabinet_module_2_cell_4_voltage", - "HVSCU-Cabinet_module_2_cell_5_voltage", - "HVSCU-Cabinet_module_2_cell_6_voltage", - "HVSCU-Cabinet_module_2_cell_7_voltage", - "HVSCU-Cabinet_module_2_cell_8_voltage", - "HVSCU-Cabinet_module_2_cell_9_voltage", - "HVSCU-Cabinet_module_2_cell_10_voltage", - "HVSCU-Cabinet_module_2_cell_11_voltage", - "HVSCU-Cabinet_module_2_cell_12_voltage", - "HVSCU-Cabinet_module_2_cell_13_voltage", - "HVSCU-Cabinet_module_2_cell_14_voltage", - "HVSCU-Cabinet_module_2_cell_15_voltage", - "HVSCU-Cabinet_module_2_cell_16_voltage", - "HVSCU-Cabinet_module_2_cell_17_voltage", - "HVSCU-Cabinet_module_2_cell_18_voltage", - "HVSCU-Cabinet_module_2_cell_19_voltage", - "HVSCU-Cabinet_module_2_cell_20_voltage", - "HVSCU-Cabinet_module_2_cell_21_voltage", - "HVSCU-Cabinet_module_2_cell_22_voltage", - "HVSCU-Cabinet_module_2_cell_23_voltage", - "HVSCU-Cabinet_module_2_cell_24_voltage", - "HVSCU-Cabinet_module_2_cell_25_voltage", - "HVSCU-Cabinet_module_2_cell_26_voltage", - "HVSCU-Cabinet_module_2_cell_27_voltage", - "HVSCU-Cabinet_module_2_cell_28_voltage", - "HVSCU-Cabinet_module_2_cell_29_voltage", - "HVSCU-Cabinet_module_2_cell_30_voltage", - "HVSCU-Cabinet_module_2_cell_31_voltage", - "HVSCU-Cabinet_module_2_cell_32_voltage", - "HVSCU-Cabinet_module_2_cell_33_voltage", - "HVSCU-Cabinet_module_2_cell_34_voltage", - "HVSCU-Cabinet_module_2_cell_35_voltage", - "HVSCU-Cabinet_module_2_cell_36_voltage", - "HVSCU-Cabinet_module_2_cell_37_voltage", - "HVSCU-Cabinet_module_2_cell_38_voltage", - "HVSCU-Cabinet_module_2_cell_39_voltage", - "HVSCU-Cabinet_module_2_cell_40_voltage", - "HVSCU-Cabinet_module_2_cell_41_voltage", - "HVSCU-Cabinet_module_2_cell_42_voltage", - "HVSCU-Cabinet_module_2_cell_43_voltage", - "HVSCU-Cabinet_module_2_cell_44_voltage", - "HVSCU-Cabinet_module_2_cell_45_voltage", - "HVSCU-Cabinet_module_2_cell_46_voltage", - "HVSCU-Cabinet_module_2_cell_47_voltage", - "HVSCU-Cabinet_module_2_cell_48_voltage" - ] - }, - { - "id": 1606, - "type": "data", - "name": "Module 3 Cell Voltages", - "variables": [ - "HVSCU-Cabinet_module_3_cell_1_voltage", - "HVSCU-Cabinet_module_3_cell_2_voltage", - "HVSCU-Cabinet_module_3_cell_3_voltage", - "HVSCU-Cabinet_module_3_cell_4_voltage", - "HVSCU-Cabinet_module_3_cell_5_voltage", - "HVSCU-Cabinet_module_3_cell_6_voltage", - "HVSCU-Cabinet_module_3_cell_7_voltage", - "HVSCU-Cabinet_module_3_cell_8_voltage", - "HVSCU-Cabinet_module_3_cell_9_voltage", - "HVSCU-Cabinet_module_3_cell_10_voltage", - "HVSCU-Cabinet_module_3_cell_11_voltage", - "HVSCU-Cabinet_module_3_cell_12_voltage", - "HVSCU-Cabinet_module_3_cell_13_voltage", - "HVSCU-Cabinet_module_3_cell_14_voltage", - "HVSCU-Cabinet_module_3_cell_15_voltage", - "HVSCU-Cabinet_module_3_cell_16_voltage", - "HVSCU-Cabinet_module_3_cell_17_voltage", - "HVSCU-Cabinet_module_3_cell_18_voltage", - "HVSCU-Cabinet_module_3_cell_19_voltage", - "HVSCU-Cabinet_module_3_cell_20_voltage", - "HVSCU-Cabinet_module_3_cell_21_voltage", - "HVSCU-Cabinet_module_3_cell_22_voltage", - "HVSCU-Cabinet_module_3_cell_23_voltage", - "HVSCU-Cabinet_module_3_cell_24_voltage", - "HVSCU-Cabinet_module_3_cell_25_voltage", - "HVSCU-Cabinet_module_3_cell_26_voltage", - "HVSCU-Cabinet_module_3_cell_27_voltage", - "HVSCU-Cabinet_module_3_cell_28_voltage", - "HVSCU-Cabinet_module_3_cell_29_voltage", - "HVSCU-Cabinet_module_3_cell_30_voltage", - "HVSCU-Cabinet_module_3_cell_31_voltage", - "HVSCU-Cabinet_module_3_cell_32_voltage", - "HVSCU-Cabinet_module_3_cell_33_voltage", - "HVSCU-Cabinet_module_3_cell_34_voltage", - "HVSCU-Cabinet_module_3_cell_35_voltage", - "HVSCU-Cabinet_module_3_cell_36_voltage", - "HVSCU-Cabinet_module_3_cell_37_voltage", - "HVSCU-Cabinet_module_3_cell_38_voltage", - "HVSCU-Cabinet_module_3_cell_39_voltage", - "HVSCU-Cabinet_module_3_cell_40_voltage", - "HVSCU-Cabinet_module_3_cell_41_voltage", - "HVSCU-Cabinet_module_3_cell_42_voltage", - "HVSCU-Cabinet_module_3_cell_43_voltage", - "HVSCU-Cabinet_module_3_cell_44_voltage", - "HVSCU-Cabinet_module_3_cell_45_voltage", - "HVSCU-Cabinet_module_3_cell_46_voltage", - "HVSCU-Cabinet_module_3_cell_47_voltage", - "HVSCU-Cabinet_module_3_cell_48_voltage" - ] - } -] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/supercaps_measurements.json b/boards/HVSCU-Cabinet/supercaps_measurements.json deleted file mode 100644 index 165c839..0000000 --- a/boards/HVSCU-Cabinet/supercaps_measurements.json +++ /dev/null @@ -1,1831 +0,0 @@ -[ - { - "id": "HVSCU-Cabinet_total_supercaps_voltage", - "name": "Total Supercaps Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "HVSCU-Cabinet_module_1_voltage", - "name": "Module 1 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 133.33, - "warning": 148.8 - } - }, - { - "id": "HVSCU-Cabinet_module_1_max_cell", - "name": "Module 1 Max Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_min_cell", - "name": "Module 1 Min Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_average_cell", - "name": "Module 1 Average Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_max_temp", - "name": "Module 1 Max Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_1_min_temp", - "name": "Module 1 Min Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_2_voltage", - "name": "Module 2 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 133.33, - "warning": 148.8 - } - }, - { - "id": "HVSCU-Cabinet_module_2_max_cell", - "name": "Module 2 Max Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_min_cell", - "name": "Module 2 Min Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_average_cell", - "name": "Module 2 Average Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_max_temp", - "name": "Module 2 Max Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_2_min_temp", - "name": "Module 2 Min Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_3_voltage", - "name": "Module 3 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 133.33, - "warning": 148.8 - } - }, - { - "id": "HVSCU-Cabinet_module_3_max_cell", - "name": "Module 3 Max Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_min_cell", - "name": "Module 3 Min Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_average_cell", - "name": "Module 3 Average Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_max_temp", - "name": "Module 3 Max Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_3_min_temp", - "name": "Module 3 Min Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_1_voltage", - "name": "Module 1 Cell 1 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_2_voltage", - "name": "Module 1 Cell 2 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_3_voltage", - "name": "Module 1 Cell 3 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_4_voltage", - "name": "Module 1 Cell 4 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_5_voltage", - "name": "Module 1 Cell 5 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_6_voltage", - "name": "Module 1 Cell 6 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_7_voltage", - "name": "Module 1 Cell 7 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_8_voltage", - "name": "Module 1 Cell 8 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_9_voltage", - "name": "Module 1 Cell 9 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_10_voltage", - "name": "Module 1 Cell 10 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_11_voltage", - "name": "Module 1 Cell 11 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_12_voltage", - "name": "Module 1 Cell 12 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_13_voltage", - "name": "Module 1 Cell 13 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_14_voltage", - "name": "Module 1 Cell 14 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_15_voltage", - "name": "Module 1 Cell 15 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_16_voltage", - "name": "Module 1 Cell 16 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_17_voltage", - "name": "Module 1 Cell 17 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_18_voltage", - "name": "Module 1 Cell 18 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_19_voltage", - "name": "Module 1 Cell 19 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_20_voltage", - "name": "Module 1 Cell 20 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_21_voltage", - "name": "Module 1 Cell 21 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_22_voltage", - "name": "Module 1 Cell 22 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_23_voltage", - "name": "Module 1 Cell 23 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_24_voltage", - "name": "Module 1 Cell 24 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_25_voltage", - "name": "Module 1 Cell 25 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_26_voltage", - "name": "Module 1 Cell 26 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_27_voltage", - "name": "Module 1 Cell 27 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_28_voltage", - "name": "Module 1 Cell 28 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_29_voltage", - "name": "Module 1 Cell 29 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_30_voltage", - "name": "Module 1 Cell 30 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_31_voltage", - "name": "Module 1 Cell 31 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_32_voltage", - "name": "Module 1 Cell 32 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_33_voltage", - "name": "Module 1 Cell 33 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_34_voltage", - "name": "Module 1 Cell 34 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_35_voltage", - "name": "Module 1 Cell 35 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_36_voltage", - "name": "Module 1 Cell 36 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_37_voltage", - "name": "Module 1 Cell 37 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_38_voltage", - "name": "Module 1 Cell 38 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_39_voltage", - "name": "Module 1 Cell 39 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_40_voltage", - "name": "Module 1 Cell 40 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_41_voltage", - "name": "Module 1 Cell 41 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_42_voltage", - "name": "Module 1 Cell 42 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_43_voltage", - "name": "Module 1 Cell 43 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_44_voltage", - "name": "Module 1 Cell 44 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_45_voltage", - "name": "Module 1 Cell 45 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_46_voltage", - "name": "Module 1 Cell 46 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_47_voltage", - "name": "Module 1 Cell 47 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_48_voltage", - "name": "Module 1 Cell 48 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_1_voltage", - "name": "Module 2 Cell 1 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_2_voltage", - "name": "Module 2 Cell 2 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_3_voltage", - "name": "Module 2 Cell 3 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_4_voltage", - "name": "Module 2 Cell 4 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_5_voltage", - "name": "Module 2 Cell 5 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_6_voltage", - "name": "Module 2 Cell 6 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_7_voltage", - "name": "Module 2 Cell 7 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_8_voltage", - "name": "Module 2 Cell 8 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_9_voltage", - "name": "Module 2 Cell 9 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_10_voltage", - "name": "Module 2 Cell 10 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_11_voltage", - "name": "Module 2 Cell 11 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_12_voltage", - "name": "Module 2 Cell 12 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_13_voltage", - "name": "Module 2 Cell 13 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_14_voltage", - "name": "Module 2 Cell 14 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_15_voltage", - "name": "Module 2 Cell 15 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_16_voltage", - "name": "Module 2 Cell 16 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_17_voltage", - "name": "Module 2 Cell 17 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_18_voltage", - "name": "Module 2 Cell 18 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_19_voltage", - "name": "Module 2 Cell 19 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_20_voltage", - "name": "Module 2 Cell 20 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_21_voltage", - "name": "Module 2 Cell 21 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_22_voltage", - "name": "Module 2 Cell 22 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_23_voltage", - "name": "Module 2 Cell 23 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_24_voltage", - "name": "Module 2 Cell 24 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_25_voltage", - "name": "Module 2 Cell 25 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_26_voltage", - "name": "Module 2 Cell 26 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_27_voltage", - "name": "Module 2 Cell 27 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_28_voltage", - "name": "Module 2 Cell 28 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_29_voltage", - "name": "Module 2 Cell 29 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_30_voltage", - "name": "Module 2 Cell 30 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_31_voltage", - "name": "Module 2 Cell 31 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_32_voltage", - "name": "Module 2 Cell 32 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_33_voltage", - "name": "Module 2 Cell 33 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_34_voltage", - "name": "Module 2 Cell 34 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_35_voltage", - "name": "Module 2 Cell 35 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_36_voltage", - "name": "Module 2 Cell 36 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_37_voltage", - "name": "Module 2 Cell 37 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_38_voltage", - "name": "Module 2 Cell 38 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_39_voltage", - "name": "Module 2 Cell 39 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_40_voltage", - "name": "Module 2 Cell 40 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_41_voltage", - "name": "Module 2 Cell 41 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_42_voltage", - "name": "Module 2 Cell 42 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_43_voltage", - "name": "Module 2 Cell 43 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_44_voltage", - "name": "Module 2 Cell 44 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_45_voltage", - "name": "Module 2 Cell 45 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_46_voltage", - "name": "Module 2 Cell 46 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_47_voltage", - "name": "Module 2 Cell 47 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_48_voltage", - "name": "Module 2 Cell 48 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_1_voltage", - "name": "Module 3 Cell 1 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_2_voltage", - "name": "Module 3 Cell 2 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_3_voltage", - "name": "Module 3 Cell 3 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_4_voltage", - "name": "Module 3 Cell 4 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_5_voltage", - "name": "Module 3 Cell 5 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_6_voltage", - "name": "Module 3 Cell 6 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_7_voltage", - "name": "Module 3 Cell 7 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_8_voltage", - "name": "Module 3 Cell 8 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_9_voltage", - "name": "Module 3 Cell 9 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_10_voltage", - "name": "Module 3 Cell 10 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_11_voltage", - "name": "Module 3 Cell 11 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_12_voltage", - "name": "Module 3 Cell 12 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_13_voltage", - "name": "Module 3 Cell 13 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_14_voltage", - "name": "Module 3 Cell 14 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_15_voltage", - "name": "Module 3 Cell 15 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_16_voltage", - "name": "Module 3 Cell 16 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_17_voltage", - "name": "Module 3 Cell 17 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_18_voltage", - "name": "Module 3 Cell 18 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_19_voltage", - "name": "Module 3 Cell 19 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_20_voltage", - "name": "Module 3 Cell 20 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_21_voltage", - "name": "Module 3 Cell 21 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_22_voltage", - "name": "Module 3 Cell 22 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_23_voltage", - "name": "Module 3 Cell 23 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_24_voltage", - "name": "Module 3 Cell 24 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_25_voltage", - "name": "Module 3 Cell 25 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_26_voltage", - "name": "Module 3 Cell 26 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_27_voltage", - "name": "Module 3 Cell 27 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_28_voltage", - "name": "Module 3 Cell 28 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_29_voltage", - "name": "Module 3 Cell 29 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_30_voltage", - "name": "Module 3 Cell 30 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_31_voltage", - "name": "Module 3 Cell 31 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_32_voltage", - "name": "Module 3 Cell 32 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_33_voltage", - "name": "Module 3 Cell 33 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_34_voltage", - "name": "Module 3 Cell 34 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_35_voltage", - "name": "Module 3 Cell 35 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_36_voltage", - "name": "Module 3 Cell 36 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_37_voltage", - "name": "Module 3 Cell 37 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_38_voltage", - "name": "Module 3 Cell 38 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_39_voltage", - "name": "Module 3 Cell 39 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_40_voltage", - "name": "Module 3 Cell 40 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_41_voltage", - "name": "Module 3 Cell 41 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_42_voltage", - "name": "Module 3 Cell 42 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_43_voltage", - "name": "Module 3 Cell 43 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_44_voltage", - "name": "Module 3 Cell 44 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_45_voltage", - "name": "Module 3 Cell 45 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_46_voltage", - "name": "Module 3 Cell 46 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_47_voltage", - "name": "Module 3 Cell 47 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_48_voltage", - "name": "Module 3 Cell 48 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - } -] \ No newline at end of file diff --git a/boards/HVSCU/HVSCU.json b/boards/HVSCU/HVSCU.json deleted file mode 100644 index 344dd94..0000000 --- a/boards/HVSCU/HVSCU.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "board_id": 1, - "board_ip": "192.168.1.7", - "measurements": [ - "HVSCU_measurements.json" - ], - "packets": [ - "packets.json", - "orders.json" - ] -} \ No newline at end of file diff --git a/boards/HVSCU/HVSCU_measurements.json b/boards/HVSCU/HVSCU_measurements.json deleted file mode 100644 index a3c02c6..0000000 --- a/boards/HVSCU/HVSCU_measurements.json +++ /dev/null @@ -1,1504 +0,0 @@ -[ - { - "id": "battery1_SOC", - "name": "Battery 1 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery1_cell1", - "name": "Battery 1 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell2", - "name": "Battery 1 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell3", - "name": "Battery 1 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell4", - "name": "Battery 1 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell5", - "name": "Battery 1 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell6", - "name": "Battery 1 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_temperature1", - "name": "Battery 1 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery1_temperature2", - "name": "Battery 1 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery1_total_voltage", - "name": "Battery 1 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_conv_rate", - "name": "Battery 1 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery2_SOC", - "name": "Battery 2 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery2_cell1", - "name": "Battery 2 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell2", - "name": "Battery 2 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell3", - "name": "Battery 2 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell4", - "name": "Battery 2 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell5", - "name": "Battery 2 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell6", - "name": "Battery 2 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_temperature1", - "name": "Battery 2 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery2_temperature2", - "name": "Battery 2 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery2_total_voltage", - "name": "Battery 2 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_conv_rate", - "name": "Battery 2 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery3_SOC", - "name": "Battery 3 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery3_cell1", - "name": "Battery 3 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell2", - "name": "Battery 3 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell3", - "name": "Battery 3 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell4", - "name": "Battery 3 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell5", - "name": "Battery 3 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell6", - "name": "Battery 3 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_temperature1", - "name": "Battery 3 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery3_temperature2", - "name": "Battery 3 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery3_total_voltage", - "name": "Battery 3 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_conv_rate", - "name": "Battery 3 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery4_SOC", - "name": "Battery 4 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery4_cell1", - "name": "Battery 4 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell2", - "name": "Battery 4 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell3", - "name": "Battery 4 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell4", - "name": "Battery 4 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell5", - "name": "Battery 4 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell6", - "name": "Battery 4 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_temperature1", - "name": "Battery 4 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery4_temperature2", - "name": "Battery 4 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery4_total_voltage", - "name": "Battery 4 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_conv_rate", - "name": "Battery 4 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery5_SOC", - "name": "Battery 5 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery5_cell1", - "name": "Battery 5 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell2", - "name": "Battery 5 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell3", - "name": "Battery 5 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell4", - "name": "Battery 5 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell5", - "name": "Battery 5 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell6", - "name": "Battery 5 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_temperature1", - "name": "Battery 5 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery5_temperature2", - "name": "Battery 5 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery5_total_voltage", - "name": "Battery 5 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_conv_rate", - "name": "Battery 5 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery6_SOC", - "name": "Battery 6 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery6_cell1", - "name": "Battery 6 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell2", - "name": "Battery 6 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell3", - "name": "Battery 6 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell4", - "name": "Battery 6 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell5", - "name": "Battery 6 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell6", - "name": "Battery 6 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_temperature1", - "name": "Battery 6 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery6_temperature2", - "name": "Battery 6 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery6_total_voltage", - "name": "Battery 6 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_conv_rate", - "name": "Battery 6 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery7_SOC", - "name": "Battery 7 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery7_cell1", - "name": "Battery 7 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell2", - "name": "Battery 7 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell3", - "name": "Battery 7 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell4", - "name": "Battery 7 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell5", - "name": "Battery 7 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell6", - "name": "Battery 7 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_temperature1", - "name": "Battery 7 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery7_temperature2", - "name": "Battery 7 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery7_total_voltage", - "name": "Battery 7 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_conv_rate", - "name": "Battery 7 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery8_SOC", - "name": "Battery 8 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery8_cell1", - "name": "Battery 8 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell2", - "name": "Battery 8 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell3", - "name": "Battery 8 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell4", - "name": "Battery 8 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell5", - "name": "Battery 8 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell6", - "name": "Battery 8 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_temperature1", - "name": "Battery 8 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery8_temperature2", - "name": "Battery 8 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery8_total_voltage", - "name": "Battery 8 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_conv_rate", - "name": "Battery 8 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery9_SOC", - "name": "Battery 9 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery9_cell1", - "name": "Battery 9 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell2", - "name": "Battery 9 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell3", - "name": "Battery 9 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell4", - "name": "Battery 9 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell5", - "name": "Battery 9 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell6", - "name": "Battery 9 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_temperature1", - "name": "Battery 9 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery9_temperature2", - "name": "Battery 9 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery9_total_voltage", - "name": "Battery 9 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_conv_rate", - "name": "Battery 9 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery10_SOC", - "name": "Battery 10 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery10_cell1", - "name": "Battery 10 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell2", - "name": "Battery 10 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell3", - "name": "Battery 10 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell4", - "name": "Battery 10 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell5", - "name": "Battery 10 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell6", - "name": "Battery 10 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_temperature1", - "name": "Battery 10 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery10_temperature2", - "name": "Battery 10 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery10_total_voltage", - "name": "Battery 10 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_conv_rate", - "name": "Battery 10 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery11_SOC", - "name": "Battery 11 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery11_cell1", - "name": "Battery 11 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell2", - "name": "Battery 11 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell3", - "name": "Battery 11 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell4", - "name": "Battery 11 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell5", - "name": "Battery 11 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell6", - "name": "Battery 11 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_temperature1", - "name": "Battery 11 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery11_temperature2", - "name": "Battery 11 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery11_total_voltage", - "name": "Battery 11 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_conv_rate", - "name": "Battery 11 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery12_SOC", - "name": "Battery 12 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery12_cell1", - "name": "Battery 12 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell2", - "name": "Battery 12 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell3", - "name": "Battery 12 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell4", - "name": "Battery 12 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell5", - "name": "Battery 12 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell6", - "name": "Battery 12 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_temperature1", - "name": "Battery 12 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery12_temperature2", - "name": "Battery 12 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery12_total_voltage", - "name": "Battery 12 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_conv_rate", - "name": "Battery 12 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery13_SOC", - "name": "Battery 13 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery13_cell1", - "name": "Battery 13 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell2", - "name": "Battery 13 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell3", - "name": "Battery 13 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell4", - "name": "Battery 13 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell5", - "name": "Battery 13 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell6", - "name": "Battery 13 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_temperature1", - "name": "Battery 13 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery13_temperature2", - "name": "Battery 13 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery13_total_voltage", - "name": "Battery 13 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_conv_rate", - "name": "Battery 13 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery14_SOC", - "name": "Battery 14 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery14_cell1", - "name": "Battery 14 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell2", - "name": "Battery 14 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell3", - "name": "Battery 14 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell4", - "name": "Battery 14 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell5", - "name": "Battery 14 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell6", - "name": "Battery 14 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_temperature1", - "name": "Battery 14 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery14_temperature2", - "name": "Battery 14 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery14_total_voltage", - "name": "Battery 14 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_conv_rate", - "name": "Battery 14 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery15_SOC", - "name": "Battery 15 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery15_cell1", - "name": "Battery 15 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell2", - "name": "Battery 15 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell3", - "name": "Battery 15 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell4", - "name": "Battery 15 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell5", - "name": "Battery 15 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell6", - "name": "Battery 15 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_temperature1", - "name": "Battery 15 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery15_temperature2", - "name": "Battery 15 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery15_total_voltage", - "name": "Battery 15 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_conv_rate", - "name": "Battery 15 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery16_SOC", - "name": "Battery 16 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery16_cell1", - "name": "Battery 16 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell2", - "name": "Battery 16 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell3", - "name": "Battery 16 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell4", - "name": "Battery 16 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell5", - "name": "Battery 16 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell6", - "name": "Battery 16 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_temperature1", - "name": "Battery 16 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery16_temperature2", - "name": "Battery 16 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery16_total_voltage", - "name": "Battery 16 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_conv_rate", - "name": "Battery 16 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery17_SOC", - "name": "Battery 17 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery17_cell1", - "name": "Battery 17 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell2", - "name": "Battery 17 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell3", - "name": "Battery 17 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell4", - "name": "Battery 17 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell5", - "name": "Battery 17 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell6", - "name": "Battery 17 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_temperature1", - "name": "Battery 17 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery17_temperature2", - "name": "Battery 17 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery17_total_voltage", - "name": "Battery 17 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_conv_rate", - "name": "Battery 17 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery18_SOC", - "name": "Battery 18 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery18_cell1", - "name": "Battery 18 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell2", - "name": "Battery 18 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell3", - "name": "Battery 18 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell4", - "name": "Battery 18 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell5", - "name": "Battery 18 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell6", - "name": "Battery 18 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_temperature1", - "name": "Battery 18 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery18_temperature2", - "name": "Battery 18 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery18_total_voltage", - "name": "Battery 18 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_conv_rate", - "name": "Battery 18 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "batteries_voltage_reading", - "name": "Batteries voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "voltage_reading", - "name": "Voltage sensor", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "safeRange": [ - 0.0, - 430.0 - ] - }, - { - "id": "current_reading", - "name": "Current sensor", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -15.0, - 85.0 - ] - }, - { - "id": "general_state_machine_status", - "name": "General State Machine status", - "type": "enum", - "enumValues": [ - "CONNECTING", - "OPERATIONAL", - "FAULT" - ] - }, - { - "id": "operational_state_machine_status", - "name": "Operational State Machine status", - "type": "enum", - "enumValues": [ - "HV OPEN", - "PRECHARGE", - "HV CLOSED", - "CHARGING" - ] - }, - { - "id": "driver_reading_period", - "name": "BMS reading period", - "type": "int32" - }, - { - "id": "imd_status", - "name": "IMD Status", - "type": "enum", - "enumValues": [ - "SHORTCIRCUIT", - "NORMAL", - "UNDERVOLTAGE", - "FAST_EVAL", - "EQUIPMENT_FAULT", - "GROUNDING_FAULT" - ] - }, - { - "id": "imd_resistance", - "name": "IMD Resistance", - "type": "float32", - "podUnits": "Ohm", - "displayUnits": "MOhm", - "warningRange": [ - 0.0, - 0.1 - ] - }, - { - "id": "imd_is_ok", - "name": "IMD OK", - "type": "bool" - }, - { - "id": "sdc_status", - "name": "SDC Status", - "type": "enum", - "enumValues": [ - "ENGAGED", - "DISENGAGED" - ] - }, - { - "id": "minimum_soc", - "name": "Minimum SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "bms_status", - "name": "BMS Status", - "type": "enum", - "enumValues": [ - "OK", - "FAULT" - ] - }, - { - "id": "voltage_min", - "name": "Minimum cell voltage", - "type": "float32", - "displayUnits": "V" - }, - { - "id": "voltage_max", - "name": "Maximum cell voltage", - "type": "float32", - "displayUnits": "V" - }, - { - "id": "temp_min", - "name": "Minimum temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temp_max", - "name": "Maximum temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - } -] \ No newline at end of file diff --git a/boards/HVSCU/orders.json b/boards/HVSCU/orders.json deleted file mode 100644 index f0918d4..0000000 --- a/boards/HVSCU/orders.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "type": "order", - "name": "FAULT", - "variables": [], - "id": 0 - }, - { - "type": "order", - "name": "close_contactors", - "variables": [], - "id": 900 - }, - { - "type": "order", - "name": "open_contactors", - "variables": [], - "id": 901 - }, - { - "type": "order", - "name": "sdc_obccu", - "variables": [], - "id": 902 - }, - { - "type": "order", - "name": "imd_bypass", - "variables": [], - "id": 903 - }, - { - "type": "order", - "name": "zeroing", - "variables": [], - "id": 904 - } -] \ No newline at end of file diff --git a/boards/HVSCU/packets.json b/boards/HVSCU/packets.json deleted file mode 100644 index 2ac6151..0000000 --- a/boards/HVSCU/packets.json +++ /dev/null @@ -1,424 +0,0 @@ -[ - { - "id": 0, - "type": "data", - "name": "FAULT" - }, - { - "id": 910, - "type": "data", - "name": "battery_1", - "variables": [ - "battery1_SOC", - "battery1_cell1", - "battery1_cell2", - "battery1_cell3", - "battery1_cell4", - "battery1_cell5", - "battery1_cell6", - "battery1_temperature1", - "battery1_temperature2", - "battery1_total_voltage", - "battery1_conv_rate" - ] - }, - { - "id": 911, - "type": "data", - "name": "battery_2", - "variables": [ - "battery2_SOC", - "battery2_cell1", - "battery2_cell2", - "battery2_cell3", - "battery2_cell4", - "battery2_cell5", - "battery2_cell6", - "battery2_temperature1", - "battery2_temperature2", - "battery2_total_voltage", - "battery2_conv_rate" - ] - }, - { - "id": 912, - "type": "data", - "name": "battery_3", - "variables": [ - "battery3_SOC", - "battery3_cell1", - "battery3_cell2", - "battery3_cell3", - "battery3_cell4", - "battery3_cell5", - "battery3_cell6", - "battery3_temperature1", - "battery3_temperature2", - "battery3_total_voltage", - "battery3_conv_rate" - ] - }, - { - "id": 913, - "type": "data", - "name": "battery_4", - "variables": [ - "battery4_SOC", - "battery4_cell1", - "battery4_cell2", - "battery4_cell3", - "battery4_cell4", - "battery4_cell5", - "battery4_cell6", - "battery4_temperature1", - "battery4_temperature2", - "battery4_total_voltage", - "battery4_conv_rate" - ] - }, - { - "id": 914, - "type": "data", - "name": "battery_5", - "variables": [ - "battery5_SOC", - "battery5_cell1", - "battery5_cell2", - "battery5_cell3", - "battery5_cell4", - "battery5_cell5", - "battery5_cell6", - "battery5_temperature1", - "battery5_temperature2", - "battery5_total_voltage", - "battery5_conv_rate" - ] - }, - { - "id": 915, - "type": "data", - "name": "battery_6", - "variables": [ - "battery6_SOC", - "battery6_cell1", - "battery6_cell2", - "battery6_cell3", - "battery6_cell4", - "battery6_cell5", - "battery6_cell6", - "battery6_temperature1", - "battery6_temperature2", - "battery6_total_voltage", - "battery6_conv_rate" - ] - }, - { - "id": 916, - "type": "data", - "name": "battery_7", - "variables": [ - "battery7_SOC", - "battery7_cell1", - "battery7_cell2", - "battery7_cell3", - "battery7_cell4", - "battery7_cell5", - "battery7_cell6", - "battery7_temperature1", - "battery7_temperature2", - "battery7_total_voltage", - "battery7_conv_rate" - ] - }, - { - "id": 917, - "type": "data", - "name": "battery_8", - "variables": [ - "battery8_SOC", - "battery8_cell1", - "battery8_cell2", - "battery8_cell3", - "battery8_cell4", - "battery8_cell5", - "battery8_cell6", - "battery8_temperature1", - "battery8_temperature2", - "battery8_total_voltage", - "battery8_conv_rate" - ] - }, - { - "id": 918, - "type": "data", - "name": "battery_9", - "variables": [ - "battery9_SOC", - "battery9_cell1", - "battery9_cell2", - "battery9_cell3", - "battery9_cell4", - "battery9_cell5", - "battery9_cell6", - "battery9_temperature1", - "battery9_temperature2", - "battery9_total_voltage", - "battery9_conv_rate" - ] - }, - { - "id": 919, - "type": "data", - "name": "battery_10", - "variables": [ - "battery10_SOC", - "battery10_cell1", - "battery10_cell2", - "battery10_cell3", - "battery10_cell4", - "battery10_cell5", - "battery10_cell6", - "battery10_temperature1", - "battery10_temperature2", - "battery10_total_voltage", - "battery10_conv_rate" - ] - }, - { - "id": 920, - "type": "data", - "name": "battery_11", - "variables": [ - "battery11_SOC", - "battery11_cell1", - "battery11_cell2", - "battery11_cell3", - "battery11_cell4", - "battery11_cell5", - "battery11_cell6", - "battery11_temperature1", - "battery11_temperature2", - "battery11_total_voltage", - "battery11_conv_rate" - ] - }, - { - "id": 921, - "type": "data", - "name": "battery_12", - "variables": [ - "battery12_SOC", - "battery12_cell1", - "battery12_cell2", - "battery12_cell3", - "battery12_cell4", - "battery12_cell5", - "battery12_cell6", - "battery12_temperature1", - "battery12_temperature2", - "battery12_total_voltage", - "battery12_conv_rate" - ] - }, - { - "id": 922, - "type": "data", - "name": "battery_13", - "variables": [ - "battery13_SOC", - "battery13_cell1", - "battery13_cell2", - "battery13_cell3", - "battery13_cell4", - "battery13_cell5", - "battery13_cell6", - "battery13_temperature1", - "battery13_temperature2", - "battery13_total_voltage", - "battery13_conv_rate" - ] - }, - { - "id": 923, - "type": "data", - "name": "battery_14", - "variables": [ - "battery14_SOC", - "battery14_cell1", - "battery14_cell2", - "battery14_cell3", - "battery14_cell4", - "battery14_cell5", - "battery14_cell6", - "battery14_temperature1", - "battery14_temperature2", - "battery14_total_voltage", - "battery14_conv_rate" - ] - }, - { - "id": 924, - "type": "data", - "name": "battery_15", - "variables": [ - "battery15_SOC", - "battery15_cell1", - "battery15_cell2", - "battery15_cell3", - "battery15_cell4", - "battery15_cell5", - "battery15_cell6", - "battery15_temperature1", - "battery15_temperature2", - "battery15_total_voltage", - "battery15_conv_rate" - ] - }, - { - "id": 925, - "type": "data", - "name": "battery_16", - "variables": [ - "battery16_SOC", - "battery16_cell1", - "battery16_cell2", - "battery16_cell3", - "battery16_cell4", - "battery16_cell5", - "battery16_cell6", - "battery16_temperature1", - "battery16_temperature2", - "battery16_total_voltage", - "battery16_conv_rate" - ] - }, - { - "id": 926, - "type": "data", - "name": "battery_17", - "variables": [ - "battery17_SOC", - "battery17_cell1", - "battery17_cell2", - "battery17_cell3", - "battery17_cell4", - "battery17_cell5", - "battery17_cell6", - "battery17_temperature1", - "battery17_temperature2", - "battery17_total_voltage", - "battery17_conv_rate" - ] - }, - { - "id": 927, - "type": "data", - "name": "battery_18", - "variables": [ - "battery18_SOC", - "battery18_cell1", - "battery18_cell2", - "battery18_cell3", - "battery18_cell4", - "battery18_cell5", - "battery18_cell6", - "battery18_temperature1", - "battery18_temperature2", - "battery18_total_voltage", - "battery18_conv_rate" - ] - }, - { - "id": 928, - "type": "data", - "name": "batteries_voltage", - "variables": [ - "batteries_voltage_reading" - ] - }, - { - "id": 930, - "type": "data", - "name": "voltage_sensor", - "variables": [ - "voltage_reading" - ] - }, - { - "id": 931, - "name": "current_sensor", - "type": "data", - "variables": [ - "current_reading" - ] - }, - { - "id": 940, - "name": "general_state_machine", - "type": "data", - "variables": [ - "general_state_machine_status" - ] - }, - { - "id": 941, - "name": "operational_state_machine", - "type": "data", - "variables": [ - "operational_state_machine_status" - ] - }, - { - "id": 942, - "name": "driver_diagnosis", - "type": "data", - "variables": [ - "driver_reading_period" - ] - }, - { - "id": 943, - "name": "imd", - "type": "data", - "variables": [ - "imd_status", - "imd_resistance", - "imd_is_ok" - ] - }, - { - "id": 944, - "name": "sdc", - "type": "data", - "variables": [ - "sdc_status" - ] - }, - { - "id": 945, - "name": "minimum_soc", - "type": "data", - "variables": [ - "minimum_soc" - ] - }, - { - "id": 946, - "name": "bms", - "type": "data", - "variables": [ - "bms_status" - ] - }, - { - "id": 947, - "name": "batteries_data", - "type": "data", - "variables": [ - "voltage_min", - "voltage_max", - "temp_min", - "temp_max" - ] - } -] \ No newline at end of file diff --git a/boards/LCU/LCU.json b/boards/LCU/LCU.json deleted file mode 100644 index c7332f8..0000000 --- a/boards/LCU/LCU.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "board_id": 4, - "board_ip": "192.168.1.4", - "measurements": [ - "LCU_measurements.json" - ], - "packets": [ - "packets.json", - "orders.json" - ] -} \ No newline at end of file diff --git a/boards/LCU/LCU_measurements.json b/boards/LCU/LCU_measurements.json deleted file mode 100644 index db587f4..0000000 --- a/boards/LCU/LCU_measurements.json +++ /dev/null @@ -1,806 +0,0 @@ -[ - { - "id": "ldu_id", - "name": "LDU Id", - "type": "uint8" - }, - { - "id": "pwm_duty_cycle", - "name": "Duty Cycle", - "type": "float32", - "podUnits": "%", - "displayUnits": "%", - "safeRange": [ - 0.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "lcu_desired_current", - "name": "Desired current to set", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -40.0, - 40.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "ldu_buffer_id", - "name": "LDU Buffer ID", - "type": "uint8" - }, - { - "id": "lcu_coil_current_1", - "name": "Current on LDU 1 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_2", - "name": "Current on LDU 2 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_3", - "name": "Current on LDU 3 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_4", - "name": "Current on LDU 4 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_5", - "name": "Current on LDU 5 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_6", - "name": "Current on LDU 6 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_7", - "name": "Current on LDU 7 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_8", - "name": "Current on LDU 8 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_9", - "name": "Current on LDU 9 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_10", - "name": "Current on LDU 10 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "fixed_vbat", - "name": "fixed_vbat_0", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "safeRange": [ - 250.0, - 450.0 - ], - "warningRange": [ - 300.0, - 450.0 - ] - }, - { - "id": "lcu_vbat_1", - "name": "LPU 1 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_2", - "name": "LPU 2 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_3", - "name": "LPU 3 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_4", - "name": "LPU 4 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_5", - "name": "LPU 5 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_6", - "name": "LPU 6 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_7", - "name": "LPU 7 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_8", - "name": "LPU 8 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_9", - "name": "LPU 9 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_10", - "name": "LPU 10 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_airgap_1", - "name": "Airgap 1", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_2", - "name": "Airgap 2", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_3", - "name": "Airgap 3", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_4", - "name": "Airgap 4", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_5", - "name": "Airgap 5", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_6", - "name": "Airgap 6", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_7", - "name": "Airgap 7", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_8", - "name": "Airgap 8", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_control_y", - "name": "Dist_Control_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_control_z", - "name": "Dist_Control_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_control_x", - "name": "Rot_Control_x", - "type": "float32", - "podUnits": "deg", - "displayUnits": "deg" - }, - { - "id": "rot_control_y", - "name": "Rot_Control_y", - "type": "float32", - "podUnits": "deg", - "displayUnits": "deg" - }, - { - "id": "rot_control_z", - "name": "Rot_Control_z", - "type": "float32", - "podUnits": "deg", - "displayUnits": "deg" - }, - { - "id": "lcu_desired_distance", - "name": "desired distance (mm)", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "current_control_frequency", - "name": "current control frequency", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "general_state", - "name": "master state", - "type": "enum", - "enumValues": [ - "DEFINING", - "CONNECTING", - "OPERATIONAL", - "FAULT" - ] - }, - { - "id": "vertical_state", - "name": "vertical state", - "type": "enum", - "enumValues": [ - "IDLE", - "CONTROL_CURRENT", - "CONTROL_1DOF", - "CONTROL_3DOF", - "STICK_DOWN" - ] - }, - { - "id": "horizontal_state", - "name": "horizontal state", - "type": "enum", - "enumValues": [ - "NORMAL", - "BOOSTER" - ] - }, - { - "id": "lcu_coil_current_ref_1", - "name": "Ref on LDU 1", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_2", - "name": "Ref on LDU 2", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_3", - "name": "Ref on LDU 3", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_4", - "name": "Ref on LDU 4", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_5", - "name": "Ref on LDU 5", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_6", - "name": "Ref on LDU 6", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_7", - "name": "Ref on LDU 7", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_8", - "name": "Ref on LDU 8", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_9", - "name": "Ref on LDU 9", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_10", - "name": "Ref on LDU 10", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_1", - "name": "exit on LDU 1", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_2", - "name": "exit on LDU 2", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_3", - "name": "exit on LDU 3", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_4", - "name": "exit on LDU 4", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_5", - "name": "exit on LDU 5", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_6", - "name": "exit on LDU 6", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_7", - "name": "exit on LDU 7", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_8", - "name": "exit on LDU 8", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_9", - "name": "exit on LDU 9", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_10", - "name": "exit on LDU 10", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_1", - "name": "Ref Dis 1", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_2", - "name": "Ref Dis 2", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_3", - "name": "Ref Dis 3", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_4", - "name": "Ref Dis 4", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_5", - "name": "Ref Dis 5", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_6", - "name": "Ref Dis 6", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_7", - "name": "Ref Dis 7", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_8", - "name": "Ref Dis 8", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_1", - "name": "exit Dis 1", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_2", - "name": "exit Dis 2", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_3", - "name": "exit Dis 3", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_4", - "name": "exit Dis 4", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_5", - "name": "exit Dis 5", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_6", - "name": "exit Dis 6", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_7", - "name": "exit Dis 7", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_8", - "name": "exit Dis 8", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "multi_current_1", - "name": "multi_current_1", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "multi_current_2", - "name": "multi_current_2", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "multi_current_3", - "name": "multi_current_3", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "multi_current_4", - "name": "multi_current_4", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "dist_error_z", - "name": "Dist_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_integral_error_z", - "name": "Dist_integral_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_derivate_error_z", - "name": "Dist_derivate_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_error_y", - "name": "Dist_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_integral_error_y", - "name": "Dist_integral_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_derivate_error_y", - "name": "Dist_derivate_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_error_z", - "name": "Rot_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_integral_error_z", - "name": "Rot_integral_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_derivate_error_z", - "name": "Rot_derivate_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_error_y", - "name": "Rot_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_integral_error_y", - "name": "Rot_integral_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_derivate_error_y", - "name": "Rot_derivate_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_error_x", - "name": "Rot_error_x", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_integral_error_x", - "name": "Rot_integral_error_x", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_derivate_error_x", - "name": "Rot_derivate_error_x", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "distance", - "name": "Distance (mm)", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - } -] \ No newline at end of file diff --git a/boards/LCU/orders.json b/boards/LCU/orders.json deleted file mode 100644 index 75e8e6c..0000000 --- a/boards/LCU/orders.json +++ /dev/null @@ -1,121 +0,0 @@ -[ - { - "type": "order", - "name": "set_LDU_pwm_params", - "variables": [ - "ldu_id", - "pwm_duty_cycle", - "current_control_frequency" - ], - "id": 9999 - }, - { - "type": "order", - "name": "send_LDU_dis", - "variables": [ - "ldu_buffer_id" - ], - "id": 9996 - }, - { - "type": "order", - "name": "set_current_desired", - "variables": [ - "ldu_id", - "lcu_desired_current" - ], - "id": 9995 - }, - { - "type": "order", - "name": "start_control", - "variables": [ - "ldu_id", - "lcu_desired_distance" - ], - "id": 9994 - }, - { - "type": "order", - "name": "stop_control", - "variables": [], - "id": 9993 - }, - { - "type": "order", - "name": "stop_pwm", - "variables": [ - "ldu_id" - ], - "id": 9991 - }, - { - "type": "order", - "name": "start_pwm", - "variables": [ - "ldu_id" - ], - "id": 9992 - }, - { - "type": "order", - "name": "set_fixed_vbat", - "variables": [ - "fixed_vbat" - ], - "id": 9990 - }, - { - "type": "order", - "name": "start_3dof", - "variables": [ - "lcu_desired_distance" - ], - "id": 9989 - }, - { - "type": "order", - "name": "start_booster", - "variables": [], - "id": 1751 - }, - { - "type": "order", - "name": "exit_booster", - "variables": [], - "id": 1750 - }, - { - "type": "order", - "name": "stick_down", - "variables": [], - "id": 9987 - }, - { - "type": "order", - "name": "start_5dof", - "variables": [ - "lcu_desired_distance" - ], - "id": 9988 - }, - { - "type": "order", - "name": "multi_current_order", - "variables": [ - "multi_current_1", - "multi_current_2", - "multi_current_3", - "multi_current_4" - ], - "id": 9986 - }, - { - "type": "order", - "name": "levitation_vcu", - "variables": [ - "distance" - ], - "id": 9998 - } -] \ No newline at end of file diff --git a/boards/LCU/packets.json b/boards/LCU/packets.json deleted file mode 100644 index c76ec96..0000000 --- a/boards/LCU/packets.json +++ /dev/null @@ -1,113 +0,0 @@ -[ - { - "type": "data", - "name": "lcu_coil_current", - "variables": [ - "general_state", - "vertical_state", - "horizontal_state", - "lcu_coil_current_1", - "lcu_coil_current_2", - "lcu_coil_current_3", - "lcu_coil_current_4", - "lcu_coil_current_5", - "lcu_coil_current_6", - "lcu_coil_current_7", - "lcu_coil_current_8", - "lcu_coil_current_9", - "lcu_coil_current_10", - "lcu_vbat_1", - "lcu_vbat_2", - "lcu_vbat_3", - "lcu_vbat_4", - "lcu_vbat_5", - "lcu_vbat_6", - "lcu_vbat_7", - "lcu_vbat_8", - "lcu_vbat_9", - "lcu_vbat_10", - "lcu_coil_current_ref_1", - "lcu_coil_current_ref_2", - "lcu_coil_current_ref_3", - "lcu_coil_current_ref_4", - "lcu_coil_current_ref_5", - "lcu_coil_current_ref_6", - "lcu_coil_current_ref_7", - "lcu_coil_current_ref_8", - "lcu_coil_current_ref_9", - "lcu_coil_current_ref_10", - "lcu_coil_current_exit_1", - "lcu_coil_current_exit_2", - "lcu_coil_current_exit_3", - "lcu_coil_current_exit_4", - "lcu_coil_current_exit_5", - "lcu_coil_current_exit_6", - "lcu_coil_current_exit_7", - "lcu_coil_current_exit_8", - "lcu_coil_current_exit_9", - "lcu_coil_current_exit_10", - "lcu_dis_pos_ref_1", - "lcu_dis_pos_ref_2", - "lcu_dis_pos_ref_3", - "lcu_dis_pos_ref_4", - "lcu_dis_pos_ref_5", - "lcu_dis_pos_ref_6", - "lcu_dis_pos_ref_7", - "lcu_dis_pos_ref_8", - "lcu_dis_pos_exit_1", - "lcu_dis_pos_exit_2", - "lcu_dis_pos_exit_3", - "lcu_dis_pos_exit_4", - "lcu_dis_pos_exit_5", - "lcu_dis_pos_exit_6", - "lcu_dis_pos_exit_7", - "lcu_dis_pos_exit_8" - ], - "id": 320 - }, - { - "type": "data", - "name": "lcu_airgap", - "variables": [ - "lcu_airgap_1", - "lcu_airgap_2", - "lcu_airgap_3", - "lcu_airgap_4", - "lcu_airgap_5", - "lcu_airgap_6", - "lcu_airgap_7", - "lcu_airgap_8", - "dist_control_y", - "dist_control_z", - "rot_control_x", - "rot_control_y", - "rot_control_z", - "dist_error_y", - "dist_integral_error_y", - "dist_derivate_error_y", - "dist_error_z", - "dist_integral_error_z", - "dist_derivate_error_z", - "rot_error_x", - "rot_integral_error_x", - "rot_derivate_error_x", - "rot_error_y", - "rot_integral_error_y", - "rot_derivate_error_y", - "rot_error_z", - "rot_integral_error_z", - "rot_derivate_error_z" - ], - "id": 318 - }, - - { - "type": "data", - "name": "OperationalState", - "variables": [ - "vertical_state", - "horizontal_state" - ], - "id": 63 - } -] \ No newline at end of file diff --git a/boards/PCU/PCU.json b/boards/PCU/PCU.json deleted file mode 100644 index 2024ea7..0000000 --- a/boards/PCU/PCU.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "board_id": 0, - "board_ip": "192.168.1.5", - "measurements": [ - "PCU_measurements.json" - ], - "packets": [ - "packets.json", - "orders.json" - ] -} \ No newline at end of file diff --git a/boards/PCU/PCU_measurements.json b/boards/PCU/PCU_measurements.json deleted file mode 100644 index d238a00..0000000 --- a/boards/PCU/PCU_measurements.json +++ /dev/null @@ -1,435 +0,0 @@ -[ - { - "id": "frequency", - "name": "Frequency Commutation hz", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "modulation_frequency", - "name": "Modulation frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "duty_u", - "name": "Duty U", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "duty_v", - "name": "Duty V", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "duty_w", - "name": "Duty W", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "Voltage_Battery_A", - "name": "Voltage Battery A", - "type": "float32" - }, - { - "id": "Voltage_Battery_B", - "name": "Voltage Battery B", - "type": "float32" - }, - { - "id": "V_Ref", - "name": "Reference Voltage", - "type": "float32" - }, - { - "id": "frequency_to_send_svpwm", - "name": "Frequency Modulation hz", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "frequency_to_send_PWM", - "name": "Frequency Commutation hz", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "current_sensor_u_a", - "name": "Current sensor U connector A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_u_b", - "name": "Current sensor U connector B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_v_a", - "name": "Current sensor V connector A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_v_b", - "name": "Current sensor V connector B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_w_a", - "name": "Current sensor W connector A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_w_b", - "name": "Current sensor W connector B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "general_state_machine", - "name": "General State Machine", - "type": "enum", - "enumValues": [ - "Connecting", - "Operational", - "Fault" - ] - }, - { - "id": "operational_state_machine", - "name": "Operational state machine", - "type": "enum", - "enumValues": [ - "IDLE", - "Braking", - "Accelerating", - "Regenerative" - ] - }, - { - "id": "Current_Ref", - "name": "Current Ref", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "freq_to_send_svpwm", - "name": "Frequency Modulation hz", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "freq_to_send_PWM", - "name": "Frequency Commutation hz", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "current_Peak", - "name": "Max Current Peak", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "Error_PI", - "name": "Actual Current Error", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "Target_Voltage", - "name": "Target Voltage", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "VMax", - "name": "Max Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "Speed_Ref", - "name": "Reference Speed", - "type": "float32", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "SVPWM_Time", - "name": "SVPWM Time", - "type": "float32", - "podUnits": "s", - "displayUnits": "s" - }, - { - "id": "encoder_position", - "name": "Position Encoder", - "type": "float64", - "podUnits": "m", - "displayUnits": "m" - }, - { - "id": "encoder_direction", - "name": "Direction Encoder", - "type": "enum", - "enumValues": [ - "Forward", - "Backward" - ] - }, - { - "id": "encoder_speed", - "name": "Speed Encoder", - "type": "float64", - "podUnits": "m/s", - "displayUnits": "m/s" - }, - { - "id": "encoder_speed_km_h", - "name": "Speed km/h", - "type": "float64", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "encoder_acceleration", - "name": "Acceleration Encoder", - "type": "float64", - "podUnits": "m/ss", - "displayUnits": "m/ss" - }, - { - "id": "target_speed", - "name": "Target Speed KM/H", - "type": "float32", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "speed_error", - "name": "Speed error", - "type": "float64", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "actual_current_ref", - "name": "Control Current ref", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "Speed_Control_State", - "name": "Control Current ref", - "type": "enum", - "enumValues": [ - "Cruise_Mode", - "Regenerate_Mode" - ] - }, - { - "id": "Direction_State", - "name": "Direction Motor", - "type": "enum", - "enumValues": [ - "Forward", - "Backward" - ] - }, - { - "id": "imod", - "name": "modulation_index", - "type": "float32" - }, - { - "id": "reed1", - "name": "reed_state", - "type": "enum", - "enumValues": [ - "Not_Braking", - "Braking" - ] - }, - { - "id": "reed2", - "name": "reed_state", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed3", - "name": "reed_state", - "type": "enum", - "enumValues": [ - "Not_Braking", - "Braking" - ] - }, - { - "id": "reed4", - "name": "reed_state", - "type": "enum", - "enumValues": [ - "Not_Braking", - "Braking" - ] - }, - { - "id": "space_vector_active", - "name": "Space Vector", - "type": "enum", - "enumValues": [ - "DISABLE", - "ACTIVE" - ] - }, - { - "id": "current_control_active", - "name": "Current Control", - "type": "enum", - "enumValues": [ - "DISABLE", - "ACTIVE" - ] - }, - { - "id": "speed_control_active", - "name": "Speed Control", - "type": "enum", - "enumValues": [ - "DISABLE", - "ACTIVE" - ] - }, - { - "id": "gd_fault_a", - "name": "GateDriver_A_Fault", - "type": "bool", - "podUnits": "", - "displayUnits": "", - "safeRange": [ - -2.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "gd_fault_b", - "name": "GateDriver_B_Fault", - "type": "bool", - "podUnits": "", - "displayUnits": "", - "safeRange": [ - 0.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "gd_ready_a", - "name": "GateDriver_A_Ready", - "type": "bool", - "podUnits": "", - "displayUnits": "", - "safeRange": [ - 0.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "gd_ready_b", - "name": "GateDriver_B_Ready", - "type": "bool", - "podUnits": "", - "displayUnits": "", - "safeRange": [ - 0.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "requested_speetec_emulation_mode", - "name": "Emulation Mode", - "type": "enum", - "enumValues": [ - "STOP", - "position", - "speed", - "acceleration" - ] - }, - { - "id": "requested_speetec_emulation_value", - "name": "Value (m | m/s | m/ss)", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "run_id", - "name": "Run Mode", - "type": "enum", - "enumValues": [ - "LIM + Booster", - "Booster", - "LIM", - "LIM (50KM/H)" - ] - }, - { - "id": "run_state", - "name": "Run State", - "type": "enum", - "enumValues": [ - "NOTHING", - "MOVING", - "BRAKING" - ] - } -] \ No newline at end of file diff --git a/boards/PCU/orders.json b/boards/PCU/orders.json deleted file mode 100644 index fb16cc3..0000000 --- a/boards/PCU/orders.json +++ /dev/null @@ -1,99 +0,0 @@ -[ - { - "type": "order", - "name": "Start_SVPWM", - "variables": [ - "frequency_to_send_svpwm", - "frequency_to_send_PWM", - "V_Ref", - "VMax", - "Direction_State" - ], - "id": 507 - }, - { - "type": "order", - "name": "Stop_Motor", - "variables": [], - "id": 508 - }, - { - "type": "order", - "name": "Send_Reference_Current", - "variables": [ - "freq_to_send_svpwm", - "freq_to_send_PWM", - "Current_Ref", - "VMax", - "Direction_State" - ], - "id": 509 - }, - { - "type": "order", - "name": "Zeroing", - "variables": [], - "id": 510 - }, - { - "type": "order", - "name": "Send_Reference_Speed", - "variables": [ - "Speed_Ref", - "freq_to_send_PWM", - "VMax", - "Direction_State" - ], - "id": 511 - }, - { - "type": "order", - "name": "Start_Precharge", - "variables": [ - "freq_to_send_PWM" - ], - "id": 512 - }, - { - "type": "order", - "name": "Make_Complete_Run(Regenerative)", - "variables": [ - "Speed_Ref", - "freq_to_send_PWM", - "VMax", - "Direction_State" - ], - "id": 513 - }, - { - "type": "order", - "name": "Start_Regenerative_now", - "variables": [], - "id": 514 - }, - { - "type": "order", - "name": "Brake using Motor", - "variables": [ - "VMax" - ], - "id": 515 - }, - { - "type": "order", - "name": "Start Run", - "variables": [ - "run_id" - ], - "id": 516 - }, - { - "type": "order", - "name": "Emulated Speetec", - "variables": [ - "requested_speetec_emulation_mode", - "requested_speetec_emulation_value" - ], - "id": 517 - } -] \ No newline at end of file diff --git a/boards/PCU/packets.json b/boards/PCU/packets.json deleted file mode 100644 index 4bf84e9..0000000 --- a/boards/PCU/packets.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "type": "data", - "name": "pwm_packet", - "variables": [ - "frequency", - "modulation_frequency", - "duty_u", - "duty_v", - "duty_w" - ], - "id": 550 - }, - { - "type": "data", - "name": "Batteries_Voltage", - "variables": [ - "Voltage_Battery_A", - "Voltage_Battery_B" - ], - "id": 551 - }, - { - "type": "data", - "name": "Current_sensors", - "variables": [ - "current_sensor_u_a", - "current_sensor_v_a", - "current_sensor_w_a", - "current_sensor_u_b", - "current_sensor_v_b", - "current_sensor_w_b", - "current_Peak", - "Error_PI", - "Target_Voltage", - "SVPWM_Time", - "imod" - ], - "id": 552 - }, - { - "type": "data", - "name": "StateMachine_states", - "variables": [ - "general_state_machine", - "operational_state_machine", - "run_state", - "space_vector_active", - "current_control_active", - "speed_control_active" - ], - "id": 553 - }, - { - "type": "data", - "name": "Encoder_data", - "variables": [ - "encoder_position", - "encoder_direction", - "encoder_speed", - "encoder_speed_km_h", - "encoder_acceleration" - ], - "id": 554 - }, - { - "type": "data", - "name": "Encoder_data", - "variables": [ - "target_speed", - "speed_error", - "actual_current_ref" - ], - "id": 555 - }, - { - "type": "data", - "name": "Control_State", - "variables": [ - "Direction_State", - "Speed_Control_State" - ], - "id": 556 - }, - { - "type": "data", - "name": "Reeds_State", - "variables": [ - "reed1", - "reed2", - "reed3", - "reed4" - ], - "id": 557 - }, - { - "type": "data", - "name": "GateDriverReporting", - "variables": [ - "gd_fault_a", - "gd_fault_b", - "gd_ready_a", - "gd_ready_b" - ], - "id": 558 - }, - - { - "type": "data", - "name": "OperationalState", - "variables": [ - "operational_state_machine" - ], - "id": 64 - } - -] \ No newline at end of file diff --git a/boards/TEST/TEST.json b/boards/TEST/TEST.json deleted file mode 100644 index 09d8f3c..0000000 --- a/boards/TEST/TEST.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "board_id": 1, - "board_ip": "192.168.1.7", - "measurements": [ - "TEST_measurements.json" - ], - "packets": [ - "orders.json", - "packets.json" - ], - "sockets": [ - "sockets.json" - ] -} diff --git a/boards/TEST/TEST_measurements.json b/boards/TEST/TEST_measurements.json deleted file mode 100644 index 296401d..0000000 --- a/boards/TEST/TEST_measurements.json +++ /dev/null @@ -1,158 +0,0 @@ -[ - { - "id": "enable_flag", - "name": "Enable Flag", - "type": "bool" - }, - { - "id": "small_counter", - "name": "Small Counter", - "type": "uint8" - }, - { - "id": "window_size", - "name": "Window Size", - "type": "uint16" - }, - { - "id": "magic_value", - "name": "Magic Value", - "type": "uint32" - }, - { - "id": "big_counter", - "name": "Big Counter", - "type": "uint64" - }, - { - "id": "trim_value", - "name": "Trim Value", - "type": "int8" - }, - { - "id": "offset_value", - "name": "Offset Value", - "type": "int16" - }, - { - "id": "position_value", - "name": "Position Value", - "type": "int32" - }, - { - "id": "energy_value", - "name": "Energy Value", - "type": "int64" - }, - { - "id": "ratio_value", - "name": "Ratio Value", - "type": "float32", - "podUnits": "m/s", - "displayUnits": "m/s" - }, - { - "id": "precise_value", - "name": "Precise Value", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "tcp_order_count", - "name": "TCP Order Count", - "type": "uint32" - }, - { - "id": "udp_parse_count", - "name": "UDP Parse Count", - "type": "uint32" - }, - { - "id": "heartbeat_ticks", - "name": "Heartbeat Ticks", - "type": "uint32" - }, - { - "id": "last_order_code", - "name": "Last Order Code", - "type": "uint16" - }, - { - "id": "order_mode", - "name": "Order Mode", - "type": "enum", - "enumValues": [ - "IDLE", - "RUN", - "SAFE", - "CAL" - ] - }, - { - "id": "order_state", - "name": "Order State", - "type": "enum", - "enumValues": [ - "BOOT", - "ARMED", - "STREAMING", - "ERROR" - ] - }, - { - "id": "mirror_mode", - "name": "Mirror Mode", - "type": "enum", - "enumValues": [ - "IDLE", - "RUN", - "SAFE", - "CAL" - ] - }, - { - "id": "mirror_state", - "name": "Mirror State", - "type": "enum", - "enumValues": [ - "BOOT", - "ARMED", - "STREAMING", - "ERROR" - ] - }, - { - "id": "probe_seq", - "name": "Probe Sequence", - "type": "uint32" - }, - { - "id": "probe_toggle", - "name": "Probe Toggle", - "type": "bool" - }, - { - "id": "probe_window", - "name": "Probe Window", - "type": "uint16" - }, - { - "id": "probe_ratio", - "name": "Probe Ratio", - "type": "float32", - "podUnits": "m/s", - "displayUnits": "m/s" - }, - { - "id": "probe_mode", - "name": "Probe Mode", - "type": "enum", - "enumValues": [ - "LOW", - "MEDIUM", - "HIGH", - "TURBO" - ] - } -] diff --git a/boards/TEST/orders.json b/boards/TEST/orders.json deleted file mode 100644 index 80cc0ea..0000000 --- a/boards/TEST/orders.json +++ /dev/null @@ -1,48 +0,0 @@ -[ - { - "type": "order", - "name": "set_small_profile", - "variables": [ - "enable_flag", - "small_counter", - "offset_value", - "order_mode" - ], - "id": 20481 - }, - { - "type": "order", - "name": "set_large_profile", - "variables": [ - "window_size", - "magic_value", - "position_value", - "ratio_value", - "precise_value" - ], - "id": 20482 - }, - { - "type": "order", - "name": "set_extremes", - "variables": [ - "trim_value", - "energy_value", - "big_counter" - ], - "id": 20483 - }, - { - "type": "order", - "name": "bump_state", - "id": 20484 - }, - { - "type": "order", - "name": "set_state_code", - "variables": [ - "order_state" - ], - "id": 20485 - } -] diff --git a/boards/TEST/packets.json b/boards/TEST/packets.json deleted file mode 100644 index 3cc1fbd..0000000 --- a/boards/TEST/packets.json +++ /dev/null @@ -1,89 +0,0 @@ -[ - { - "type": "data", - "name": "order_mirror", - "variables": [ - "tcp_order_count", - "last_order_code", - "enable_flag", - "small_counter", - "offset_value", - "mirror_mode" - ], - "id": 20737, - "socket": "telemetry_udp", - "period": 50, - "period_type": "ms" - }, - { - "type": "data", - "name": "numeric_mirror", - "variables": [ - "window_size", - "magic_value", - "position_value", - "ratio_value", - "precise_value" - ], - "id": 20738, - "socket": "telemetry_udp", - "period": 50, - "period_type": "ms" - }, - { - "type": "data", - "name": "extremes_mirror", - "variables": [ - "trim_value", - "energy_value", - "big_counter", - "mirror_state" - ], - "id": 20739, - "socket": "telemetry_udp", - "period": 50, - "period_type": "ms" - }, - { - "type": "data", - "name": "udp_probe", - "variables": [ - "probe_seq", - "probe_toggle", - "probe_window", - "probe_ratio", - "probe_mode" - ], - "id": 20740 - }, - { - "type": "data", - "name": "udp_probe_echo", - "variables": [ - "udp_parse_count", - "probe_seq", - "probe_toggle", - "probe_window", - "probe_ratio", - "probe_mode" - ], - "id": 20741, - "socket": "telemetry_udp", - "period": 50, - "period_type": "ms" - }, - { - "type": "data", - "name": "heartbeat_snapshot", - "variables": [ - "heartbeat_ticks", - "tcp_order_count", - "udp_parse_count", - "mirror_state" - ], - "id": 20742, - "socket": "telemetry_udp", - "period": 250, - "period_type": "ms" - } -] diff --git a/boards/TEST/sockets.json b/boards/TEST/sockets.json deleted file mode 100644 index e563fe1..0000000 --- a/boards/TEST/sockets.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "type": "ServerSocket", - "name": "control_test_tcp", - "port": 41000 - }, - { - "type": "Socket", - "name": "control_test_client", - "local_port": 41002, - "remote_ip": "192.168.1.9", - "remote_port": 41003 - }, - { - "type": "DatagramSocket", - "name": "telemetry_udp", - "port": 41001, - "remote_ip": "192.168.1.9" - } -] From 55b1252e8d15657a7ac90dc5216dba7f1a19695a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Tue, 19 May 2026 19:13:11 +0200 Subject: [PATCH 08/45] removed old sockets --- boards/VCU/sockets.json | 43 +---------------------------------------- 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/boards/VCU/sockets.json b/boards/VCU/sockets.json index c9ae043..1c45de2 100644 --- a/boards/VCU/sockets.json +++ b/boards/VCU/sockets.json @@ -10,46 +10,5 @@ "name": "control_station_udp", "remote_ip":"192.168.0.9", "port": 50400 - }, - - { - "type": "Socket", - "name": "pcu_tcp", - "local_port": 50501, - "remote_ip": "192.168.1.5", - "remote_port": 50500 - - - }, - - { - "type": "DatagramSocket", - "name": "pcu_udp", - "remote_ip":"192.168.1.5", - "port": 50402 - }, - - - { - "type": "Socket", - "name": "hvscu_tcp", - "local_port": 50502, - "remote_ip": "192.168.1.7", - "remote_port": 50500 - - - }, - - { - "type": "DatagramSocket", - "name": "hvscu_udp", - "remote_ip":"192.168.1.7", - "port": 50403 - } - - - - - - + } ] From b237a46455023be632dbbb3f13399bd268d2dad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Tue, 19 May 2026 19:22:01 +0200 Subject: [PATCH 09/45] Clean packets --- boards/VCU/VCU_measurements.json | 80 -------------------------------- boards/VCU/orders.json | 35 +------------- boards/VCU/packets.json | 49 ------------------- 3 files changed, 1 insertion(+), 163 deletions(-) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 4c2d18d..9c241d7 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -1,49 +1,4 @@ [ - { - "id": "duty", - "name": "Duty", - "type": "uint32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "cooling_pump", - "name": "Cooling Pump", - "type": "enum", - "enumValues": [ - "PUMP_1", - "PUMP_2" - ] - }, - { - "id": "general_state", - "name": "General State", - "type": "enum", - "enumValues": [ - "CONNECTING", - "OPERATIONAL" - ] - }, - { - "id": "operational_state", - "name": "Operational State", - "type": "enum", - "enumValues": [ - "IDLE", - "END_OF_RUN", - "ENERGIZED", - "READY", - "DEMONSTRATION", - "RECOVERY" - ] - }, - { - "id": "pressure_command", - "name": "Pressure Command", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, { "id": "flow_1", "name": "Flow 1", @@ -92,40 +47,5 @@ "type": "float32", "podUnits": "bar", "displayUnits": "bar" - }, - { - "id": "pressure_regulator_duty", - "name": "Pressure Regulator Duty", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "sdc_closed", - "name": "SDC Closed", - "type": "bool", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "brake_fault", - "name": "Brake Fault", - "type": "bool", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "sdmmc_card_detect", - "name": "SDMMC Card Detect", - "type": "bool", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "sdmmc_write_protect", - "name": "SDMMC Write Protect", - "type": "bool", - "podUnits": "", - "displayUnits": "" } ] diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index 9e6533d..fe51488 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -1,34 +1 @@ -[ - { - "type": "order", - "name": "Set Cooling Pump", - "variables": [ - "duty", - "cooling_pump" - ], - "id": 33 - }, - { - "type": "order", - "name": "Set Pressure Regulator", - "variables": [ - "pressure_command" - ], - "id": 34 - }, - { - "type": "order", - "name": "Brake", - "id": 43 - }, - { - "type": "order", - "name": "Unbrake", - "id": 52 - }, - { - "type": "order", - "name": "Recovery", - "id": 32 - } -] +[] diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index d4cc51d..be6be06 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -1,16 +1,4 @@ [ - { - "type": "data", - "name": "Current State", - "variables": [ - "general_state", - "operational_state" - ], - "id": 249, - "period_type": "ms", - "period": 16.67, - "socket": "control_station_udp" - }, { "type": "data", "name": "Flow", @@ -47,42 +35,5 @@ "period_type": "ms", "period": 16.67, "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Pressure Regulator", - "variables": [ - "pressure_command", - "pressure_regulator_duty", - "pressure_regulator_feedback" - ], - "id": 253, - "period_type": "ms", - "period": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Safety Inputs", - "variables": [ - "sdc_closed", - "brake_fault" - ], - "id": 254, - "period_type": "ms", - "period": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Storage", - "variables": [ - "sdmmc_card_detect", - "sdmmc_write_protect" - ], - "id": 255, - "period_type": "ms", - "period": 16.67, - "socket": "control_station_udp" } ] From e7fcaceb565bdc03264c9d4b9c32081df4a6548b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Tue, 19 May 2026 19:22:42 +0200 Subject: [PATCH 10/45] Removed orders entirely --- boards/VCU/orders.json | 1 - 1 file changed, 1 deletion(-) diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index fe51488..e69de29 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -1 +0,0 @@ -[] From ae8c134a2112fce7b2d45f02bd13233ae2243c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Tue, 19 May 2026 19:24:15 +0200 Subject: [PATCH 11/45] added fault order --- boards/VCU/orders.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index e69de29..87dcc66 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -0,0 +1,7 @@ +[ + { + "type": "order", + "name": "Fault", + "id": 2 + } +] From 7e47b5ed680b0142013a2bcc3353bd8fbd665c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Tue, 19 May 2026 19:27:34 +0200 Subject: [PATCH 12/45] Updated fault order --- boards/VCU/orders.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index 87dcc66..df0b526 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -1,7 +1,7 @@ [ { - "type": "order", - "name": "Fault", - "id": 2 + "id": 0, + "name": "FAULT", + "type": "order" } -] +] \ No newline at end of file From 2cc6f2d4206d17ebda2370daaa6d9ecee6d59d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ribal=20del=20R=C3=ADo?= Date: Tue, 19 May 2026 20:38:05 +0200 Subject: [PATCH 13/45] chore(adj-validator): copy ADJ-Validator from test-adj --- .github/workflows/adj-tester.yaml | 55 ++++++++++++++++++- .../workflows/scripts/adj-compact/compact.sh | 31 +++++++++++ 2 files changed, 84 insertions(+), 2 deletions(-) create mode 100755 .github/workflows/scripts/adj-compact/compact.sh diff --git a/.github/workflows/adj-tester.yaml b/.github/workflows/adj-tester.yaml index c6fd55d..af65939 100644 --- a/.github/workflows/adj-tester.yaml +++ b/.github/workflows/adj-tester.yaml @@ -1,7 +1,7 @@ -name: ADJ Validator +name: ADJ Validator (and Compact) on: - push: + push: pull_request: jobs: @@ -25,3 +25,54 @@ jobs: - name: Run ADJ validation run: | python3 .github/workflows/scripts/adj-tester/main.py + + - name: Notify Slack on failure + if: failure() + env: + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} + run: | + jq -n \ + --arg repo "${{ github.repository }}" \ + --arg branch "${{ github.ref_name }}" \ + --arg actor "${{ github.actor }}" \ + --arg run_url "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \ + '{ + text: " ❌ ADJ Validator Failed\n\nRepository: \($repo)\nBranch: \($branch)\nActor: \($actor)\n\nWorkflow run:\n\($run_url)" + }' | curl -X POST -H "Content-type: application/json" \ + --data @- \ + $SLACK_WEBHOOK + + publish-compact-adj: + needs: validate-adj + runs-on: ubuntu-latest + env: + TARGET_REPO: Hyperloop-UPV/ADJ-Archive + TARGET_BRANCH: main + TARGET_PATH: storage/commit-${{ github.sha }}.json + + steps: + - name: Checkout source repository + uses: actions/checkout@v4 + + - name: Compact ADJ + run: | + chmod +x .github/workflows/scripts/adj-compact/compact.sh + .github/workflows/scripts/adj-compact/compact.sh "${{ runner.temp }}/adj.json" + + - name: Upload to destination repo via API + env: + GH_TOKEN: ${{ secrets.TARGET_REPO_TOKEN }} + run: | + base64 -w0 "${{ runner.temp }}/adj.json" > "${{ runner.temp }}/adj.b64" + jq -n \ + --arg message "chore: add compacted ADJ from ${{ github.repository }}@${{ github.sha }}" \ + --rawfile content "${{ runner.temp }}/adj.b64" \ + --arg branch "$TARGET_BRANCH" \ + '{message: $message, content: $content, branch: $branch}' \ + > "${{ runner.temp }}/body.json" + curl --fail-with-body -sS -X PUT \ + -H "Authorization: Bearer $GH_TOKEN" \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + --data "@${{ runner.temp }}/body.json" \ + "https://api.github.com/repos/${TARGET_REPO}/contents/${TARGET_PATH}" diff --git a/.github/workflows/scripts/adj-compact/compact.sh b/.github/workflows/scripts/adj-compact/compact.sh new file mode 100755 index 0000000..d6d2d30 --- /dev/null +++ b/.github/workflows/scripts/adj-compact/compact.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Javier Ribal del Río +# ADJ Compact: Merge all JSON files into a single `adj.json` for easier consumption by clients that prefer a single file. +# Usage: `./compact.sh [output-file]` +# Version: v11.0.0 (2026-05-18) +# + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +ROOT="$(git -C "$SCRIPT_DIR" rev-parse --show-toplevel 2>/dev/null || (cd "$SCRIPT_DIR/../../../.." && pwd))" +OUT="${1:-${ROOT}/adj.json}" +OUT_BASE="$(basename "$OUT")" + +cd "$ROOT" + +acc='{}' +# Sort shallowest-first so files like `boards.json` are merged before `boards/X/Y.json`, +# letting the deeper, more specific content override the index-file stubs. +while IFS= read -r rel; do + [[ -z "$rel" ]] && continue + [[ "$rel" == "$OUT_BASE" ]] && continue + key="${rel%.json}" + acc=$(jq -c --arg k "$key" --slurpfile v "$rel" ' + ($k | split("/")) as $p + | . * ([{($p[-1]): $v[0]}] | .[0] | reduce ($p[:-1] | reverse)[] as $seg (.; {($seg): .})) + ' <<<"$acc") +done < <(find . -type d -name .github -prune -o -type f -name '*.json' -printf '%d %p\n' | sort -n | sed 's|^[0-9]* \./||') + +printf '%s\n' "$acc" >"$OUT" +echo "Wrote $OUT" From f9514c23aeeffae5c65c625bb8b1d37ed66ff396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ribal=20del=20R=C3=ADo?= Date: Wed, 20 May 2026 23:43:40 +0200 Subject: [PATCH 14/45] chore(adj-validator): copy ADJ-Validator from test-adj --- .github/workflows/adj-tester.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/adj-tester.yaml b/.github/workflows/adj-tester.yaml index af65939..d89174a 100644 --- a/.github/workflows/adj-tester.yaml +++ b/.github/workflows/adj-tester.yaml @@ -68,7 +68,13 @@ jobs: --arg message "chore: add compacted ADJ from ${{ github.repository }}@${{ github.sha }}" \ --rawfile content "${{ runner.temp }}/adj.b64" \ --arg branch "$TARGET_BRANCH" \ - '{message: $message, content: $content, branch: $branch}' \ + '{ + message: $message, + content: $content, + branch: $branch, + committer: {name: "github-actions[bot]", email: "41898282+github-actions[bot]@users.noreply.github.com"}, + author: {name: "github-actions[bot]", email: "41898282+github-actions[bot]@users.noreply.github.com"} + }' \ > "${{ runner.temp }}/body.json" curl --fail-with-body -sS -X PUT \ -H "Authorization: Bearer $GH_TOKEN" \ From 9227185c624032d0d7ba25a1399044b9468cf4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sat, 23 May 2026 13:27:14 +0200 Subject: [PATCH 15/45] Added orders and packets --- boards/VCU/VCU_measurements.json | 215 +++++++++++++++++++++++++++++++ boards/VCU/orders.json | 208 +++++++++++++++++++++++++++++- boards/VCU/packets.json | 105 +++++++++++++++ boards/VCU/sockets.json | 46 +++++++ general_info.json | 2 +- 5 files changed, 574 insertions(+), 2 deletions(-) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 9c241d7..2af850c 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -1,4 +1,24 @@ [ + { + "id": "general_state", + "name": "General State", + "type": "uint8" + }, + { + "id": "operational_state", + "name": "Operational State", + "type": "uint8" + }, + { + "id": "recovery_status", + "name": "Recovery Status", + "type": "uint8" + }, + { + "id": "demonstration_bitfield", + "name": "Demonstration Bitfield", + "type": "uint32" + }, { "id": "flow_1", "name": "Flow 1", @@ -47,5 +67,200 @@ "type": "float32", "podUnits": "bar", "displayUnits": "bar" + }, + { + "id": "active_brakes", + "name": "Active Brakes", + "type": "bool" + }, + { + "id": "brake_fault_detected", + "name": "Brake Fault Detected", + "type": "bool" + }, + { + "id": "cooling_pump_1_command", + "name": "Cooling Pump 1 Command", + "type": "uint8", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "cooling_pump_2_command", + "name": "Cooling Pump 2 Command", + "type": "uint8", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "electrovalve_enabled", + "name": "Electrovalve Enabled", + "type": "bool" + }, + { + "id": "sdc_closed", + "name": "SDC Closed", + "type": "bool" + }, + { + "id": "contactors_closed", + "name": "Contactors Closed", + "type": "bool" + }, + { + "id": "control_station_connected", + "name": "Control Station Connected", + "type": "bool" + }, + { + "id": "hvscu_connected", + "name": "HVSCU Connected", + "type": "bool" + }, + { + "id": "pcu_connected", + "name": "PCU Connected", + "type": "bool" + }, + { + "id": "required_peers_connected", + "name": "Required Peers Connected", + "type": "bool" + }, + { + "id": "hvscu_state", + "name": "HVSCU State", + "type": "uint8" + }, + { + "id": "pcu_state", + "name": "PCU State", + "type": "uint8" + }, + { + "id": "lcu_vertical_state", + "name": "LCU Vertical State", + "type": "uint8" + }, + { + "id": "lcu_horizontal_state", + "name": "LCU Horizontal State", + "type": "uint8" + }, + { + "id": "cooling_pump_duty", + "name": "Cooling Pump Duty", + "type": "uint8", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "cooling_pump_selection", + "name": "Cooling Pump Selection", + "type": "uint8" + }, + { + "id": "run_id", + "name": "Run ID", + "type": "uint8" + }, + { + "id": "modulation_frequency_1", + "name": "Modulation Frequency 1", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "commutation_frequency_1", + "name": "Commutation Frequency 1", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "reference_voltage_1", + "name": "Reference Voltage 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "max_voltage_1", + "name": "Max Voltage 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "motor_direction_1", + "name": "Motor Direction 1", + "type": "uint8" + }, + { + "id": "modulation_frequency_2", + "name": "Modulation Frequency 2", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "commutation_frequency_2", + "name": "Commutation Frequency 2", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "reference_current_2", + "name": "Reference Current 2", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "max_voltage_2", + "name": "Max Voltage 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "motor_direction_2", + "name": "Motor Direction 2", + "type": "uint8" + }, + { + "id": "reference_speed_3", + "name": "Reference Speed 3", + "type": "float32", + "podUnits": "m/s", + "displayUnits": "m/s" + }, + { + "id": "commutation_frequency_3", + "name": "Commutation Frequency 3", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "max_voltage_3", + "name": "Max Voltage 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "motor_direction_3", + "name": "Motor Direction 3", + "type": "uint8" + }, + { + "id": "levitation_distance", + "name": "Levitation Distance", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" } ] diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index df0b526..a76b91b 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -3,5 +3,211 @@ "id": 0, "name": "FAULT", "type": "order" + }, + { + "id": 32, + "name": "Recovery", + "type": "order" + }, + { + "id": 33, + "name": "Cooling pump power", + "type": "order", + "variables": [ + "cooling_pump_duty", + "cooling_pump_selection" + ] + }, + { + "id": 43, + "name": "Brake", + "type": "order" + }, + { + "id": 44, + "name": "Close contactors", + "type": "order" + }, + { + "id": 52, + "name": "Unbrake", + "type": "order" + }, + { + "id": 53, + "name": "Open contactors", + "type": "order" + }, + { + "id": 55, + "name": "Emergency stop", + "type": "order" + }, + { + "id": 56, + "name": "Runs", + "type": "order", + "variables": [ + "run_id" + ] + }, + { + "id": 57, + "name": "SVPWM", + "type": "order", + "variables": [ + "modulation_frequency_1", + "commutation_frequency_1", + "reference_voltage_1", + "max_voltage_1", + "motor_direction_1" + ] + }, + { + "id": 58, + "name": "Stop motor", + "type": "order" + }, + { + "id": 59, + "name": "Current control", + "type": "order", + "variables": [ + "modulation_frequency_2", + "commutation_frequency_2", + "reference_current_2", + "max_voltage_2", + "motor_direction_2" + ] + }, + { + "id": 60, + "name": "Speed control", + "type": "order", + "variables": [ + "reference_speed_3", + "commutation_frequency_3", + "max_voltage_3", + "motor_direction_3" + ] + }, + { + "id": 61, + "name": "Motor brake", + "type": "order" + }, + { + "id": 37, + "name": "Levitation", + "type": "order", + "variables": [ + "levitation_distance" + ] + }, + { + "id": 46, + "name": "Stop levitation", + "type": "order" + }, + { + "id": 42, + "name": "Booster", + "type": "order" + }, + { + "id": 51, + "name": "Stop booster", + "type": "order" + }, + { + "id": 900, + "name": "Remote close contactors", + "type": "order" + }, + { + "id": 901, + "name": "Remote open contactors", + "type": "order" + }, + { + "id": 1000, + "name": "Remote runs", + "type": "order", + "variables": [ + "run_id" + ] + }, + { + "id": 1001, + "name": "Remote SVPWM", + "type": "order", + "variables": [ + "modulation_frequency_1", + "commutation_frequency_1", + "reference_voltage_1", + "max_voltage_1", + "motor_direction_1" + ] + }, + { + "id": 1002, + "name": "Remote stop motor", + "type": "order" + }, + { + "id": 1003, + "name": "Remote current control", + "type": "order", + "variables": [ + "modulation_frequency_2", + "commutation_frequency_2", + "reference_current_2", + "max_voltage_2", + "motor_direction_2" + ] + }, + { + "id": 1004, + "name": "Remote speed control", + "type": "order", + "variables": [ + "reference_speed_3", + "commutation_frequency_3", + "max_voltage_3", + "motor_direction_3" + ] + }, + { + "id": 1005, + "name": "Remote motor brake", + "type": "order" + }, + { + "id": 9989, + "name": "Remote levitation", + "type": "order", + "variables": [ + "levitation_distance" + ] + }, + { + "id": 9993, + "name": "Remote stop levitation", + "type": "order" + }, + { + "id": 1790, + "name": "Remote booster", + "type": "order" + }, + { + "id": 1789, + "name": "Remote stop booster", + "type": "order" + }, + { + "id": 1788, + "name": "Forward booster", + "type": "order" } -] \ No newline at end of file +] diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index be6be06..9e94e44 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -1,4 +1,18 @@ [ + { + "type": "data", + "name": "VCU State", + "variables": [ + "general_state", + "operational_state", + "recovery_status", + "demonstration_bitfield" + ], + "id": 249, + "period_type": "ms", + "period": 100, + "socket": "control_station_udp" + }, { "type": "data", "name": "Flow", @@ -35,5 +49,96 @@ "period_type": "ms", "period": 16.67, "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Brake Status", + "variables": [ + "active_brakes", + "brake_fault_detected" + ], + "id": 253, + "period_type": "ms", + "period": 100, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Outputs", + "variables": [ + "cooling_pump_1_command", + "cooling_pump_2_command", + "electrovalve_enabled" + ], + "id": 254, + "period_type": "ms", + "period": 100, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Safety", + "variables": [ + "sdc_closed", + "contactors_closed", + "control_station_connected", + "hvscu_connected", + "pcu_connected", + "required_peers_connected" + ], + "id": 255, + "period_type": "ms", + "period": 100, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "HVSCU State", + "variables": [ + "hvscu_state" + ], + "id": 941 + }, + { + "type": "data", + "name": "LCU State", + "variables": [ + "lcu_vertical_state", + "lcu_horizontal_state" + ], + "id": 63 + }, + { + "type": "data", + "name": "PCU State", + "variables": [ + "pcu_state" + ], + "id": 64 + }, + { + "type": "data", + "name": "Remote States", + "variables": [ + "hvscu_state", + "pcu_state", + "lcu_vertical_state", + "lcu_horizontal_state" + ], + "id": 65, + "period_type": "ms", + "period": 100, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "VCU State For PCU", + "variables": [ + "recovery_status" + ], + "id": 66, + "period_type": "ms", + "period": 100, + "socket": "pcu_udp" } ] diff --git a/boards/VCU/sockets.json b/boards/VCU/sockets.json index 1c45de2..41b37c3 100644 --- a/boards/VCU/sockets.json +++ b/boards/VCU/sockets.json @@ -10,5 +10,51 @@ "name": "control_station_udp", "remote_ip":"192.168.0.9", "port": 50400 + }, + { + "type": "Socket", + "name": "pcu_tcp", + "local_port": 50501, + "remote_ip": "192.168.1.5", + "remote_port": 50500 + }, + { + "type": "DatagramSocket", + "name": "pcu_udp", + "remote_ip": "192.168.1.5", + "port": 50402 + }, + { + "type": "DatagramSocket", + "name": "hvscu_udp", + "remote_ip": "192.168.1.7", + "port": 50403 + }, + { + "type": "DatagramSocket", + "name": "lcu_udp", + "remote_ip": "192.168.1.4", + "port": 50405 + }, + { + "type": "Socket", + "name": "hvscu_tcp", + "local_port": 50502, + "remote_ip": "192.168.1.7", + "remote_port": 50500 + }, + { + "type": "Socket", + "name": "lcu_tcp", + "local_port": 50504, + "remote_ip": "192.168.1.4", + "remote_port": 50500 + }, + { + "type": "Socket", + "name": "bcu_tcp", + "local_port": 50505, + "remote_ip": "192.168.2.17", + "remote_port": 50500 } ] diff --git a/general_info.json b/general_info.json index ef8fe5b..6ce2d45 100644 --- a/general_info.json +++ b/general_info.json @@ -41,4 +41,4 @@ "add_state_order": 5, "warning": 3 } -} \ No newline at end of file +} From 4f25704dabe49acdf62e187bf5c9df1c5517f6c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Wed, 3 Jun 2026 22:15:25 +0200 Subject: [PATCH 16/45] updated ADJ with new states --- boards/VCU/VCU_measurements.json | 13 ++++++++---- boards/VCU/orders.json | 35 ++++++++++++++++++++++++++++++++ boards/VCU/packets.json | 9 ++++---- boards/VCU/sockets.json | 4 ++-- 4 files changed, 51 insertions(+), 10 deletions(-) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 2af850c..a9720d2 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -113,8 +113,8 @@ "type": "bool" }, { - "id": "hvscu_connected", - "name": "HVSCU Connected", + "id": "hvbms_connected", + "name": "HVBMS Connected", "type": "bool" }, { @@ -122,14 +122,19 @@ "name": "PCU Connected", "type": "bool" }, + { + "id": "lcu_connected", + "name": "LCU Connected", + "type": "bool" + }, { "id": "required_peers_connected", "name": "Required Peers Connected", "type": "bool" }, { - "id": "hvscu_state", - "name": "HVSCU State", + "id": "hvbms_state", + "name": "HVBMS State", "type": "uint8" }, { diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index a76b91b..099cebf 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -18,6 +18,36 @@ "cooling_pump_selection" ] }, + { + "id": 34, + "name": "MANTEINANCE", + "type": "order" + }, + { + "id": 35, + "name": "Precharge", + "type": "order" + }, + { + "id": 36, + "name": "Stop", + "type": "order" + }, + { + "id": 38, + "name": "Propulsion", + "type": "order" + }, + { + "id": 39, + "name": "Static levitation", + "type": "order" + }, + { + "id": 40, + "name": "Dynamic levitation", + "type": "order" + }, { "id": 43, "name": "Brake", @@ -129,6 +159,11 @@ "name": "Remote open contactors", "type": "order" }, + { + "id": 902, + "name": "Remote precharge", + "type": "order" + }, { "id": 1000, "name": "Remote runs", diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 9e94e44..6e17375 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -82,8 +82,9 @@ "sdc_closed", "contactors_closed", "control_station_connected", - "hvscu_connected", + "hvbms_connected", "pcu_connected", + "lcu_connected", "required_peers_connected" ], "id": 255, @@ -93,9 +94,9 @@ }, { "type": "data", - "name": "HVSCU State", + "name": "HVBMS State", "variables": [ - "hvscu_state" + "hvbms_state" ], "id": 941 }, @@ -120,7 +121,7 @@ "type": "data", "name": "Remote States", "variables": [ - "hvscu_state", + "hvbms_state", "pcu_state", "lcu_vertical_state", "lcu_horizontal_state" diff --git a/boards/VCU/sockets.json b/boards/VCU/sockets.json index 41b37c3..fb49240 100644 --- a/boards/VCU/sockets.json +++ b/boards/VCU/sockets.json @@ -26,7 +26,7 @@ }, { "type": "DatagramSocket", - "name": "hvscu_udp", + "name": "hvbms_udp", "remote_ip": "192.168.1.7", "port": 50403 }, @@ -38,7 +38,7 @@ }, { "type": "Socket", - "name": "hvscu_tcp", + "name": "hvbms_tcp", "local_port": 50502, "remote_ip": "192.168.1.7", "remote_port": 50500 From 53f12785931f96b8b3a1fc42127c8984eb11de98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Wed, 3 Jun 2026 22:25:13 +0200 Subject: [PATCH 17/45] Added tapes protection --- boards/VCU/VCU_measurements.json | 5 +++++ boards/VCU/packets.json | 1 + 2 files changed, 6 insertions(+) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index a9720d2..11d079b 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -102,6 +102,11 @@ "name": "SDC Closed", "type": "bool" }, + { + "id": "tapes_reached", + "name": "Tapes Reached", + "type": "bool" + }, { "id": "contactors_closed", "name": "Contactors Closed", diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 6e17375..0e182b4 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -80,6 +80,7 @@ "name": "Safety", "variables": [ "sdc_closed", + "tapes_reached", "contactors_closed", "control_station_connected", "hvbms_connected", From 083117e3efd6d5965ec0c0f2ca767e90368acc23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ribal=20del=20R=C3=ADo?= Date: Wed, 10 Jun 2026 10:55:08 +0200 Subject: [PATCH 18/45] chore(adj-validator): copy ADJ-Validator from test-adj --- .../adj-tester/schema/board.schema.json | 4 +--- .../adj-tester/schema/socket.schema.json | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/scripts/adj-tester/schema/board.schema.json b/.github/workflows/scripts/adj-tester/schema/board.schema.json index f640ac7..3c189c8 100644 --- a/.github/workflows/scripts/adj-tester/schema/board.schema.json +++ b/.github/workflows/scripts/adj-tester/schema/board.schema.json @@ -6,9 +6,7 @@ "additionalProperties": true, "required": [ "board_id", - "board_ip", - "measurements", - "packets" + "board_ip" ], "properties": { "board_id": { diff --git a/.github/workflows/scripts/adj-tester/schema/socket.schema.json b/.github/workflows/scripts/adj-tester/schema/socket.schema.json index 5c9644c..79ef9e9 100644 --- a/.github/workflows/scripts/adj-tester/schema/socket.schema.json +++ b/.github/workflows/scripts/adj-tester/schema/socket.schema.json @@ -43,10 +43,20 @@ "description": "Remote IPv4 address" }, "remote_port": { - "type": "integer", - "minimum": 1, - "maximum": 65535, - "description": "Remote port number for Socket" + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65535 + }, + { + "type": "string", + "enum": [ + "backend" + ] + } + ], + "description": "Remote port number for Socket or the string \"backend\"" } } } From b298d2e190d04b50a02643ed7964409f9c8af8b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 15:50:49 +0200 Subject: [PATCH 19/45] Removed bcu socket (wtf) --- boards/VCU/sockets.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/boards/VCU/sockets.json b/boards/VCU/sockets.json index fb49240..6a7e581 100644 --- a/boards/VCU/sockets.json +++ b/boards/VCU/sockets.json @@ -49,12 +49,5 @@ "local_port": 50504, "remote_ip": "192.168.1.4", "remote_port": 50500 - }, - { - "type": "Socket", - "name": "bcu_tcp", - "local_port": 50505, - "remote_ip": "192.168.2.17", - "remote_port": 50500 - } + } ] From 55ea00be46c40198536a016989ec608d3f2325db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 16:14:37 +0200 Subject: [PATCH 20/45] Add mock VCU peer boards --- boards.json | 4 +++- boards/HVBMS-MOCK/HVBMS-MOCK.json | 13 +++++++++++++ boards/HVBMS-MOCK/HVBMS-MOCK_measurements.json | 7 +++++++ boards/HVBMS-MOCK/packets.json | 11 +++++++++++ boards/HVBMS-MOCK/sockets.json | 7 +++++++ boards/LCU-mock/LCU-mock.json | 13 +++++++++++++ boards/LCU-mock/LCU-mock_measurements.json | 7 +++++++ boards/LCU-mock/packets.json | 11 +++++++++++ boards/LCU-mock/sockets.json | 7 +++++++ 9 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 boards/HVBMS-MOCK/HVBMS-MOCK.json create mode 100644 boards/HVBMS-MOCK/HVBMS-MOCK_measurements.json create mode 100644 boards/HVBMS-MOCK/packets.json create mode 100644 boards/HVBMS-MOCK/sockets.json create mode 100644 boards/LCU-mock/LCU-mock.json create mode 100644 boards/LCU-mock/LCU-mock_measurements.json create mode 100644 boards/LCU-mock/packets.json create mode 100644 boards/LCU-mock/sockets.json diff --git a/boards.json b/boards.json index 08974f8..30f6f27 100644 --- a/boards.json +++ b/boards.json @@ -1,3 +1,5 @@ { - "VCU": "boards/VCU/VCU.json" + "VCU": "boards/VCU/VCU.json", + "HVBMS-MOCK": "boards/HVBMS-MOCK/HVBMS-MOCK.json", + "LCU-mock": "boards/LCU-mock/LCU-mock.json" } diff --git a/boards/HVBMS-MOCK/HVBMS-MOCK.json b/boards/HVBMS-MOCK/HVBMS-MOCK.json new file mode 100644 index 0000000..7e2d894 --- /dev/null +++ b/boards/HVBMS-MOCK/HVBMS-MOCK.json @@ -0,0 +1,13 @@ +{ + "board_id": 12, + "board_ip": "192.168.1.7", + "measurements": [ + "HVBMS-MOCK_measurements.json" + ], + "packets": [ + "packets.json" + ], + "sockets": [ + "sockets.json" + ] +} diff --git a/boards/HVBMS-MOCK/HVBMS-MOCK_measurements.json b/boards/HVBMS-MOCK/HVBMS-MOCK_measurements.json new file mode 100644 index 0000000..982a363 --- /dev/null +++ b/boards/HVBMS-MOCK/HVBMS-MOCK_measurements.json @@ -0,0 +1,7 @@ +[ + { + "id": "connected_to_master", + "name": "Connected To Master", + "type": "bool" + } +] diff --git a/boards/HVBMS-MOCK/packets.json b/boards/HVBMS-MOCK/packets.json new file mode 100644 index 0000000..879d050 --- /dev/null +++ b/boards/HVBMS-MOCK/packets.json @@ -0,0 +1,11 @@ +[ + { + "type": "data", + "name": "Mock Connection Status", + "variables": [ + "connected_to_master" + ], + "id": 1101, + "socket": "vcu_tcp" + } +] diff --git a/boards/HVBMS-MOCK/sockets.json b/boards/HVBMS-MOCK/sockets.json new file mode 100644 index 0000000..448d992 --- /dev/null +++ b/boards/HVBMS-MOCK/sockets.json @@ -0,0 +1,7 @@ +[ + { + "type": "ServerSocket", + "name": "vcu_tcp", + "port": 50500 + } +] diff --git a/boards/LCU-mock/LCU-mock.json b/boards/LCU-mock/LCU-mock.json new file mode 100644 index 0000000..d59205d --- /dev/null +++ b/boards/LCU-mock/LCU-mock.json @@ -0,0 +1,13 @@ +{ + "board_id": 13, + "board_ip": "192.168.1.4", + "measurements": [ + "LCU-mock_measurements.json" + ], + "packets": [ + "packets.json" + ], + "sockets": [ + "sockets.json" + ] +} diff --git a/boards/LCU-mock/LCU-mock_measurements.json b/boards/LCU-mock/LCU-mock_measurements.json new file mode 100644 index 0000000..982a363 --- /dev/null +++ b/boards/LCU-mock/LCU-mock_measurements.json @@ -0,0 +1,7 @@ +[ + { + "id": "connected_to_master", + "name": "Connected To Master", + "type": "bool" + } +] diff --git a/boards/LCU-mock/packets.json b/boards/LCU-mock/packets.json new file mode 100644 index 0000000..20d8109 --- /dev/null +++ b/boards/LCU-mock/packets.json @@ -0,0 +1,11 @@ +[ + { + "type": "data", + "name": "Mock Connection Status", + "variables": [ + "connected_to_master" + ], + "id": 1102, + "socket": "vcu_tcp" + } +] diff --git a/boards/LCU-mock/sockets.json b/boards/LCU-mock/sockets.json new file mode 100644 index 0000000..448d992 --- /dev/null +++ b/boards/LCU-mock/sockets.json @@ -0,0 +1,7 @@ +[ + { + "type": "ServerSocket", + "name": "vcu_tcp", + "port": 50500 + } +] From 102d3dfe80eaebbb5c1dd2a884287d1e642842a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 16:18:06 +0200 Subject: [PATCH 21/45] Send mock status packets to control station --- boards/HVBMS-MOCK/packets.json | 2 +- boards/HVBMS-MOCK/sockets.json | 6 ++++++ boards/LCU-mock/packets.json | 2 +- boards/LCU-mock/sockets.json | 6 ++++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/boards/HVBMS-MOCK/packets.json b/boards/HVBMS-MOCK/packets.json index 879d050..d964ece 100644 --- a/boards/HVBMS-MOCK/packets.json +++ b/boards/HVBMS-MOCK/packets.json @@ -6,6 +6,6 @@ "connected_to_master" ], "id": 1101, - "socket": "vcu_tcp" + "socket": "control_station_udp" } ] diff --git a/boards/HVBMS-MOCK/sockets.json b/boards/HVBMS-MOCK/sockets.json index 448d992..48eb9ba 100644 --- a/boards/HVBMS-MOCK/sockets.json +++ b/boards/HVBMS-MOCK/sockets.json @@ -3,5 +3,11 @@ "type": "ServerSocket", "name": "vcu_tcp", "port": 50500 + }, + { + "type": "DatagramSocket", + "name": "control_station_udp", + "remote_ip": "192.168.0.9", + "port": 50400 } ] diff --git a/boards/LCU-mock/packets.json b/boards/LCU-mock/packets.json index 20d8109..08f324b 100644 --- a/boards/LCU-mock/packets.json +++ b/boards/LCU-mock/packets.json @@ -6,6 +6,6 @@ "connected_to_master" ], "id": 1102, - "socket": "vcu_tcp" + "socket": "control_station_udp" } ] diff --git a/boards/LCU-mock/sockets.json b/boards/LCU-mock/sockets.json index 448d992..48eb9ba 100644 --- a/boards/LCU-mock/sockets.json +++ b/boards/LCU-mock/sockets.json @@ -3,5 +3,11 @@ "type": "ServerSocket", "name": "vcu_tcp", "port": 50500 + }, + { + "type": "DatagramSocket", + "name": "control_station_udp", + "remote_ip": "192.168.0.9", + "port": 50400 } ] From 8301c88b08abf35d01d31b04351459c02c3e6dea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 16:48:54 +0200 Subject: [PATCH 22/45] Schedule mock status telemetry --- boards/HVBMS-MOCK/packets.json | 2 ++ boards/LCU-mock/packets.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/boards/HVBMS-MOCK/packets.json b/boards/HVBMS-MOCK/packets.json index d964ece..88b5439 100644 --- a/boards/HVBMS-MOCK/packets.json +++ b/boards/HVBMS-MOCK/packets.json @@ -6,6 +6,8 @@ "connected_to_master" ], "id": 1101, + "period_type": "ms", + "period": 100, "socket": "control_station_udp" } ] diff --git a/boards/LCU-mock/packets.json b/boards/LCU-mock/packets.json index 08f324b..e426d92 100644 --- a/boards/LCU-mock/packets.json +++ b/boards/LCU-mock/packets.json @@ -6,6 +6,8 @@ "connected_to_master" ], "id": 1102, + "period_type": "ms", + "period": 100, "socket": "control_station_udp" } ] From 89318450c0698f4d8d425ec6b41511b0ddcea4df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 17:01:16 +0200 Subject: [PATCH 23/45] Use unique mock control station sockets --- boards/HVBMS-MOCK/packets.json | 4 ++-- boards/HVBMS-MOCK/sockets.json | 2 +- boards/LCU-mock/packets.json | 4 ++-- boards/LCU-mock/sockets.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/HVBMS-MOCK/packets.json b/boards/HVBMS-MOCK/packets.json index 88b5439..7202cd0 100644 --- a/boards/HVBMS-MOCK/packets.json +++ b/boards/HVBMS-MOCK/packets.json @@ -1,13 +1,13 @@ [ { "type": "data", - "name": "Mock Connection Status", + "name": "HVBMS Mock Connection Status", "variables": [ "connected_to_master" ], "id": 1101, "period_type": "ms", "period": 100, - "socket": "control_station_udp" + "socket": "hvbms_mock_control_station_udp" } ] diff --git a/boards/HVBMS-MOCK/sockets.json b/boards/HVBMS-MOCK/sockets.json index 48eb9ba..28e699d 100644 --- a/boards/HVBMS-MOCK/sockets.json +++ b/boards/HVBMS-MOCK/sockets.json @@ -6,7 +6,7 @@ }, { "type": "DatagramSocket", - "name": "control_station_udp", + "name": "hvbms_mock_control_station_udp", "remote_ip": "192.168.0.9", "port": 50400 } diff --git a/boards/LCU-mock/packets.json b/boards/LCU-mock/packets.json index e426d92..22d01ef 100644 --- a/boards/LCU-mock/packets.json +++ b/boards/LCU-mock/packets.json @@ -1,13 +1,13 @@ [ { "type": "data", - "name": "Mock Connection Status", + "name": "LCU Mock Connection Status", "variables": [ "connected_to_master" ], "id": 1102, "period_type": "ms", "period": 100, - "socket": "control_station_udp" + "socket": "lcu_mock_control_station_udp" } ] diff --git a/boards/LCU-mock/sockets.json b/boards/LCU-mock/sockets.json index 48eb9ba..23b0117 100644 --- a/boards/LCU-mock/sockets.json +++ b/boards/LCU-mock/sockets.json @@ -6,7 +6,7 @@ }, { "type": "DatagramSocket", - "name": "control_station_udp", + "name": "lcu_mock_control_station_udp", "remote_ip": "192.168.0.9", "port": 50400 } From 9407d48eda5ca1fd9cf66ba681bd6a6a03d24582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 17:11:19 +0200 Subject: [PATCH 24/45] Hide mock TCP sockets from control station --- boards/HVBMS-MOCK/sockets.json | 5 ----- boards/LCU-mock/sockets.json | 5 ----- 2 files changed, 10 deletions(-) diff --git a/boards/HVBMS-MOCK/sockets.json b/boards/HVBMS-MOCK/sockets.json index 28e699d..f56d796 100644 --- a/boards/HVBMS-MOCK/sockets.json +++ b/boards/HVBMS-MOCK/sockets.json @@ -1,9 +1,4 @@ [ - { - "type": "ServerSocket", - "name": "vcu_tcp", - "port": 50500 - }, { "type": "DatagramSocket", "name": "hvbms_mock_control_station_udp", diff --git a/boards/LCU-mock/sockets.json b/boards/LCU-mock/sockets.json index 23b0117..50044d9 100644 --- a/boards/LCU-mock/sockets.json +++ b/boards/LCU-mock/sockets.json @@ -1,9 +1,4 @@ [ - { - "type": "ServerSocket", - "name": "vcu_tcp", - "port": 50500 - }, { "type": "DatagramSocket", "name": "lcu_mock_control_station_udp", From a54d4444448f6dd369bec68ed1487ca00d30e9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 17:21:53 +0200 Subject: [PATCH 25/45] rename --- boards.json | 4 ++-- .../{HVBMS-MOCK/HVBMS-MOCK.json => HVBMSMOCK/HVBMSMOCK.json} | 4 ++-- .../HVBMSMOCK_measurements.json} | 0 boards/{HVBMS-MOCK => HVBMSMOCK}/packets.json | 0 boards/{HVBMS-MOCK => HVBMSMOCK}/sockets.json | 0 boards/{LCU-mock/LCU-mock.json => LCUMOCK/LCUMOCK.json} | 2 +- .../LCUMOCK_measurements.json} | 0 boards/{LCU-mock => LCUMOCK}/packets.json | 0 boards/{LCU-mock => LCUMOCK}/sockets.json | 0 9 files changed, 5 insertions(+), 5 deletions(-) rename boards/{HVBMS-MOCK/HVBMS-MOCK.json => HVBMSMOCK/HVBMSMOCK.json} (71%) rename boards/{HVBMS-MOCK/HVBMS-MOCK_measurements.json => HVBMSMOCK/HVBMSMOCK_measurements.json} (100%) rename boards/{HVBMS-MOCK => HVBMSMOCK}/packets.json (100%) rename boards/{HVBMS-MOCK => HVBMSMOCK}/sockets.json (100%) rename boards/{LCU-mock/LCU-mock.json => LCUMOCK/LCUMOCK.json} (82%) rename boards/{LCU-mock/LCU-mock_measurements.json => LCUMOCK/LCUMOCK_measurements.json} (100%) rename boards/{LCU-mock => LCUMOCK}/packets.json (100%) rename boards/{LCU-mock => LCUMOCK}/sockets.json (100%) diff --git a/boards.json b/boards.json index 30f6f27..45185d1 100644 --- a/boards.json +++ b/boards.json @@ -1,5 +1,5 @@ { "VCU": "boards/VCU/VCU.json", - "HVBMS-MOCK": "boards/HVBMS-MOCK/HVBMS-MOCK.json", - "LCU-mock": "boards/LCU-mock/LCU-mock.json" + "HVBMSMOCK": "boards/HVBMSMOCK/HVBMSMOCK.json", + "LCUMOCK": "boards/LCUMOCK/LCUMOCK.json" } diff --git a/boards/HVBMS-MOCK/HVBMS-MOCK.json b/boards/HVBMSMOCK/HVBMSMOCK.json similarity index 71% rename from boards/HVBMS-MOCK/HVBMS-MOCK.json rename to boards/HVBMSMOCK/HVBMSMOCK.json index 7e2d894..b23d5c5 100644 --- a/boards/HVBMS-MOCK/HVBMS-MOCK.json +++ b/boards/HVBMSMOCK/HVBMSMOCK.json @@ -1,8 +1,8 @@ { - "board_id": 12, + "board_id": 17, "board_ip": "192.168.1.7", "measurements": [ - "HVBMS-MOCK_measurements.json" + "HVBMSMOCK_measurements.json" ], "packets": [ "packets.json" diff --git a/boards/HVBMS-MOCK/HVBMS-MOCK_measurements.json b/boards/HVBMSMOCK/HVBMSMOCK_measurements.json similarity index 100% rename from boards/HVBMS-MOCK/HVBMS-MOCK_measurements.json rename to boards/HVBMSMOCK/HVBMSMOCK_measurements.json diff --git a/boards/HVBMS-MOCK/packets.json b/boards/HVBMSMOCK/packets.json similarity index 100% rename from boards/HVBMS-MOCK/packets.json rename to boards/HVBMSMOCK/packets.json diff --git a/boards/HVBMS-MOCK/sockets.json b/boards/HVBMSMOCK/sockets.json similarity index 100% rename from boards/HVBMS-MOCK/sockets.json rename to boards/HVBMSMOCK/sockets.json diff --git a/boards/LCU-mock/LCU-mock.json b/boards/LCUMOCK/LCUMOCK.json similarity index 82% rename from boards/LCU-mock/LCU-mock.json rename to boards/LCUMOCK/LCUMOCK.json index d59205d..68f9e52 100644 --- a/boards/LCU-mock/LCU-mock.json +++ b/boards/LCUMOCK/LCUMOCK.json @@ -2,7 +2,7 @@ "board_id": 13, "board_ip": "192.168.1.4", "measurements": [ - "LCU-mock_measurements.json" + "LCUMOCK_measurements.json" ], "packets": [ "packets.json" diff --git a/boards/LCU-mock/LCU-mock_measurements.json b/boards/LCUMOCK/LCUMOCK_measurements.json similarity index 100% rename from boards/LCU-mock/LCU-mock_measurements.json rename to boards/LCUMOCK/LCUMOCK_measurements.json diff --git a/boards/LCU-mock/packets.json b/boards/LCUMOCK/packets.json similarity index 100% rename from boards/LCU-mock/packets.json rename to boards/LCUMOCK/packets.json diff --git a/boards/LCU-mock/sockets.json b/boards/LCUMOCK/sockets.json similarity index 100% rename from boards/LCU-mock/sockets.json rename to boards/LCUMOCK/sockets.json From 1a8c980e01a14a172e50963323d8f7598410d8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 19:11:37 +0200 Subject: [PATCH 26/45] Removed uneeded packets --- boards/VCU/packets.json | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 0e182b4..7a72d3d 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -93,45 +93,6 @@ "period": 100, "socket": "control_station_udp" }, - { - "type": "data", - "name": "HVBMS State", - "variables": [ - "hvbms_state" - ], - "id": 941 - }, - { - "type": "data", - "name": "LCU State", - "variables": [ - "lcu_vertical_state", - "lcu_horizontal_state" - ], - "id": 63 - }, - { - "type": "data", - "name": "PCU State", - "variables": [ - "pcu_state" - ], - "id": 64 - }, - { - "type": "data", - "name": "Remote States", - "variables": [ - "hvbms_state", - "pcu_state", - "lcu_vertical_state", - "lcu_horizontal_state" - ], - "id": 65, - "period_type": "ms", - "period": 100, - "socket": "control_station_udp" - }, { "type": "data", "name": "VCU State For PCU", From b5a337fff53533ba40c66509e07db33aa670facb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 19:11:48 +0200 Subject: [PATCH 27/45] Fixed enum measurements --- boards/VCU/VCU_measurements.json | 41 +++++++++++++++----------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 11d079b..facb5cb 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -2,12 +2,29 @@ { "id": "general_state", "name": "General State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Connecting", + "Operational", + "Fault" + ] }, { "id": "operational_state", "name": "Operational State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Idle", + "Connected", + "Manteinance", + "Precharging", + "HVActive", + "Ready", + "Propulsion", + "StaticLevitation", + "DynamicLevitation", + "Fault" + ] }, { "id": "recovery_status", @@ -137,26 +154,6 @@ "name": "Required Peers Connected", "type": "bool" }, - { - "id": "hvbms_state", - "name": "HVBMS State", - "type": "uint8" - }, - { - "id": "pcu_state", - "name": "PCU State", - "type": "uint8" - }, - { - "id": "lcu_vertical_state", - "name": "LCU Vertical State", - "type": "uint8" - }, - { - "id": "lcu_horizontal_state", - "name": "LCU Horizontal State", - "type": "uint8" - }, { "id": "cooling_pump_duty", "name": "Cooling Pump Duty", From a7836c1a3f10ece5d58577327f744dfc7d87074e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 19:17:55 +0200 Subject: [PATCH 28/45] Removed duplicated orders --- boards/VCU/orders.json | 91 ------------------------------------------ 1 file changed, 91 deletions(-) diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index 099cebf..1a67b9a 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -149,97 +149,6 @@ "name": "Stop booster", "type": "order" }, - { - "id": 900, - "name": "Remote close contactors", - "type": "order" - }, - { - "id": 901, - "name": "Remote open contactors", - "type": "order" - }, - { - "id": 902, - "name": "Remote precharge", - "type": "order" - }, - { - "id": 1000, - "name": "Remote runs", - "type": "order", - "variables": [ - "run_id" - ] - }, - { - "id": 1001, - "name": "Remote SVPWM", - "type": "order", - "variables": [ - "modulation_frequency_1", - "commutation_frequency_1", - "reference_voltage_1", - "max_voltage_1", - "motor_direction_1" - ] - }, - { - "id": 1002, - "name": "Remote stop motor", - "type": "order" - }, - { - "id": 1003, - "name": "Remote current control", - "type": "order", - "variables": [ - "modulation_frequency_2", - "commutation_frequency_2", - "reference_current_2", - "max_voltage_2", - "motor_direction_2" - ] - }, - { - "id": 1004, - "name": "Remote speed control", - "type": "order", - "variables": [ - "reference_speed_3", - "commutation_frequency_3", - "max_voltage_3", - "motor_direction_3" - ] - }, - { - "id": 1005, - "name": "Remote motor brake", - "type": "order" - }, - { - "id": 9989, - "name": "Remote levitation", - "type": "order", - "variables": [ - "levitation_distance" - ] - }, - { - "id": 9993, - "name": "Remote stop levitation", - "type": "order" - }, - { - "id": 1790, - "name": "Remote booster", - "type": "order" - }, - { - "id": 1789, - "name": "Remote stop booster", - "type": "order" - }, { "id": 1788, "name": "Forward booster", From 163f67251283edca7e1b245bcab8114185a29932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20S=C3=A1ez?= Date: Sun, 21 Jun 2026 19:18:01 +0200 Subject: [PATCH 29/45] removed unused packet --- boards/VCU/packets.json | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 7a72d3d..48e7856 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -92,16 +92,5 @@ "period_type": "ms", "period": 100, "socket": "control_station_udp" - }, - { - "type": "data", - "name": "VCU State For PCU", - "variables": [ - "recovery_status" - ], - "id": 66, - "period_type": "ms", - "period": 100, - "socket": "pcu_udp" } ] From f5d4762b79fc0aae5a2a5988fc98b46d1954c7cf Mon Sep 17 00:00:00 2001 From: FoniksFox Date: Tue, 23 Jun 2026 16:23:38 +0200 Subject: [PATCH 30/45] things --- boards.json | 3 ++- boards/HVBMSMOCK/HVBMSMOCK_measurements.json | 5 ++++ boards/HVBMSMOCK/packets.json | 11 +++++++++ boards/HVBMSMOCK/sockets.json | 6 +++++ boards/LCUMOCK/LCUMOCK_measurements.json | 10 ++++++++ boards/LCUMOCK/packets.json | 12 ++++++++++ boards/LCUMOCK/sockets.json | 6 +++++ boards/PCUMOCK/PCUMOCK.json | 13 +++++++++++ boards/PCUMOCK/PCUMOCK_measurements.json | 12 ++++++++++ boards/PCUMOCK/packets.json | 24 ++++++++++++++++++++ boards/PCUMOCK/sockets.json | 14 ++++++++++++ 11 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 boards/PCUMOCK/PCUMOCK.json create mode 100644 boards/PCUMOCK/PCUMOCK_measurements.json create mode 100644 boards/PCUMOCK/packets.json create mode 100644 boards/PCUMOCK/sockets.json diff --git a/boards.json b/boards.json index 45185d1..ac08fde 100644 --- a/boards.json +++ b/boards.json @@ -1,5 +1,6 @@ { "VCU": "boards/VCU/VCU.json", "HVBMSMOCK": "boards/HVBMSMOCK/HVBMSMOCK.json", - "LCUMOCK": "boards/LCUMOCK/LCUMOCK.json" + "LCUMOCK": "boards/LCUMOCK/LCUMOCK.json", + "PCUMOCK": "boards/PCUMOCK/PCUMOCK.json" } diff --git a/boards/HVBMSMOCK/HVBMSMOCK_measurements.json b/boards/HVBMSMOCK/HVBMSMOCK_measurements.json index 982a363..0665813 100644 --- a/boards/HVBMSMOCK/HVBMSMOCK_measurements.json +++ b/boards/HVBMSMOCK/HVBMSMOCK_measurements.json @@ -3,5 +3,10 @@ "id": "connected_to_master", "name": "Connected To Master", "type": "bool" + }, + { + "id": "hvbms_state", + "name": "HVBMS State", + "type": "uint8" } ] diff --git a/boards/HVBMSMOCK/packets.json b/boards/HVBMSMOCK/packets.json index 7202cd0..eee034f 100644 --- a/boards/HVBMSMOCK/packets.json +++ b/boards/HVBMSMOCK/packets.json @@ -9,5 +9,16 @@ "period_type": "ms", "period": 100, "socket": "hvbms_mock_control_station_udp" + }, + { + "type": "data", + "name": "HVBMS State", + "variables": [ + "hvbms_state" + ], + "id": 941, + "period_type": "ms", + "period": 1, + "socket": "hvbms_state_udp" } ] diff --git a/boards/HVBMSMOCK/sockets.json b/boards/HVBMSMOCK/sockets.json index f56d796..149c557 100644 --- a/boards/HVBMSMOCK/sockets.json +++ b/boards/HVBMSMOCK/sockets.json @@ -4,5 +4,11 @@ "name": "hvbms_mock_control_station_udp", "remote_ip": "192.168.0.9", "port": 50400 + }, + { + "type": "DatagramSocket", + "name": "hvbms_state_udp", + "remote_ip": "192.168.1.3", + "port": 50403 } ] diff --git a/boards/LCUMOCK/LCUMOCK_measurements.json b/boards/LCUMOCK/LCUMOCK_measurements.json index 982a363..97ba0d0 100644 --- a/boards/LCUMOCK/LCUMOCK_measurements.json +++ b/boards/LCUMOCK/LCUMOCK_measurements.json @@ -3,5 +3,15 @@ "id": "connected_to_master", "name": "Connected To Master", "type": "bool" + }, + { + "id": "lcu_vertical_state", + "name": "LCU Vertical State", + "type": "uint8" + }, + { + "id": "lcu_horizontal_state", + "name": "LCU Horizontal State", + "type": "uint8" } ] diff --git a/boards/LCUMOCK/packets.json b/boards/LCUMOCK/packets.json index 22d01ef..481d390 100644 --- a/boards/LCUMOCK/packets.json +++ b/boards/LCUMOCK/packets.json @@ -9,5 +9,17 @@ "period_type": "ms", "period": 100, "socket": "lcu_mock_control_station_udp" + }, + { + "type": "data", + "name": "LCU State", + "variables": [ + "lcu_vertical_state", + "lcu_horizontal_state" + ], + "id": 63, + "period_type": "ms", + "period": 1, + "socket": "lcu_state_udp" } ] diff --git a/boards/LCUMOCK/sockets.json b/boards/LCUMOCK/sockets.json index 50044d9..60f0506 100644 --- a/boards/LCUMOCK/sockets.json +++ b/boards/LCUMOCK/sockets.json @@ -4,5 +4,11 @@ "name": "lcu_mock_control_station_udp", "remote_ip": "192.168.0.9", "port": 50400 + }, + { + "type": "DatagramSocket", + "name": "lcu_state_udp", + "remote_ip": "192.168.1.3", + "port": 50405 } ] diff --git a/boards/PCUMOCK/PCUMOCK.json b/boards/PCUMOCK/PCUMOCK.json new file mode 100644 index 0000000..dca38ee --- /dev/null +++ b/boards/PCUMOCK/PCUMOCK.json @@ -0,0 +1,13 @@ +{ + "board_id": 18, + "board_ip": "192.168.1.5", + "measurements": [ + "PCUMOCK_measurements.json" + ], + "packets": [ + "packets.json" + ], + "sockets": [ + "sockets.json" + ] +} diff --git a/boards/PCUMOCK/PCUMOCK_measurements.json b/boards/PCUMOCK/PCUMOCK_measurements.json new file mode 100644 index 0000000..bd13df8 --- /dev/null +++ b/boards/PCUMOCK/PCUMOCK_measurements.json @@ -0,0 +1,12 @@ +[ + { + "id": "connected_to_master", + "name": "Connected To Master", + "type": "bool" + }, + { + "id": "pcu_state", + "name": "PCU State", + "type": "uint8" + } +] diff --git a/boards/PCUMOCK/packets.json b/boards/PCUMOCK/packets.json new file mode 100644 index 0000000..bc3f45e --- /dev/null +++ b/boards/PCUMOCK/packets.json @@ -0,0 +1,24 @@ +[ + { + "type": "data", + "name": "PCU Mock Connection Status", + "variables": [ + "connected_to_master" + ], + "id": 1103, + "period_type": "ms", + "period": 100, + "socket": "pcu_mock_control_station_udp" + }, + { + "type": "data", + "name": "PCU State", + "variables": [ + "pcu_state" + ], + "id": 64, + "period_type": "ms", + "period": 1, + "socket": "pcu_state_udp" + } +] diff --git a/boards/PCUMOCK/sockets.json b/boards/PCUMOCK/sockets.json new file mode 100644 index 0000000..c2c8a39 --- /dev/null +++ b/boards/PCUMOCK/sockets.json @@ -0,0 +1,14 @@ +[ + { + "type": "DatagramSocket", + "name": "pcu_mock_control_station_udp", + "remote_ip": "192.168.0.9", + "port": 50400 + }, + { + "type": "DatagramSocket", + "name": "pcu_state_udp", + "remote_ip": "192.168.1.3", + "port": 50402 + } +] From eb9bda836d7ea064a5d19d2b6b68b590fc35b29b Mon Sep 17 00:00:00 2001 From: FoniksFox Date: Tue, 23 Jun 2026 17:11:58 +0200 Subject: [PATCH 31/45] things 2 --- boards/VCU/VCU_measurements.json | 20 +++++++++++++ boards/VCU/packets.json | 50 ++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index facb5cb..e2df92f 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -269,5 +269,25 @@ "type": "float32", "podUnits": "mm", "displayUnits": "mm" + }, + { + "id": "hvbms_state", + "name": "HVBMS State", + "type": "uint8" + }, + { + "id": "pcu_state", + "name": "PCU State", + "type": "uint8" + }, + { + "id": "lcu_vertical_state", + "name": "LCU Vertical State", + "type": "uint8" + }, + { + "id": "lcu_horizontal_state", + "name": "LCU Horizontal State", + "type": "uint8" } ] diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 48e7856..0e182b4 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -92,5 +92,55 @@ "period_type": "ms", "period": 100, "socket": "control_station_udp" + }, + { + "type": "data", + "name": "HVBMS State", + "variables": [ + "hvbms_state" + ], + "id": 941 + }, + { + "type": "data", + "name": "LCU State", + "variables": [ + "lcu_vertical_state", + "lcu_horizontal_state" + ], + "id": 63 + }, + { + "type": "data", + "name": "PCU State", + "variables": [ + "pcu_state" + ], + "id": 64 + }, + { + "type": "data", + "name": "Remote States", + "variables": [ + "hvbms_state", + "pcu_state", + "lcu_vertical_state", + "lcu_horizontal_state" + ], + "id": 65, + "period_type": "ms", + "period": 100, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "VCU State For PCU", + "variables": [ + "recovery_status" + ], + "id": 66, + "period_type": "ms", + "period": 100, + "socket": "pcu_udp" } ] From dccff55cc4c539848599a8171e59f0f7c5c75ac7 Mon Sep 17 00:00:00 2001 From: FoniksFox Date: Tue, 23 Jun 2026 17:14:17 +0200 Subject: [PATCH 32/45] repair things 2 --- boards/VCU/packets.json | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 0e182b4..a3ec412 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -93,31 +93,6 @@ "period": 100, "socket": "control_station_udp" }, - { - "type": "data", - "name": "HVBMS State", - "variables": [ - "hvbms_state" - ], - "id": 941 - }, - { - "type": "data", - "name": "LCU State", - "variables": [ - "lcu_vertical_state", - "lcu_horizontal_state" - ], - "id": 63 - }, - { - "type": "data", - "name": "PCU State", - "variables": [ - "pcu_state" - ], - "id": 64 - }, { "type": "data", "name": "Remote States", From 4b134d29001a5887b174a72c0c4de224235f19aa Mon Sep 17 00:00:00 2001 From: FoniksFox Date: Tue, 23 Jun 2026 18:12:45 +0200 Subject: [PATCH 33/45] Add enums --- boards/HVBMSMOCK/HVBMSMOCK_measurements.json | 7 ++++- boards/LCUMOCK/LCUMOCK_measurements.json | 14 ++++++++-- boards/PCUMOCK/PCUMOCK_measurements.json | 7 ++++- boards/VCU/VCU_measurements.json | 28 +++++++++++++++++--- 4 files changed, 48 insertions(+), 8 deletions(-) diff --git a/boards/HVBMSMOCK/HVBMSMOCK_measurements.json b/boards/HVBMSMOCK/HVBMSMOCK_measurements.json index 0665813..1ad679f 100644 --- a/boards/HVBMSMOCK/HVBMSMOCK_measurements.json +++ b/boards/HVBMSMOCK/HVBMSMOCK_measurements.json @@ -7,6 +7,11 @@ { "id": "hvbms_state", "name": "HVBMS State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Opened", + "\u2014", + "Closed" + ] } ] diff --git a/boards/LCUMOCK/LCUMOCK_measurements.json b/boards/LCUMOCK/LCUMOCK_measurements.json index 97ba0d0..5764bfc 100644 --- a/boards/LCUMOCK/LCUMOCK_measurements.json +++ b/boards/LCUMOCK/LCUMOCK_measurements.json @@ -7,11 +7,21 @@ { "id": "lcu_vertical_state", "name": "LCU Vertical State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Stopped", + "\u2014", + "\u2014", + "Levitation" + ] }, { "id": "lcu_horizontal_state", "name": "LCU Horizontal State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Disabled", + "Enabled" + ] } ] diff --git a/boards/PCUMOCK/PCUMOCK_measurements.json b/boards/PCUMOCK/PCUMOCK_measurements.json index bd13df8..3d59391 100644 --- a/boards/PCUMOCK/PCUMOCK_measurements.json +++ b/boards/PCUMOCK/PCUMOCK_measurements.json @@ -7,6 +7,11 @@ { "id": "pcu_state", "name": "PCU State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Stopped", + "\u2014", + "Propulsion" + ] } ] diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index e2df92f..36e8693 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -273,21 +273,41 @@ { "id": "hvbms_state", "name": "HVBMS State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Opened", + "\u2014", + "Closed" + ] }, { "id": "pcu_state", "name": "PCU State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Stopped", + "\u2014", + "Propulsion" + ] }, { "id": "lcu_vertical_state", "name": "LCU Vertical State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Stopped", + "\u2014", + "\u2014", + "Levitation" + ] }, { "id": "lcu_horizontal_state", "name": "LCU Horizontal State", - "type": "uint8" + "type": "uint8", + "enumValues": [ + "Disabled", + "Enabled" + ] } ] From bbb10cea7b7b8e1d65b16902063f51dd71cf0506 Mon Sep 17 00:00:00 2001 From: FoniksFox Date: Tue, 23 Jun 2026 18:21:36 +0200 Subject: [PATCH 34/45] revert one thing --- boards/VCU/VCU_measurements.json | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 36e8693..e2df92f 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -273,41 +273,21 @@ { "id": "hvbms_state", "name": "HVBMS State", - "type": "uint8", - "enumValues": [ - "Opened", - "\u2014", - "Closed" - ] + "type": "uint8" }, { "id": "pcu_state", "name": "PCU State", - "type": "uint8", - "enumValues": [ - "Stopped", - "\u2014", - "Propulsion" - ] + "type": "uint8" }, { "id": "lcu_vertical_state", "name": "LCU Vertical State", - "type": "uint8", - "enumValues": [ - "Stopped", - "\u2014", - "\u2014", - "Levitation" - ] + "type": "uint8" }, { "id": "lcu_horizontal_state", "name": "LCU Horizontal State", - "type": "uint8", - "enumValues": [ - "Disabled", - "Enabled" - ] + "type": "uint8" } ] From d2c69465ebadfd92988739dcda8866d325c13674 Mon Sep 17 00:00:00 2001 From: FoniksFox Date: Tue, 23 Jun 2026 18:38:48 +0200 Subject: [PATCH 35/45] I don't know, whatever --- boards/HVBMSMOCK/HVBMSMOCK_measurements.json | 4 +-- boards/LCUMOCK/LCUMOCK_measurements.json | 8 +++--- boards/PCUMOCK/PCUMOCK_measurements.json | 4 +-- boards/VCU/VCU_measurements.json | 28 +++++++++++++++++--- 4 files changed, 32 insertions(+), 12 deletions(-) diff --git a/boards/HVBMSMOCK/HVBMSMOCK_measurements.json b/boards/HVBMSMOCK/HVBMSMOCK_measurements.json index 1ad679f..ceb872b 100644 --- a/boards/HVBMSMOCK/HVBMSMOCK_measurements.json +++ b/boards/HVBMSMOCK/HVBMSMOCK_measurements.json @@ -7,10 +7,10 @@ { "id": "hvbms_state", "name": "HVBMS State", - "type": "uint8", + "type": "enum", "enumValues": [ "Opened", - "\u2014", + "gap_1", "Closed" ] } diff --git a/boards/LCUMOCK/LCUMOCK_measurements.json b/boards/LCUMOCK/LCUMOCK_measurements.json index 5764bfc..4c640f4 100644 --- a/boards/LCUMOCK/LCUMOCK_measurements.json +++ b/boards/LCUMOCK/LCUMOCK_measurements.json @@ -7,18 +7,18 @@ { "id": "lcu_vertical_state", "name": "LCU Vertical State", - "type": "uint8", + "type": "enum", "enumValues": [ "Stopped", - "\u2014", - "\u2014", + "gap_1", + "gap_2", "Levitation" ] }, { "id": "lcu_horizontal_state", "name": "LCU Horizontal State", - "type": "uint8", + "type": "enum", "enumValues": [ "Disabled", "Enabled" diff --git a/boards/PCUMOCK/PCUMOCK_measurements.json b/boards/PCUMOCK/PCUMOCK_measurements.json index 3d59391..7a8eae1 100644 --- a/boards/PCUMOCK/PCUMOCK_measurements.json +++ b/boards/PCUMOCK/PCUMOCK_measurements.json @@ -7,10 +7,10 @@ { "id": "pcu_state", "name": "PCU State", - "type": "uint8", + "type": "enum", "enumValues": [ "Stopped", - "\u2014", + "gap_1", "Propulsion" ] } diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index e2df92f..7ddb3bd 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -273,21 +273,41 @@ { "id": "hvbms_state", "name": "HVBMS State", - "type": "uint8" + "type": "enum", + "enumValues": [ + "Opened", + "gap_1", + "Closed" + ] }, { "id": "pcu_state", "name": "PCU State", - "type": "uint8" + "type": "enum", + "enumValues": [ + "Stopped", + "gap_1", + "Propulsion" + ] }, { "id": "lcu_vertical_state", "name": "LCU Vertical State", - "type": "uint8" + "type": "enum", + "enumValues": [ + "Stopped", + "gap_1", + "gap_2", + "Levitation" + ] }, { "id": "lcu_horizontal_state", "name": "LCU Horizontal State", - "type": "uint8" + "type": "enum", + "enumValues": [ + "Disabled", + "Enabled" + ] } ] From c97090d210c5c3546c0e1c4b48ad345157ce4862 Mon Sep 17 00:00:00 2001 From: FoniksFox Date: Tue, 23 Jun 2026 18:46:55 +0200 Subject: [PATCH 36/45] ah --- boards/VCU/VCU_measurements.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 7ddb3bd..24c40d9 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -2,7 +2,7 @@ { "id": "general_state", "name": "General State", - "type": "uint8", + "type": "enum", "enumValues": [ "Connecting", "Operational", @@ -12,7 +12,7 @@ { "id": "operational_state", "name": "Operational State", - "type": "uint8", + "type": "enum", "enumValues": [ "Idle", "Connected", From 9c3c8acee2da13d729621289ddd6ac652db5b88b Mon Sep 17 00:00:00 2001 From: Javier Ribal del Rio Date: Sun, 28 Jun 2026 18:38:20 +0200 Subject: [PATCH 37/45] fix: remove mock packages --- boards.json | 5 +--- boards/HVBMSMOCK/HVBMSMOCK.json | 13 ---------- boards/HVBMSMOCK/HVBMSMOCK_measurements.json | 17 ------------ boards/HVBMSMOCK/packets.json | 24 ----------------- boards/HVBMSMOCK/sockets.json | 14 ---------- boards/LCUMOCK/LCUMOCK.json | 13 ---------- boards/LCUMOCK/LCUMOCK_measurements.json | 27 -------------------- boards/LCUMOCK/packets.json | 25 ------------------ boards/LCUMOCK/sockets.json | 14 ---------- boards/PCUMOCK/PCUMOCK.json | 13 ---------- boards/PCUMOCK/PCUMOCK_measurements.json | 17 ------------ boards/PCUMOCK/packets.json | 24 ----------------- boards/PCUMOCK/sockets.json | 14 ---------- 13 files changed, 1 insertion(+), 219 deletions(-) delete mode 100644 boards/HVBMSMOCK/HVBMSMOCK.json delete mode 100644 boards/HVBMSMOCK/HVBMSMOCK_measurements.json delete mode 100644 boards/HVBMSMOCK/packets.json delete mode 100644 boards/HVBMSMOCK/sockets.json delete mode 100644 boards/LCUMOCK/LCUMOCK.json delete mode 100644 boards/LCUMOCK/LCUMOCK_measurements.json delete mode 100644 boards/LCUMOCK/packets.json delete mode 100644 boards/LCUMOCK/sockets.json delete mode 100644 boards/PCUMOCK/PCUMOCK.json delete mode 100644 boards/PCUMOCK/PCUMOCK_measurements.json delete mode 100644 boards/PCUMOCK/packets.json delete mode 100644 boards/PCUMOCK/sockets.json diff --git a/boards.json b/boards.json index ac08fde..08974f8 100644 --- a/boards.json +++ b/boards.json @@ -1,6 +1,3 @@ { - "VCU": "boards/VCU/VCU.json", - "HVBMSMOCK": "boards/HVBMSMOCK/HVBMSMOCK.json", - "LCUMOCK": "boards/LCUMOCK/LCUMOCK.json", - "PCUMOCK": "boards/PCUMOCK/PCUMOCK.json" + "VCU": "boards/VCU/VCU.json" } diff --git a/boards/HVBMSMOCK/HVBMSMOCK.json b/boards/HVBMSMOCK/HVBMSMOCK.json deleted file mode 100644 index b23d5c5..0000000 --- a/boards/HVBMSMOCK/HVBMSMOCK.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "board_id": 17, - "board_ip": "192.168.1.7", - "measurements": [ - "HVBMSMOCK_measurements.json" - ], - "packets": [ - "packets.json" - ], - "sockets": [ - "sockets.json" - ] -} diff --git a/boards/HVBMSMOCK/HVBMSMOCK_measurements.json b/boards/HVBMSMOCK/HVBMSMOCK_measurements.json deleted file mode 100644 index ceb872b..0000000 --- a/boards/HVBMSMOCK/HVBMSMOCK_measurements.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "id": "connected_to_master", - "name": "Connected To Master", - "type": "bool" - }, - { - "id": "hvbms_state", - "name": "HVBMS State", - "type": "enum", - "enumValues": [ - "Opened", - "gap_1", - "Closed" - ] - } -] diff --git a/boards/HVBMSMOCK/packets.json b/boards/HVBMSMOCK/packets.json deleted file mode 100644 index eee034f..0000000 --- a/boards/HVBMSMOCK/packets.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "type": "data", - "name": "HVBMS Mock Connection Status", - "variables": [ - "connected_to_master" - ], - "id": 1101, - "period_type": "ms", - "period": 100, - "socket": "hvbms_mock_control_station_udp" - }, - { - "type": "data", - "name": "HVBMS State", - "variables": [ - "hvbms_state" - ], - "id": 941, - "period_type": "ms", - "period": 1, - "socket": "hvbms_state_udp" - } -] diff --git a/boards/HVBMSMOCK/sockets.json b/boards/HVBMSMOCK/sockets.json deleted file mode 100644 index 149c557..0000000 --- a/boards/HVBMSMOCK/sockets.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "type": "DatagramSocket", - "name": "hvbms_mock_control_station_udp", - "remote_ip": "192.168.0.9", - "port": 50400 - }, - { - "type": "DatagramSocket", - "name": "hvbms_state_udp", - "remote_ip": "192.168.1.3", - "port": 50403 - } -] diff --git a/boards/LCUMOCK/LCUMOCK.json b/boards/LCUMOCK/LCUMOCK.json deleted file mode 100644 index 68f9e52..0000000 --- a/boards/LCUMOCK/LCUMOCK.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "board_id": 13, - "board_ip": "192.168.1.4", - "measurements": [ - "LCUMOCK_measurements.json" - ], - "packets": [ - "packets.json" - ], - "sockets": [ - "sockets.json" - ] -} diff --git a/boards/LCUMOCK/LCUMOCK_measurements.json b/boards/LCUMOCK/LCUMOCK_measurements.json deleted file mode 100644 index 4c640f4..0000000 --- a/boards/LCUMOCK/LCUMOCK_measurements.json +++ /dev/null @@ -1,27 +0,0 @@ -[ - { - "id": "connected_to_master", - "name": "Connected To Master", - "type": "bool" - }, - { - "id": "lcu_vertical_state", - "name": "LCU Vertical State", - "type": "enum", - "enumValues": [ - "Stopped", - "gap_1", - "gap_2", - "Levitation" - ] - }, - { - "id": "lcu_horizontal_state", - "name": "LCU Horizontal State", - "type": "enum", - "enumValues": [ - "Disabled", - "Enabled" - ] - } -] diff --git a/boards/LCUMOCK/packets.json b/boards/LCUMOCK/packets.json deleted file mode 100644 index 481d390..0000000 --- a/boards/LCUMOCK/packets.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "type": "data", - "name": "LCU Mock Connection Status", - "variables": [ - "connected_to_master" - ], - "id": 1102, - "period_type": "ms", - "period": 100, - "socket": "lcu_mock_control_station_udp" - }, - { - "type": "data", - "name": "LCU State", - "variables": [ - "lcu_vertical_state", - "lcu_horizontal_state" - ], - "id": 63, - "period_type": "ms", - "period": 1, - "socket": "lcu_state_udp" - } -] diff --git a/boards/LCUMOCK/sockets.json b/boards/LCUMOCK/sockets.json deleted file mode 100644 index 60f0506..0000000 --- a/boards/LCUMOCK/sockets.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "type": "DatagramSocket", - "name": "lcu_mock_control_station_udp", - "remote_ip": "192.168.0.9", - "port": 50400 - }, - { - "type": "DatagramSocket", - "name": "lcu_state_udp", - "remote_ip": "192.168.1.3", - "port": 50405 - } -] diff --git a/boards/PCUMOCK/PCUMOCK.json b/boards/PCUMOCK/PCUMOCK.json deleted file mode 100644 index dca38ee..0000000 --- a/boards/PCUMOCK/PCUMOCK.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "board_id": 18, - "board_ip": "192.168.1.5", - "measurements": [ - "PCUMOCK_measurements.json" - ], - "packets": [ - "packets.json" - ], - "sockets": [ - "sockets.json" - ] -} diff --git a/boards/PCUMOCK/PCUMOCK_measurements.json b/boards/PCUMOCK/PCUMOCK_measurements.json deleted file mode 100644 index 7a8eae1..0000000 --- a/boards/PCUMOCK/PCUMOCK_measurements.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "id": "connected_to_master", - "name": "Connected To Master", - "type": "bool" - }, - { - "id": "pcu_state", - "name": "PCU State", - "type": "enum", - "enumValues": [ - "Stopped", - "gap_1", - "Propulsion" - ] - } -] diff --git a/boards/PCUMOCK/packets.json b/boards/PCUMOCK/packets.json deleted file mode 100644 index bc3f45e..0000000 --- a/boards/PCUMOCK/packets.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "type": "data", - "name": "PCU Mock Connection Status", - "variables": [ - "connected_to_master" - ], - "id": 1103, - "period_type": "ms", - "period": 100, - "socket": "pcu_mock_control_station_udp" - }, - { - "type": "data", - "name": "PCU State", - "variables": [ - "pcu_state" - ], - "id": 64, - "period_type": "ms", - "period": 1, - "socket": "pcu_state_udp" - } -] diff --git a/boards/PCUMOCK/sockets.json b/boards/PCUMOCK/sockets.json deleted file mode 100644 index c2c8a39..0000000 --- a/boards/PCUMOCK/sockets.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "type": "DatagramSocket", - "name": "pcu_mock_control_station_udp", - "remote_ip": "192.168.0.9", - "port": 50400 - }, - { - "type": "DatagramSocket", - "name": "pcu_state_udp", - "remote_ip": "192.168.1.3", - "port": 50402 - } -] From 657c212aca1c9bd4fb9fb20abf833ff0e2084aea Mon Sep 17 00:00:00 2001 From: Javier Ribal del Rio Date: Sun, 28 Jun 2026 18:43:59 +0200 Subject: [PATCH 38/45] feat: add BLCU --- boards.json | 3 ++- boards/BLCU/BLCU.json | 12 +++++++++++ boards/BLCU/BLCU_measurements.json | 34 ++++++++++++++++++++++++++++++ boards/BLCU/orders.json | 15 +++++++++++++ boards/BLCU/packets.json | 28 ++++++++++++++++++++++++ boards/BLCU/sockets.json | 14 ++++++++++++ general_info.json | 7 ++++-- 7 files changed, 110 insertions(+), 3 deletions(-) create mode 100644 boards/BLCU/BLCU.json create mode 100644 boards/BLCU/BLCU_measurements.json create mode 100644 boards/BLCU/orders.json create mode 100644 boards/BLCU/packets.json create mode 100644 boards/BLCU/sockets.json diff --git a/boards.json b/boards.json index 08974f8..de9f2ea 100644 --- a/boards.json +++ b/boards.json @@ -1,3 +1,4 @@ { - "VCU": "boards/VCU/VCU.json" + "VCU": "boards/VCU/VCU.json", + "BLCU": "boards/BLCU/BLCU.json" } diff --git a/boards/BLCU/BLCU.json b/boards/BLCU/BLCU.json new file mode 100644 index 0000000..dee0cfb --- /dev/null +++ b/boards/BLCU/BLCU.json @@ -0,0 +1,12 @@ +{ + "board_id": 17, + "board_ip": "192.168.0.27", + "measurements": ["BLCU_measurements.json"], + "packets": [ + "packets.json", + "orders.json" + ], + "sockets": [ + "sockets.json" + ] +} diff --git a/boards/BLCU/BLCU_measurements.json b/boards/BLCU/BLCU_measurements.json new file mode 100644 index 0000000..f44182d --- /dev/null +++ b/boards/BLCU/BLCU_measurements.json @@ -0,0 +1,34 @@ +[ + { + "id": "target", + "name": "target", + "type": "enum", + "enumValues": [ + "VCU", + "HVBMS", + "LVBMS", + "PCU", + "LCU" + ] + }, + { + "id": "general_state_machine", + "name": "General State Machine", + "type": "enum", + "enumValues": [ + "Connecting", + "Operational", + "Fault" + ] + }, + { + "id": "operational_state_machine", + "name": "Operational state machine", + "type": "enum", + "enumValues": [ + "Idle", + "Flashing" + ] + } + +] diff --git a/boards/BLCU/orders.json b/boards/BLCU/orders.json new file mode 100644 index 0000000..1a7167d --- /dev/null +++ b/boards/BLCU/orders.json @@ -0,0 +1,15 @@ +[ + { + "id": 701, + "type": "order", + "name": "Reset All" + }, + { + "id":700, + "type": "order", + "name":"Write Program", + "variables":[ + "target" + ] + } +] diff --git a/boards/BLCU/packets.json b/boards/BLCU/packets.json new file mode 100644 index 0000000..4674afd --- /dev/null +++ b/boards/BLCU/packets.json @@ -0,0 +1,28 @@ +[ + { + "id":3, + "type": "packet", + "name":"ack" + }, + { + "id":4, + "type": "packet", + "name":"nack" + }, + + { + "id": 1, + "type": "packet", + "name": "state_machine_state", + "variables": + [ + "general_state_machine", + "operational_state_machine" + ], + "period_type": "ms", + "period": 16.67, + "socket": "control_station_udp" + + } + +] diff --git a/boards/BLCU/sockets.json b/boards/BLCU/sockets.json new file mode 100644 index 0000000..173e674 --- /dev/null +++ b/boards/BLCU/sockets.json @@ -0,0 +1,14 @@ +[ + { + "type": "ServerSocket", + "name": "control_station_tcp", + "port": 50500 + }, + + { + "type": "DatagramSocket", + "name": "control_station_udp", + "remote_ip":"backend", + "port": 50420 + } +] diff --git a/general_info.json b/general_info.json index 6ce2d45..bdf05e0 100644 --- a/general_info.json +++ b/general_info.json @@ -4,10 +4,13 @@ "TCP_SERVER": 50500, "UDP": 50400, "SNTP": 123, - "TFTP": 69 + "TFTP": 69, + "BLCU_UDP": 50420, + "BLCU_TCP_CLIENT": 50421 }, "addresses": { - "backend": "192.168.0.9" + "backend": "192.168.0.9", + "hypervisor": "192.168.0.13" }, "units": { "m/ss": "*1", From 48987c8a9d25e2d9b3110f0b46604ca5e4061127 Mon Sep 17 00:00:00 2001 From: Boris Mladenov Beslimov Date: Thu, 9 Jul 2026 16:40:31 +0200 Subject: [PATCH 39/45] Astra (#68) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add LCU and some cleanup * fix * Add PCU * Add HVBMS * Final VCU orders (at least for now) * Fix measurements VCU * Final VCU packets (at least for now) * Fix there's not actually a connecting * Pre-Final LCU packets and orders (have to add control debugging variables) * Final PCU packets and orders (at least for now) * Update HVBMS packets (not final, wip) * Make LCU state machine be plain * Final HVMBS measurements (packet structure will change though) * fix: remove BLCU from boards * Enums with spaces in VCU * fix: PCU standarized * fix(LCU): standarize * fix(VCU): typo * Remove an order from VCU * Add parametirized variables to the VCU * Use unic names * Remove measurement --------- Co-authored-by: Javier Ribal del Río --- boards.json | 4 +- boards/BLCU/BLCU.json | 2 +- boards/HVBMS/HVBMS.json | 14 ++ boards/HVBMS/HVBMS_measurements.json | 297 ++++++++++++++++++++++ boards/HVBMS/orders.json | 32 +++ boards/HVBMS/packets.json | 361 +++++++++++++++++++++++++++ boards/HVBMS/sockets.json | 13 + boards/LCU/LCU.json | 14 ++ boards/LCU/LCU_measurements.json | 262 +++++++++++++++++++ boards/LCU/orders.json | 120 +++++++++ boards/LCU/packets.json | 52 ++++ boards/LCU/sockets.json | 13 + boards/PCU/PCU.json | 14 ++ boards/PCU/PCU_measurements.json | 277 ++++++++++++++++++++ boards/PCU/orders.json | 55 ++++ boards/PCU/packets.json | 95 +++++++ boards/PCU/sockets.json | 13 + boards/VCU/VCU.json | 2 +- boards/VCU/VCU_measurements.json | 251 ++----------------- boards/VCU/orders.json | 134 +++------- boards/VCU/packets.json | 72 +----- boards/VCU/sockets.json | 32 +-- 22 files changed, 1706 insertions(+), 423 deletions(-) create mode 100644 boards/HVBMS/HVBMS.json create mode 100644 boards/HVBMS/HVBMS_measurements.json create mode 100644 boards/HVBMS/orders.json create mode 100644 boards/HVBMS/packets.json create mode 100644 boards/HVBMS/sockets.json create mode 100644 boards/LCU/LCU.json create mode 100644 boards/LCU/LCU_measurements.json create mode 100644 boards/LCU/orders.json create mode 100644 boards/LCU/packets.json create mode 100644 boards/LCU/sockets.json create mode 100644 boards/PCU/PCU.json create mode 100644 boards/PCU/PCU_measurements.json create mode 100644 boards/PCU/orders.json create mode 100644 boards/PCU/packets.json create mode 100644 boards/PCU/sockets.json diff --git a/boards.json b/boards.json index de9f2ea..9de2c65 100644 --- a/boards.json +++ b/boards.json @@ -1,4 +1,6 @@ { "VCU": "boards/VCU/VCU.json", - "BLCU": "boards/BLCU/BLCU.json" + "LCU": "boards/LCU/LCU.json", + "PCU": "boards/PCU/PCU.json", + "HVBMS": "boards/HVBMS/HVBMS.json" } diff --git a/boards/BLCU/BLCU.json b/boards/BLCU/BLCU.json index dee0cfb..2c98964 100644 --- a/boards/BLCU/BLCU.json +++ b/boards/BLCU/BLCU.json @@ -1,5 +1,5 @@ { - "board_id": 17, + "board_id": 27, "board_ip": "192.168.0.27", "measurements": ["BLCU_measurements.json"], "packets": [ diff --git a/boards/HVBMS/HVBMS.json b/boards/HVBMS/HVBMS.json new file mode 100644 index 0000000..caf7dcc --- /dev/null +++ b/boards/HVBMS/HVBMS.json @@ -0,0 +1,14 @@ +{ + "board_id": 7, + "board_ip": "192.168.1.7", + "measurements": [ + "HVBMS_measurements.json" + ], + "packets": [ + "packets.json", + "orders.json" + ], + "sockets": [ + "sockets.json" + ] +} \ No newline at end of file diff --git a/boards/HVBMS/HVBMS_measurements.json b/boards/HVBMS/HVBMS_measurements.json new file mode 100644 index 0000000..7805e35 --- /dev/null +++ b/boards/HVBMS/HVBMS_measurements.json @@ -0,0 +1,297 @@ +[ + { "id": "battery1_cell1", "name": "Battery 1 Cell 1", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell2", "name": "Battery 1 Cell 2", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell3", "name": "Battery 1 Cell 3", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell4", "name": "Battery 1 Cell 4", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell5", "name": "Battery 1 Cell 5", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell6", "name": "Battery 1 Cell 6", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell7", "name": "Battery 1 Cell 7", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell8", "name": "Battery 1 Cell 8", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell9", "name": "Battery 1 Cell 9", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell10", "name": "Battery 1 Cell 10", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell11", "name": "Battery 1 Cell 11", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_cell12", "name": "Battery 1 Cell 12", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_total_voltage", "name": "Battery 1 Voltage", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery1_max_temp", "name": "Battery 1 Max Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + { "id": "battery1_min_temp", "name": "Battery 1 Min Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + + { "id": "battery2_cell1", "name": "Battery 2 Cell 1", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell2", "name": "Battery 2 Cell 2", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell3", "name": "Battery 2 Cell 3", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell4", "name": "Battery 2 Cell 4", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell5", "name": "Battery 2 Cell 5", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell6", "name": "Battery 2 Cell 6", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell7", "name": "Battery 2 Cell 7", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell8", "name": "Battery 2 Cell 8", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell9", "name": "Battery 2 Cell 9", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell10", "name": "Battery 2 Cell 10", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell11", "name": "Battery 2 Cell 11", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_cell12", "name": "Battery 2 Cell 12", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_total_voltage", "name": "Battery 2 Voltage", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery2_max_temp", "name": "Battery 2 Max Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + { "id": "battery2_min_temp", "name": "Battery 2 Min Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + + { "id": "battery3_cell1", "name": "Battery 3 Cell 1", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell2", "name": "Battery 3 Cell 2", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell3", "name": "Battery 3 Cell 3", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell4", "name": "Battery 3 Cell 4", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell5", "name": "Battery 3 Cell 5", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell6", "name": "Battery 3 Cell 6", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell7", "name": "Battery 3 Cell 7", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell8", "name": "Battery 3 Cell 8", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell9", "name": "Battery 3 Cell 9", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell10", "name": "Battery 3 Cell 10", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell11", "name": "Battery 3 Cell 11", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_cell12", "name": "Battery 3 Cell 12", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_total_voltage", "name": "Battery 3 Voltage", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery3_max_temp", "name": "Battery 3 Max Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + { "id": "battery3_min_temp", "name": "Battery 3 Min Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + + { "id": "battery4_cell1", "name": "Battery 4 Cell 1", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell2", "name": "Battery 4 Cell 2", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell3", "name": "Battery 4 Cell 3", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell4", "name": "Battery 4 Cell 4", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell5", "name": "Battery 4 Cell 5", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell6", "name": "Battery 4 Cell 6", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell7", "name": "Battery 4 Cell 7", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell8", "name": "Battery 4 Cell 8", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell9", "name": "Battery 4 Cell 9", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell10", "name": "Battery 4 Cell 10", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell11", "name": "Battery 4 Cell 11", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_cell12", "name": "Battery 4 Cell 12", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_total_voltage", "name": "Battery 4 Voltage", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery4_max_temp", "name": "Battery 4 Max Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + { "id": "battery4_min_temp", "name": "Battery 4 Min Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + + { "id": "battery5_cell1", "name": "Battery 5 Cell 1", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell2", "name": "Battery 5 Cell 2", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell3", "name": "Battery 5 Cell 3", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell4", "name": "Battery 5 Cell 4", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell5", "name": "Battery 5 Cell 5", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell6", "name": "Battery 5 Cell 6", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell7", "name": "Battery 5 Cell 7", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell8", "name": "Battery 5 Cell 8", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell9", "name": "Battery 5 Cell 9", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell10", "name": "Battery 5 Cell 10", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell11", "name": "Battery 5 Cell 11", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_cell12", "name": "Battery 5 Cell 12", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_total_voltage", "name": "Battery 5 Voltage", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery5_max_temp", "name": "Battery 5 Max Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + { "id": "battery5_min_temp", "name": "Battery 5 Min Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + + { "id": "battery6_cell1", "name": "Battery 6 Cell 1", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell2", "name": "Battery 6 Cell 2", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell3", "name": "Battery 6 Cell 3", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell4", "name": "Battery 6 Cell 4", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell5", "name": "Battery 6 Cell 5", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell6", "name": "Battery 6 Cell 6", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell7", "name": "Battery 6 Cell 7", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell8", "name": "Battery 6 Cell 8", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell9", "name": "Battery 6 Cell 9", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell10", "name": "Battery 6 Cell 10", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell11", "name": "Battery 6 Cell 11", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_cell12", "name": "Battery 6 Cell 12", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_total_voltage", "name": "Battery 6 Voltage", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery6_max_temp", "name": "Battery 6 Max Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + { "id": "battery6_min_temp", "name": "Battery 6 Min Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + + { "id": "battery7_cell1", "name": "Battery 7 Cell 1", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell2", "name": "Battery 7 Cell 2", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell3", "name": "Battery 7 Cell 3", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell4", "name": "Battery 7 Cell 4", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell5", "name": "Battery 7 Cell 5", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell6", "name": "Battery 7 Cell 6", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell7", "name": "Battery 7 Cell 7", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell8", "name": "Battery 7 Cell 8", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell9", "name": "Battery 7 Cell 9", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell10", "name": "Battery 7 Cell 10", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell11", "name": "Battery 7 Cell 11", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_cell12", "name": "Battery 7 Cell 12", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_total_voltage", "name": "Battery 7 Voltage", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery7_max_temp", "name": "Battery 7 Max Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + { "id": "battery7_min_temp", "name": "Battery 7 Min Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + + { "id": "battery8_cell1", "name": "Battery 8 Cell 1", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell2", "name": "Battery 8 Cell 2", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell3", "name": "Battery 8 Cell 3", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell4", "name": "Battery 8 Cell 4", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell5", "name": "Battery 8 Cell 5", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell6", "name": "Battery 8 Cell 6", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell7", "name": "Battery 8 Cell 7", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell8", "name": "Battery 8 Cell 8", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell9", "name": "Battery 8 Cell 9", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell10", "name": "Battery 8 Cell 10", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell11", "name": "Battery 8 Cell 11", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_cell12", "name": "Battery 8 Cell 12", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_total_voltage", "name": "Battery 8 Voltage", "type": "float32", "podUnits": "mV", "displayUnits": "V" }, + { "id": "battery8_max_temp", "name": "Battery 8 Max Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + { "id": "battery8_min_temp", "name": "Battery 8 Min Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC"}, + + { + "id": "batteries_voltage_reading", + "name": "Batteries voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "voltage_reading", + "name": "Voltage sensor", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "safeRange": [ + 0.0, + 410.0 + ] + }, + { + "id": "current_reading", + "name": "Current sensor", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -15.0, + 120.0 + ] + }, + { + "id": "gsm_status", + "name": "General State Machine status", + "type": "enum", + "enumValues": [ + "CONNECTING", + "OPERATIONAL" + ] + }, + { + "id": "driver_reading_period", + "name": "BMS reading period", + "type": "int32" + }, + { + "id": "sdc_status", + "name": "SDC Status", + "type": "enum", + "enumValues": [ + "ENGAGED", + "DISENGAGED" + ] + }, + { + "id": "minimum_soc", + "name": "Minimum SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "voltage_min", + "name": "Minimum cell voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "voltage_max", + "name": "Maximum cell voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "temp_min", + "name": "Minimum temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "temp_max", + "name": "Maximum temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "imd_status", + "name": "IMD Status", + "type": "enum", + "enumValues":[ + "SHORTCIRCUIT", + "NORMAL", + "UNDERVOLTAGE", + "FAST_EVAL", + "EQUIPMENT_FAULT", + "GROUNDING_FAULT" + ] + }, + { + "id": "imd_resistance", + "name": "IMD Resistance", + "type": "float32", + "podUnits": "Ohm", + "displayUnits": "MOhm", + "safeRange": [ + 30, + 70 + ] + }, + { + "id": "imd_is_ok", + "name": "IMD OK", + "type": "bool" + }, + { + "id": "imd_duty", + "name": "IMD Duty", + "type": "float32" + }, + { + "id": "imd_freq", + "name": "IMD Frequency", + "type": "float32" + }, + { + "id": "contactor_precharge", + "name": "Contactor Precharge", + "type": "bool" + }, + { + "id": "contactor_discharge", + "name": "Contactor Discharge", + "type": "bool" + }, + { + "id": "contactor_high", + "name": "Contactor High", + "type": "bool" + }, + { + "id": "contactor_low", + "name": "Contactor Low", + "type": "bool" + }, + { + "id": "contactor_common_high", + "name": "Contactor Common High", + "type": "bool" + }, + { + "id": "soc", + "name": "SOC", + "type": "float32" + }, + { + "id": "nested_sm_status", + "name": "Nested State Machine status", + "type": "enum", + "enumValues": [ + "IDLE", + "READY TO PRECHARGE", + "PRECHARGING", + "ENERGIZED", + "FAULT" + ] + } +] diff --git a/boards/HVBMS/orders.json b/boards/HVBMS/orders.json new file mode 100644 index 0000000..699ed82 --- /dev/null +++ b/boards/HVBMS/orders.json @@ -0,0 +1,32 @@ +[ + { + "type": "order", + "name": "FAULT", + "variables": [], + "id": 0 + }, + { + "type": "order", + "name": "open_contactors", + "variables": [], + "id": 901 + }, + { + "type": "order", + "name": "cell_balance", + "variables": [], + "id": 902 + }, + { + "type": "order", + "name": "start_precharge", + "variables": [], + "id": 903 + }, + { + "type": "order", + "name": "check_faults", + "variables": [], + "id": 904 + } +] \ No newline at end of file diff --git a/boards/HVBMS/packets.json b/boards/HVBMS/packets.json new file mode 100644 index 0000000..2b20593 --- /dev/null +++ b/boards/HVBMS/packets.json @@ -0,0 +1,361 @@ +[ + { + "type": "data", + "name": "batteries_voltage", + "variables": [ + "batteries_voltage_reading" + ], + "id": 928, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "voltage_sensor", + "variables": [ + "voltage_reading" + ], + "id": 930, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "current_sensor", + "variables": [ + "current_reading" + ], + "id": 931, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "sdc", + "variables": [ + "sdc_status" + ], + "id": 944, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "battery_1", + "variables": [ + "battery1_cell1", + "battery1_cell2", + "battery1_cell3", + "battery1_cell4", + "battery1_cell5", + "battery1_cell6", + "battery1_cell7", + "battery1_cell8", + "battery1_cell9", + "battery1_cell10", + "battery1_cell11", + "battery1_cell12", + "battery1_total_voltage", + "battery1_max_temp", + "battery1_min_temp" + ], + "id": 910, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "battery_2", + "variables": [ + "battery2_cell1", + "battery2_cell2", + "battery2_cell3", + "battery2_cell4", + "battery2_cell5", + "battery2_cell6", + "battery2_cell7", + "battery2_cell8", + "battery2_cell9", + "battery2_cell10", + "battery2_cell11", + "battery2_cell12", + "battery2_total_voltage", + "battery2_max_temp", + "battery2_min_temp" + ], + "id": 911, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "battery_3", + "variables": [ + "battery3_cell1", + "battery3_cell2", + "battery3_cell3", + "battery3_cell4", + "battery3_cell5", + "battery3_cell6", + "battery3_cell7", + "battery3_cell8", + "battery3_cell9", + "battery3_cell10", + "battery3_cell11", + "battery3_cell12", + "battery3_total_voltage", + "battery3_max_temp", + "battery3_min_temp" + ], + "id": 912, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "battery_4", + "variables": [ + "battery4_cell1", + "battery4_cell2", + "battery4_cell3", + "battery4_cell4", + "battery4_cell5", + "battery4_cell6", + "battery4_cell7", + "battery4_cell8", + "battery4_cell9", + "battery4_cell10", + "battery4_cell11", + "battery4_cell12", + "battery4_total_voltage", + "battery4_max_temp", + "battery4_min_temp" + ], + "id": 913, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "battery_5", + "variables": [ + "battery5_cell1", + "battery5_cell2", + "battery5_cell3", + "battery5_cell4", + "battery5_cell5", + "battery5_cell6", + "battery5_cell7", + "battery5_cell8", + "battery5_cell9", + "battery5_cell10", + "battery5_cell11", + "battery5_cell12", + "battery5_total_voltage", + "battery5_max_temp", + "battery5_min_temp" + ], + "id": 914, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "battery_6", + "variables": [ + "battery6_cell1", + "battery6_cell2", + "battery6_cell3", + "battery6_cell4", + "battery6_cell5", + "battery6_cell6", + "battery6_cell7", + "battery6_cell8", + "battery6_cell9", + "battery6_cell10", + "battery6_cell11", + "battery6_cell12", + "battery6_total_voltage", + "battery6_max_temp", + "battery6_min_temp" + ], + "id": 915, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "battery_7", + "variables": [ + "battery7_cell1", + "battery7_cell2", + "battery7_cell3", + "battery7_cell4", + "battery7_cell5", + "battery7_cell6", + "battery7_cell7", + "battery7_cell8", + "battery7_cell9", + "battery7_cell10", + "battery7_cell11", + "battery7_cell12", + "battery7_total_voltage", + "battery7_max_temp", + "battery7_min_temp" + ], + "id": 916, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "battery_8", + "variables": [ + "battery8_cell1", + "battery8_cell2", + "battery8_cell3", + "battery8_cell4", + "battery8_cell5", + "battery8_cell6", + "battery8_cell7", + "battery8_cell8", + "battery8_cell9", + "battery8_cell10", + "battery8_cell11", + "battery8_cell12", + "battery8_total_voltage", + "battery8_max_temp", + "battery8_min_temp" + ], + "id": 917, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "general_state_machine", + "variables": [ + "gsm_status" + ], + "id": 940, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "driver_diagnosis", + "variables": [ + "driver_reading_period" + ], + "id": 942, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "imd", + "variables": [ + "imd_status", + "imd_resistance", + "imd_is_ok", + "imd_duty", + "imd_freq" + ], + "id": 943, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "minimum_soc", + "variables": [ + "minimum_soc" + ], + "id": 945, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "batteries_data", + "variables": [ + "voltage_min", + "voltage_max", + "temp_min", + "temp_max" + ], + "id": 947, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "contactor_status", + "variables": [ + "contactor_discharge", + "contactor_precharge", + "contactor_low", + "contactor_high", + "contactor_common_high" + ], + "id": 956, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "SOC", + "variables": ["soc"], + "id": 990, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "high-voltage status", + "variables": [ + "nested_sm_status" + ], + "id": 960, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "high-voltage system", + "variables": [ + "voltage_min", + "voltage_max", + "temp_min", + "temp_max", + "current_reading", + "batteries_voltage_reading", + "voltage_reading", + "nested_sm_status" + ], + "id": 999, + "period": 50, + "period_type": "ms", + "socket": "vcu_udp" + } +] diff --git a/boards/HVBMS/sockets.json b/boards/HVBMS/sockets.json new file mode 100644 index 0000000..6f49b6b --- /dev/null +++ b/boards/HVBMS/sockets.json @@ -0,0 +1,13 @@ +[ + { + "type": "ServerSocket", + "name": "vcu_tcp", + "port": 50500 + }, + { + "type": "DatagramSocket", + "name": "vcu_udp", + "remote_ip": "192.168.1.3", + "port": 50400 + } +] diff --git a/boards/LCU/LCU.json b/boards/LCU/LCU.json new file mode 100644 index 0000000..41de0b0 --- /dev/null +++ b/boards/LCU/LCU.json @@ -0,0 +1,14 @@ +{ + "board_id": 4, + "board_ip": "192.168.1.4", + "measurements": [ + "LCU_measurements.json" + ], + "packets": [ + "packets.json", + "orders.json" + ], + "sockets": [ + "sockets.json" + ] +} diff --git a/boards/LCU/LCU_measurements.json b/boards/LCU/LCU_measurements.json new file mode 100644 index 0000000..28747b5 --- /dev/null +++ b/boards/LCU/LCU_measurements.json @@ -0,0 +1,262 @@ +[ + { + "id": "master_state_machine", + "name": "Master SM", + "type": "enum", + "enumValues": [ + "Connecting", + "Idle", + "Levitating", + "Current Control", + "Debug", + "Fault" + ] + }, + { + "id": "slave_state_machine", + "name": "Slave SM", + "type": "enum", + "enumValues": [ + "SPI Connecting", + "Idle", + "Levitating", + "Current Control", + "Debug", + "Fault" + ] + }, + { + "id": "desired_current", + "name": "Desired Current", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "fixed_vbat", + "name": "Fixed VBAT", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "desired_distance", + "name": "Desired Distance", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "lpu_id", + "name": "LPU ID", + "type": "uint32" + }, + { + "id": "fixed_pwm_duty_cycle", + "name": "Fixed PWM Duty Cycle", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_1", + "name": "Duty Cycle 1", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_2", + "name": "Duty Cycle 2", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_3", + "name": "Duty Cycle 3", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_4", + "name": "Duty Cycle 4", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_5", + "name": "Duty Cycle 5", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_6", + "name": "Duty Cycle 6", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_7", + "name": "Duty Cycle 7", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_8", + "name": "Duty Cycle 8", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_9", + "name": "Duty Cycle 9", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "pwm_duty_cycle_10", + "name": "Duty Cycle 10", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "coil_current_1", + "name": "Coil Current 1", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_2", + "name": "Coil Current 2", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_3", + "name": "Coil Current 3", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_4", + "name": "Coil Current 4", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_5", + "name": "Coil Current 5", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_6", + "name": "Coil Current 6", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_7", + "name": "Coil Current 7", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_8", + "name": "Coil Current 8", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_9", + "name": "Coil Current 9", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "coil_current_10", + "name": "Coil Current 10", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "airgap_1", + "name": "Airgap 1", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "airgap_2", + "name": "Airgap 2", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "airgap_3", + "name": "Airgap 3", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "airgap_4", + "name": "Airgap 4", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "airgap_5", + "name": "Airgap 5", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "airgap_6", + "name": "Airgap 6", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "airgap_7", + "name": "Airgap 7", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "airgap_8", + "name": "Airgap 8", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "cinema_current", + "name": "Cinema Current", + "type": "float32" + } +] diff --git a/boards/LCU/orders.json b/boards/LCU/orders.json new file mode 100644 index 0000000..fc824ba --- /dev/null +++ b/boards/LCU/orders.json @@ -0,0 +1,120 @@ +[ + { + "type": "order", + "name": "Stop", + "variables": [], + "id": 9000 + }, + { + "type": "order", + "name": "Set Fixed VBAT", + "variables": ["fixed_vbat"], + "id": 9001 + }, + { + "type": "order", + "name": "Unset Fixed VBAT", + "variables": [], + "id": 9002 + }, + { + "type": "order", + "name": "Levitate", + "variables": ["desired_distance"], + "id": 9010 + }, + { + "type": "order", + "name": "Levitate Ramp", + "variables": ["desired_distance"], + "id": 9011 + }, + { + "type": "order", + "name": "Set Desired Distance", + "variables": ["desired_distance"], + "id": 9012 + }, + { + "type": "order", + "name": "Set Desired Distance Ramp", + "variables": ["desired_distance"], + "id": 9013 + }, + { + "type": "order", + "name": "Stop Ramp", + "variables": [], + "id": 9014 + }, + { + "type": "order", + "name": "Current Control", + "variables": [ + "lpu_id", + "desired_current" + ], + "id": 9020 + }, + { + "type": "order", + "name": "All Current Control", + "variables": ["desired_current"], + "id": 9021 + }, + { + "type": "order", + "name": "Stop Current Control", + "variables": [ + "lpu_id" + ], + "id": 9022 + }, + { + "type": "order", + "name": "PWM", + "variables": [ + "lpu_id", + "fixed_pwm_duty_cycle" + ], + "id": 9030 + }, + { + "type": "order", + "name": "All PWM", + "variables": ["fixed_pwm_duty_cycle"], + "id": 9031 + }, + { + "type": "order", + "name": "Stop PWM", + "variables": [ + "lpu_id" + ], + "id": 9032 + }, + { + "type": "order", + "name": "Reset All", + "variables": [], + "id": 9100 + }, + { + "type": "order", + "name": "Reset Slave", + "variables": [], + "id": 9101 + }, + { + "type": "order", + "name": "Cinema", + "variables": ["cinema_current"], + "id": 9200 + }, + { + "type": "order", + "name": "Stop Cinema", + "variables": [], + "id": 9201 + } +] diff --git a/boards/LCU/packets.json b/boards/LCU/packets.json new file mode 100644 index 0000000..50d1aec --- /dev/null +++ b/boards/LCU/packets.json @@ -0,0 +1,52 @@ +[ + { + "type": "data", + "name": "LPU PWM Duties", + "variables": ["pwm_duty_cycle_1", "pwm_duty_cycle_2", "pwm_duty_cycle_3", "pwm_duty_cycle_4", "pwm_duty_cycle_5", "pwm_duty_cycle_6", "pwm_duty_cycle_7", "pwm_duty_cycle_8", "pwm_duty_cycle_9", "pwm_duty_cycle_10"], + "id": 9500, + "period_type": "us", + "period": 500.0, + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "LPU Coil Currents", + "variables": ["coil_current_1", "coil_current_2", "coil_current_3", "coil_current_4", "coil_current_5", "coil_current_6", "coil_current_7", "coil_current_8", "coil_current_9", "coil_current_10"], + "id": 9501, + "period_type": "us", + "period": 500.0, + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "Airgaps", + "variables": ["airgap_1", "airgap_2", "airgap_3", "airgap_4", "airgap_5", "airgap_6", "airgap_7", "airgap_8"], + "id": 9502, + "period_type": "us", + "period": 500.0, + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "State Machine", + "variables": [ + "master_state_machine", + "slave_state_machine" + ], + "id": 9520, + "period_type": "us", + "period": 500.0, + "socket": "vcu_udp" + }, + { + "type": "data", + "name": "General State", + "variables": [ + + ], + "id": 9521, + "period_type": "us", + "period": 500.0, + "socket": "vcu_udp" + } +] diff --git a/boards/LCU/sockets.json b/boards/LCU/sockets.json new file mode 100644 index 0000000..6f49b6b --- /dev/null +++ b/boards/LCU/sockets.json @@ -0,0 +1,13 @@ +[ + { + "type": "ServerSocket", + "name": "vcu_tcp", + "port": 50500 + }, + { + "type": "DatagramSocket", + "name": "vcu_udp", + "remote_ip": "192.168.1.3", + "port": 50400 + } +] diff --git a/boards/PCU/PCU.json b/boards/PCU/PCU.json new file mode 100644 index 0000000..4476aa8 --- /dev/null +++ b/boards/PCU/PCU.json @@ -0,0 +1,14 @@ +{ + "board_id": 5, + "board_ip": "192.168.1.5", + "measurements": [ + "PCU_measurements.json" + ], + "packets": [ + "packets.json", + "orders.json" + ], + "sockets": [ + "sockets.json" + ] +} \ No newline at end of file diff --git a/boards/PCU/PCU_measurements.json b/boards/PCU/PCU_measurements.json new file mode 100644 index 0000000..2e5c237 --- /dev/null +++ b/boards/PCU/PCU_measurements.json @@ -0,0 +1,277 @@ +[ + { + "id": "frequency", + "name": "Frequency Commutation hz", + "type": "uint32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "modulation_frequency", + "name": "Modulation Frequency", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "duty_u", + "name": "Duty U", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "duty_v", + "name": "Duty V", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "duty_w", + "name": "Duty W", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "voltage_battery_a", + "name": "Voltage Battery A", + "type": "float32" + }, + { + "id": "voltage_battery_b", + "name": "Voltage Battery B", + "type": "float32" + }, + { + "id": "v_ref", + "name": "Reference Voltage", + "type": "float32" + }, + { + "id": "frequency_to_send_svpwm", + "name": "Frequency Modulation hz", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "frequency_to_send_pwm", + "name": "Frequency Commutation hz", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "current_sensor_u_a", + "name": "Current Sensor U Connector A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_u_b", + "name": "Current Sensor U Connector B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_v_a", + "name": "Current Sensor V Connector A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_v_b", + "name": "Current Sensor V Connector B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_w_a", + "name": "Current Sensor W Connector A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_w_b", + "name": "Current Sensor W Connector B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "state", + "name": "State", + "type": "enum", + "enumValues": [ + "Connecting", + "Idle", + "Accelerating", + "Fault" + ] + }, + { + "id": "current_ref", + "name": "Current Ref", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "freq_to_send_svpwm", + "name": "Frequency Modulation hz", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "freq_to_send_pwm", + "name": "Frequency Commutation hz", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "current_Peak", + "name": "Max Current Peak", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "error_pi", + "name": "Actual Current Error", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "target_voltage", + "name": "Target Voltage", + "type": "float64", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "vmax", + "name": "Max Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "speed_ref", + "name": "Reference Speed", + "type": "float32", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "svpwm_time", + "name": "SVPWM Time", + "type": "float32", + "podUnits": "s", + "displayUnits": "s" + }, + { + "id": "target_speed", + "name": "Target Speed KM/H", + "type": "float32", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "speed_error", + "name": "Speed Error", + "type": "float64", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "actual_current_ref", + "name": "Control Current ref", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "imod", + "name": "Modulation Index", + "type": "float32" + }, + + { + "id": "gd_fault_a", + "name": "GateDriver A Fault", + "type": "bool", + "podUnits": "", + "displayUnits": "", + "safeRange": [ + -2.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + { + "id": "gd_fault_b", + "name": "GateDriver B Fault", + "type": "bool", + "podUnits": "", + "displayUnits": "", + "safeRange": [ + 0.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + { + "id": "gd_ready_a", + "name": "GateDriver A Ready", + "type": "bool", + "podUnits": "", + "displayUnits": "", + "safeRange": [ + 0.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + { + "id": "gd_ready_b", + "name": "GateDriver B Ready", + "type": "bool", + "podUnits": "", + "displayUnits": "", + "safeRange": [ + 0.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + + { + "id": "reset_bypass", + "name": "Reset Bypass", + "type": "bool", + "podUnits": "", + "displayUnits": "" + } +] \ No newline at end of file diff --git a/boards/PCU/orders.json b/boards/PCU/orders.json new file mode 100644 index 0000000..8641017 --- /dev/null +++ b/boards/PCU/orders.json @@ -0,0 +1,55 @@ +[ + { + "type": "order", + "name": "Start SVPWM", + "variables": [ + "frequency_to_send_svpwm", + "frequency_to_send_pwm", + "v_ref", + "vmax" + ], + "id": 507 + }, + { + "type": "order", + "name": "Stop Motor", + "variables": [], + "id": 508 + }, + { + "type": "order", + "name": "Send Reference Current", + "variables": [ + "freq_to_send_svpwm", + "freq_to_send_pwm", + "current_ref", + "vmax" + ], + "id": 509 + }, + { + "type": "order", + "name": "Zeroing", + "variables": [], + "id": 510 + }, + + { + "type":"order", + "name": "Reset Bypass", + "variables": [ + "reset_bypass" + ], + "id": 513 + }, + { + "type": "order", + "name": "Send Reference Speed", + "variables": [ + "speed_ref", + "freq_to_send_pwm", + "vmax" + ], + "id": 511 + } +] \ No newline at end of file diff --git a/boards/PCU/packets.json b/boards/PCU/packets.json new file mode 100644 index 0000000..4453e50 --- /dev/null +++ b/boards/PCU/packets.json @@ -0,0 +1,95 @@ +[ + { + "type": "data", + "name": "PWM", + "variables": [ + "frequency", + "modulation_frequency", + "duty_u", + "duty_v", + "duty_w" + ], + "id": 550, + "period_type": "ms", + "period": 16.67, + "socket": "vcu_udp" + }, + + { + "type": "data", + "name": "Batteries Voltage", + "variables": [ + "voltage_battery_a", + "voltage_battery_b" + ], + "id": 551, + "period_type": "ms", + "period": 16.67, + "socket": "vcu_udp" + }, + + { + "type": "data", + "name": "Current Sensors", + "variables": [ + "current_sensor_u_a", + "current_sensor_v_a", + "current_sensor_w_a", + "current_sensor_u_b", + "current_sensor_v_b", + "current_sensor_w_b", + "current_Peak", + "error_pi", + "target_voltage", + "svpwm_time", + "imod" + ], + "id": 552, + "period_type": "ms", + "period": 16.67, + "socket": "vcu_udp" + }, + + { + "type": "data", + "name": "State Machine States", + "variables": [ + "state" + ], + "id": 553, + "period_type": "ms", + "period": 16.67, + "socket": "vcu_udp" + }, + + { + "type": "data", + "name": "Speed Data", + "variables": [ + "target_speed", + "speed_error", + "actual_current_ref" + ], + "id": 555, + "period_type": "ms", + "period": 16.67, + "socket": "vcu_udp" + }, + + + { + "type": "data", + "name": "Gate Driver Reporting", + "variables": [ + "gd_fault_a", + "gd_fault_b", + "gd_ready_a", + "gd_ready_b" + ], + "id": 558, + "period_type": "ms", + "period": 16.67, + "socket": "vcu_udp" + } + +] \ No newline at end of file diff --git a/boards/PCU/sockets.json b/boards/PCU/sockets.json new file mode 100644 index 0000000..6f49b6b --- /dev/null +++ b/boards/PCU/sockets.json @@ -0,0 +1,13 @@ +[ + { + "type": "ServerSocket", + "name": "vcu_tcp", + "port": 50500 + }, + { + "type": "DatagramSocket", + "name": "vcu_udp", + "remote_ip": "192.168.1.3", + "port": 50400 + } +] diff --git a/boards/VCU/VCU.json b/boards/VCU/VCU.json index 58b8546..4f4a339 100644 --- a/boards/VCU/VCU.json +++ b/boards/VCU/VCU.json @@ -1,5 +1,5 @@ { - "board_id": 11, + "board_id": 3, "board_ip": "192.168.1.3", "measurements": [ "VCU_measurements.json" diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index 24c40d9..a914e0c 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -1,68 +1,25 @@ [ { - "id": "general_state", - "name": "General State", - "type": "enum", - "enumValues": [ - "Connecting", - "Operational", - "Fault" - ] - }, - { - "id": "operational_state", - "name": "Operational State", + "id": "state", + "name": "State", "type": "enum", "enumValues": [ "Idle", "Connected", - "Manteinance", + "Maintenance", "Precharging", "HVActive", "Ready", "Propulsion", - "StaticLevitation", - "DynamicLevitation", + "Static Levitation", + "Dynamic Levitation", "Fault" ] }, { - "id": "recovery_status", - "name": "Recovery Status", - "type": "uint8" - }, - { - "id": "demonstration_bitfield", - "name": "Demonstration Bitfield", - "type": "uint32" - }, - { - "id": "flow_1", - "name": "Flow 1", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "flow_2", - "name": "Flow 2", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "ntc_temperature_1", - "name": "NTC Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "ntc_temperature_2", - "name": "NTC Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" + "id": "sdc_closed", + "name": "SDC Closed", + "type": "bool" }, { "id": "high_pressure", @@ -95,45 +52,11 @@ "name": "Brake Fault Detected", "type": "bool" }, - { - "id": "cooling_pump_1_command", - "name": "Cooling Pump 1 Command", - "type": "uint8", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "cooling_pump_2_command", - "name": "Cooling Pump 2 Command", - "type": "uint8", - "podUnits": "%", - "displayUnits": "%" - }, { "id": "electrovalve_enabled", "name": "Electrovalve Enabled", "type": "bool" }, - { - "id": "sdc_closed", - "name": "SDC Closed", - "type": "bool" - }, - { - "id": "tapes_reached", - "name": "Tapes Reached", - "type": "bool" - }, - { - "id": "contactors_closed", - "name": "Contactors Closed", - "type": "bool" - }, - { - "id": "control_station_connected", - "name": "Control Station Connected", - "type": "bool" - }, { "id": "hvbms_connected", "name": "HVBMS Connected", @@ -150,164 +73,24 @@ "type": "bool" }, { - "id": "required_peers_connected", - "name": "Required Peers Connected", - "type": "bool" - }, - { - "id": "cooling_pump_duty", - "name": "Cooling Pump Duty", - "type": "uint8", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "cooling_pump_selection", - "name": "Cooling Pump Selection", - "type": "uint8" - }, - { - "id": "run_id", - "name": "Run ID", - "type": "uint8" - }, - { - "id": "modulation_frequency_1", - "name": "Modulation Frequency 1", + "id": "propulsion_target_speed", + "name": "Propulsion Target Speed", "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" + "podUnits": "km/h", + "displayUnits": "km/h" }, { - "id": "commutation_frequency_1", - "name": "Commutation Frequency 1", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "reference_voltage_1", - "name": "Reference Voltage 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "max_voltage_1", - "name": "Max Voltage 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "motor_direction_1", - "name": "Motor Direction 1", - "type": "uint8" - }, - { - "id": "modulation_frequency_2", - "name": "Modulation Frequency 2", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "commutation_frequency_2", - "name": "Commutation Frequency 2", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "reference_current_2", - "name": "Reference Current 2", + "id": "propulsion_max_current", + "name": "Propulsion Max Current", "type": "float32", "podUnits": "A", "displayUnits": "A" }, { - "id": "max_voltage_2", - "name": "Max Voltage 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "motor_direction_2", - "name": "Motor Direction 2", - "type": "uint8" - }, - { - "id": "reference_speed_3", - "name": "Reference Speed 3", - "type": "float32", - "podUnits": "m/s", - "displayUnits": "m/s" - }, - { - "id": "commutation_frequency_3", - "name": "Commutation Frequency 3", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "max_voltage_3", - "name": "Max Voltage 3", + "id": "levitation_target_height", + "name": "Levitation Target Height", "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "motor_direction_3", - "name": "Motor Direction 3", - "type": "uint8" - }, - { - "id": "levitation_distance", - "name": "Levitation Distance", - "type": "float32", - "podUnits": "mm", + "podUnits": "m", "displayUnits": "mm" - }, - { - "id": "hvbms_state", - "name": "HVBMS State", - "type": "enum", - "enumValues": [ - "Opened", - "gap_1", - "Closed" - ] - }, - { - "id": "pcu_state", - "name": "PCU State", - "type": "enum", - "enumValues": [ - "Stopped", - "gap_1", - "Propulsion" - ] - }, - { - "id": "lcu_vertical_state", - "name": "LCU Vertical State", - "type": "enum", - "enumValues": [ - "Stopped", - "gap_1", - "gap_2", - "Levitation" - ] - }, - { - "id": "lcu_horizontal_state", - "name": "LCU Horizontal State", - "type": "enum", - "enumValues": [ - "Disabled", - "Enabled" - ] } ] diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json index 1a67b9a..185c83e 100644 --- a/boards/VCU/orders.json +++ b/boards/VCU/orders.json @@ -5,153 +5,75 @@ "type": "order" }, { - "id": 32, - "name": "Recovery", - "type": "order" - }, - { - "id": 33, - "name": "Cooling pump power", - "type": "order", - "variables": [ - "cooling_pump_duty", - "cooling_pump_selection" - ] - }, - { - "id": 34, - "name": "MANTEINANCE", - "type": "order" - }, - { - "id": 35, - "name": "Precharge", - "type": "order" - }, - { - "id": 36, + "id": 30, "name": "Stop", "type": "order" }, - { - "id": 38, - "name": "Propulsion", - "type": "order" - }, - { - "id": 39, - "name": "Static levitation", - "type": "order" - }, { "id": 40, - "name": "Dynamic levitation", + "name": "Maintenance", "type": "order" }, { - "id": 43, - "name": "Brake", + "id": 41, + "name": "Precharge", "type": "order" }, { - "id": 44, - "name": "Close contactors", + "id": 42, + "name": "Open Contactors", "type": "order" }, { - "id": 52, + "id": 50, "name": "Unbrake", "type": "order" }, { - "id": 53, - "name": "Open contactors", + "id": 51, + "name": "Brake", "type": "order" }, { - "id": 55, - "name": "Emergency stop", + "id": 60, + "name": "Static Levitation", "type": "order" }, { - "id": 56, - "name": "Runs", - "type": "order", - "variables": [ - "run_id" - ] - }, - { - "id": 57, - "name": "SVPWM", - "type": "order", - "variables": [ - "modulation_frequency_1", - "commutation_frequency_1", - "reference_voltage_1", - "max_voltage_1", - "motor_direction_1" - ] + "id": 61, + "name": "Propulsion", + "type": "order" }, { - "id": 58, - "name": "Stop motor", + "id": 62, + "name": "Dynamic Levitation", "type": "order" }, { - "id": 59, - "name": "Current control", + "id": 100, + "name": "Propulsion Parameterized", "type": "order", "variables": [ - "modulation_frequency_2", - "commutation_frequency_2", - "reference_current_2", - "max_voltage_2", - "motor_direction_2" + "propulsion_target_speed", + "propulsion_max_current" ] }, { - "id": 60, - "name": "Speed control", + "id": 101, + "name": "Static Levitation Parameterized", "type": "order", "variables": [ - "reference_speed_3", - "commutation_frequency_3", - "max_voltage_3", - "motor_direction_3" + "levitation_target_height" ] }, { - "id": 61, - "name": "Motor brake", - "type": "order" - }, - { - "id": 37, - "name": "Levitation", + "id": 102, + "name": "Dynamic Levitation Parameterized", "type": "order", "variables": [ - "levitation_distance" + "propulsion_target_speed", + "propulsion_max_current", + "levitation_target_height" ] - }, - { - "id": 46, - "name": "Stop levitation", - "type": "order" - }, - { - "id": 42, - "name": "Booster", - "type": "order" - }, - { - "id": 51, - "name": "Stop booster", - "type": "order" - }, - { - "id": 1788, - "name": "Forward booster", - "type": "order" } ] diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index a3ec412..c5c5608 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -3,38 +3,11 @@ "type": "data", "name": "VCU State", "variables": [ - "general_state", - "operational_state", - "recovery_status", - "demonstration_bitfield" + "state" ], "id": 249, "period_type": "ms", - "period": 100, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Flow", - "variables": [ - "flow_1", - "flow_2" - ], - "id": 250, - "period_type": "ms", - "period": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Temperatures", - "variables": [ - "ntc_temperature_1", - "ntc_temperature_2" - ], - "id": 251, - "period_type": "ms", - "period": 16.67, + "period": 10, "socket": "control_station_udp" }, { @@ -47,7 +20,7 @@ ], "id": 252, "period_type": "ms", - "period": 16.67, + "period": 10, "socket": "control_station_udp" }, { @@ -59,20 +32,18 @@ ], "id": 253, "period_type": "ms", - "period": 100, + "period": 10, "socket": "control_station_udp" }, { "type": "data", "name": "Outputs", "variables": [ - "cooling_pump_1_command", - "cooling_pump_2_command", "electrovalve_enabled" ], "id": 254, "period_type": "ms", - "period": 100, + "period": 10, "socket": "control_station_udp" }, { @@ -80,42 +51,13 @@ "name": "Safety", "variables": [ "sdc_closed", - "tapes_reached", - "contactors_closed", - "control_station_connected", "hvbms_connected", "pcu_connected", - "lcu_connected", - "required_peers_connected" + "lcu_connected" ], "id": 255, "period_type": "ms", - "period": 100, + "period": 10, "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Remote States", - "variables": [ - "hvbms_state", - "pcu_state", - "lcu_vertical_state", - "lcu_horizontal_state" - ], - "id": 65, - "period_type": "ms", - "period": 100, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "VCU State For PCU", - "variables": [ - "recovery_status" - ], - "id": 66, - "period_type": "ms", - "period": 100, - "socket": "pcu_udp" } ] diff --git a/boards/VCU/sockets.json b/boards/VCU/sockets.json index 6a7e581..0a124e3 100644 --- a/boards/VCU/sockets.json +++ b/boards/VCU/sockets.json @@ -4,45 +4,47 @@ "name": "control_station_tcp", "port": 50500 }, - { "type": "DatagramSocket", "name": "control_station_udp", "remote_ip":"192.168.0.9", "port": 50400 }, - { - "type": "Socket", - "name": "pcu_tcp", - "local_port": 50501, - "remote_ip": "192.168.1.5", - "remote_port": 50500 - }, + { "type": "DatagramSocket", "name": "pcu_udp", "remote_ip": "192.168.1.5", "port": 50402 }, + { + "type": "Socket", + "name": "pcu_tcp", + "local_port": 50505, + "remote_ip": "192.168.1.5", + "remote_port": 50500 + }, + { "type": "DatagramSocket", "name": "hvbms_udp", "remote_ip": "192.168.1.7", "port": 50403 }, - { - "type": "DatagramSocket", - "name": "lcu_udp", - "remote_ip": "192.168.1.4", - "port": 50405 - }, { "type": "Socket", "name": "hvbms_tcp", - "local_port": 50502, + "local_port": 50507, "remote_ip": "192.168.1.7", "remote_port": 50500 }, + + { + "type": "DatagramSocket", + "name": "lcu_udp", + "remote_ip": "192.168.1.4", + "port": 50405 + }, { "type": "Socket", "name": "lcu_tcp", From 98227dff52da0b4f0f00e6c89275f8077bf721dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20L=C3=B3pez?= <120128034+victor-Lopez25@users.noreply.github.com> Date: Thu, 9 Jul 2026 16:58:45 +0200 Subject: [PATCH 40/45] Remove reset bypass from PCU (#70) --- boards/PCU/PCU_measurements.json | 8 -------- boards/PCU/orders.json | 9 --------- 2 files changed, 17 deletions(-) diff --git a/boards/PCU/PCU_measurements.json b/boards/PCU/PCU_measurements.json index 2e5c237..aaa7f56 100644 --- a/boards/PCU/PCU_measurements.json +++ b/boards/PCU/PCU_measurements.json @@ -265,13 +265,5 @@ 0.0, 100.0 ] - }, - - { - "id": "reset_bypass", - "name": "Reset Bypass", - "type": "bool", - "podUnits": "", - "displayUnits": "" } ] \ No newline at end of file diff --git a/boards/PCU/orders.json b/boards/PCU/orders.json index 8641017..b7d8e16 100644 --- a/boards/PCU/orders.json +++ b/boards/PCU/orders.json @@ -33,15 +33,6 @@ "variables": [], "id": 510 }, - - { - "type":"order", - "name": "Reset Bypass", - "variables": [ - "reset_bypass" - ], - "id": 513 - }, { "type": "order", "name": "Send Reference Speed", From 8ee6346cffcefb9e4e1a3b74049464468aa599ca Mon Sep 17 00:00:00 2001 From: Jorge <115722084+jorgecanut@users.noreply.github.com> Date: Thu, 9 Jul 2026 17:26:05 +0200 Subject: [PATCH 41/45] Ramon (#71) * added whole hvbms adj * ya esta --- boards/HVBMS/HVBMS_measurements.json | 49 ++---- boards/HVBMS/orders.json | 8 +- boards/HVBMS/packets.json | 221 ++++----------------------- boards/HVBMS/sockets.json | 2 +- 4 files changed, 50 insertions(+), 230 deletions(-) diff --git a/boards/HVBMS/HVBMS_measurements.json b/boards/HVBMS/HVBMS_measurements.json index 7805e35..2268005 100644 --- a/boards/HVBMS/HVBMS_measurements.json +++ b/boards/HVBMS/HVBMS_measurements.json @@ -129,14 +129,14 @@ { "id": "batteries_voltage_reading", - "name": "Batteries voltage", + "name": "Batteries Voltage", "type": "float32", "podUnits": "V", "displayUnits": "V" }, { "id": "voltage_reading", - "name": "Voltage sensor", + "name": "Voltage Sensor", "type": "float32", "podUnits": "V", "displayUnits": "V", @@ -147,7 +147,7 @@ }, { "id": "current_reading", - "name": "Current sensor", + "name": "Current Sensor", "type": "float32", "podUnits": "A", "displayUnits": "A", @@ -156,20 +156,6 @@ 120.0 ] }, - { - "id": "gsm_status", - "name": "General State Machine status", - "type": "enum", - "enumValues": [ - "CONNECTING", - "OPERATIONAL" - ] - }, - { - "id": "driver_reading_period", - "name": "BMS reading period", - "type": "int32" - }, { "id": "sdc_status", "name": "SDC Status", @@ -179,36 +165,30 @@ "DISENGAGED" ] }, - { - "id": "minimum_soc", - "name": "Minimum SOC", - "type": "float32", - "displayUnits": "%" - }, { "id": "voltage_min", - "name": "Minimum cell voltage", + "name": "Minimum Cell Voltage", "type": "float32", "podUnits": "V", "displayUnits": "V" }, { "id": "voltage_max", - "name": "Maximum cell voltage", + "name": "Maximum Cell Voltage", "type": "float32", "podUnits": "V", "displayUnits": "V" }, { "id": "temp_min", - "name": "Minimum temperature", + "name": "Minimum Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC" }, { "id": "temp_max", - "name": "Maximum temperature", + "name": "Maximum Temperature", "type": "float32", "podUnits": "ºC", "displayUnits": "ºC" @@ -283,15 +263,16 @@ "type": "float32" }, { - "id": "nested_sm_status", - "name": "Nested State Machine status", + "id": "sm_status", + "name": "State Machine Status", "type": "enum", "enumValues": [ - "IDLE", - "READY TO PRECHARGE", - "PRECHARGING", - "ENERGIZED", + "Connecting", + "Idle", + "Ready To Precharge", + "Precharging", + "Energized", "FAULT" ] } -] +] \ No newline at end of file diff --git a/boards/HVBMS/orders.json b/boards/HVBMS/orders.json index 699ed82..3fae309 100644 --- a/boards/HVBMS/orders.json +++ b/boards/HVBMS/orders.json @@ -7,25 +7,25 @@ }, { "type": "order", - "name": "open_contactors", + "name": "Open Contactors", "variables": [], "id": 901 }, { "type": "order", - "name": "cell_balance", + "name": "Cell Balance", "variables": [], "id": 902 }, { "type": "order", - "name": "start_precharge", + "name": "Start Precharge", "variables": [], "id": 903 }, { "type": "order", - "name": "check_faults", + "name": "Check Faults", "variables": [], "id": 904 } diff --git a/boards/HVBMS/packets.json b/boards/HVBMS/packets.json index 2b20593..5759e82 100644 --- a/boards/HVBMS/packets.json +++ b/boards/HVBMS/packets.json @@ -1,51 +1,45 @@ [ { "type": "data", - "name": "batteries_voltage", + "name": "High Voltage System", "variables": [ - "batteries_voltage_reading" - ], - "id": 928, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "voltage_sensor", - "variables": [ - "voltage_reading" + "voltage_min", + "voltage_max", + "temp_min", + "temp_max", + "current_reading", + "voltage_reading", + "batteries_voltage_reading", + "sm_status" ], - "id": 930, - "period": 50, + "id": 950, + "period": 10, "period_type": "ms", "socket": "vcu_udp" }, { "type": "data", - "name": "current_sensor", - "variables": [ - "current_reading" - ], - "id": 931, + "name": "SOC", + "variables": ["soc"], + "id": 951, "period": 50, "period_type": "ms", "socket": "vcu_udp" }, { "type": "data", - "name": "sdc", + "name": "SDC", "variables": [ "sdc_status" ], - "id": 944, + "id": 952, "period": 50, "period_type": "ms", "socket": "vcu_udp" }, { "type": "data", - "name": "battery_1", + "name": "High Voltage Batteries", "variables": [ "battery1_cell1", "battery1_cell2", @@ -61,17 +55,7 @@ "battery1_cell12", "battery1_total_voltage", "battery1_max_temp", - "battery1_min_temp" - ], - "id": 910, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "battery_2", - "variables": [ + "battery1_min_temp", "battery2_cell1", "battery2_cell2", "battery2_cell3", @@ -86,17 +70,7 @@ "battery2_cell12", "battery2_total_voltage", "battery2_max_temp", - "battery2_min_temp" - ], - "id": 911, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "battery_3", - "variables": [ + "battery2_min_temp", "battery3_cell1", "battery3_cell2", "battery3_cell3", @@ -111,17 +85,7 @@ "battery3_cell12", "battery3_total_voltage", "battery3_max_temp", - "battery3_min_temp" - ], - "id": 912, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "battery_4", - "variables": [ + "battery3_min_temp", "battery4_cell1", "battery4_cell2", "battery4_cell3", @@ -136,17 +100,7 @@ "battery4_cell12", "battery4_total_voltage", "battery4_max_temp", - "battery4_min_temp" - ], - "id": 913, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "battery_5", - "variables": [ + "battery4_min_temp", "battery5_cell1", "battery5_cell2", "battery5_cell3", @@ -161,17 +115,7 @@ "battery5_cell12", "battery5_total_voltage", "battery5_max_temp", - "battery5_min_temp" - ], - "id": 914, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "battery_6", - "variables": [ + "battery5_min_temp", "battery6_cell1", "battery6_cell2", "battery6_cell3", @@ -186,17 +130,7 @@ "battery6_cell12", "battery6_total_voltage", "battery6_max_temp", - "battery6_min_temp" - ], - "id": 915, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "battery_7", - "variables": [ + "battery6_min_temp", "battery7_cell1", "battery7_cell2", "battery7_cell3", @@ -211,17 +145,7 @@ "battery7_cell12", "battery7_total_voltage", "battery7_max_temp", - "battery7_min_temp" - ], - "id": 916, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "battery_8", - "variables": [ + "battery7_min_temp", "battery8_cell1", "battery8_cell2", "battery8_cell3", @@ -238,36 +162,14 @@ "battery8_max_temp", "battery8_min_temp" ], - "id": 917, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "general_state_machine", - "variables": [ - "gsm_status" - ], - "id": 940, + "id": 953, "period": 50, "period_type": "ms", "socket": "vcu_udp" }, { "type": "data", - "name": "driver_diagnosis", - "variables": [ - "driver_reading_period" - ], - "id": 942, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "imd", + "name": "IMD", "variables": [ "imd_status", "imd_resistance", @@ -275,39 +177,14 @@ "imd_duty", "imd_freq" ], - "id": 943, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "minimum_soc", - "variables": [ - "minimum_soc" - ], - "id": 945, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "batteries_data", - "variables": [ - "voltage_min", - "voltage_max", - "temp_min", - "temp_max" - ], - "id": 947, + "id": 954, "period": 50, "period_type": "ms", "socket": "vcu_udp" }, { "type": "data", - "name": "contactor_status", + "name": "Contactor Status", "variables": [ "contactor_discharge", "contactor_precharge", @@ -315,47 +192,9 @@ "contactor_high", "contactor_common_high" ], - "id": 956, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "SOC", - "variables": ["soc"], - "id": 990, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "high-voltage status", - "variables": [ - "nested_sm_status" - ], - "id": 960, - "period": 50, - "period_type": "ms", - "socket": "vcu_udp" - }, - { - "type": "data", - "name": "high-voltage system", - "variables": [ - "voltage_min", - "voltage_max", - "temp_min", - "temp_max", - "current_reading", - "batteries_voltage_reading", - "voltage_reading", - "nested_sm_status" - ], - "id": 999, + "id": 955, "period": 50, "period_type": "ms", "socket": "vcu_udp" } -] +] \ No newline at end of file diff --git a/boards/HVBMS/sockets.json b/boards/HVBMS/sockets.json index 6f49b6b..af09d25 100644 --- a/boards/HVBMS/sockets.json +++ b/boards/HVBMS/sockets.json @@ -7,7 +7,7 @@ { "type": "DatagramSocket", "name": "vcu_udp", - "remote_ip": "192.168.1.3", + "remote_ip": "192.168.1.7", "port": 50400 } ] From 7d7f31f702b1652a7405b986b6a05f92ed48da07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20L=C3=B3pez?= <120128034+victor-Lopez25@users.noreply.github.com> Date: Thu, 9 Jul 2026 19:02:37 +0200 Subject: [PATCH 42/45] Add back 3 deleted measurements (#72) * Add back 3 deleted measurements * add slip_motor to packet (I forgot) --- boards/PCU/PCU_measurements.json | 21 +++++++++++++++++++++ boards/PCU/packets.json | 5 ++++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/boards/PCU/PCU_measurements.json b/boards/PCU/PCU_measurements.json index aaa7f56..d82fdd0 100644 --- a/boards/PCU/PCU_measurements.json +++ b/boards/PCU/PCU_measurements.json @@ -151,6 +151,27 @@ "podUnits": "A", "displayUnits": "A" }, + { + "id": "slip_motor", + "name": "Slip Motor", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "imu_speed_km_h", + "name": "Speed IMU", + "type": "float64", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "imu_position_m", + "name": "IMU Position", + "type": "float32", + "podUnits": "m", + "displayUnits": "m" + }, { "id": "target_voltage", "name": "Target Voltage", diff --git a/boards/PCU/packets.json b/boards/PCU/packets.json index 4453e50..2fae0bc 100644 --- a/boards/PCU/packets.json +++ b/boards/PCU/packets.json @@ -68,7 +68,10 @@ "variables": [ "target_speed", "speed_error", - "actual_current_ref" + "actual_current_ref", + "slip_motor", + "imu_speed_km_h", + "imu_position_m" ], "id": 555, "period_type": "ms", From 0cad6286f6bdd99692d2a9cecec6c397c8e7ffd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20L=C3=B3pez?= <120128034+victor-Lopez25@users.noreply.github.com> Date: Thu, 9 Jul 2026 19:27:22 +0200 Subject: [PATCH 43/45] Readd deleted data from Order and revert to f64 -> f32 (#73) * Add back 3 deleted measurements * add slip_motor to packet (I forgot) * add back deleted order data and revert f32 -> f64 --- boards/PCU/PCU_measurements.json | 16 +++++++++++++--- boards/PCU/orders.json | 7 +++++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/boards/PCU/PCU_measurements.json b/boards/PCU/PCU_measurements.json index d82fdd0..a3094c7 100644 --- a/boards/PCU/PCU_measurements.json +++ b/boards/PCU/PCU_measurements.json @@ -140,17 +140,27 @@ { "id": "current_Peak", "name": "Max Current Peak", - "type": "float64", + "type": "float32", "podUnits": "A", "displayUnits": "A" }, { "id": "error_pi", "name": "Actual Current Error", - "type": "float64", + "type": "float32", "podUnits": "A", "displayUnits": "A" }, + { + "id": "vf_control", + "name": "Variable frecuency control", + "type": "bool" + }, + { + "id": "reverse", + "name": "Reverse mode", + "type": "bool" + }, { "id": "slip_motor", "name": "Slip Motor", @@ -175,7 +185,7 @@ { "id": "target_voltage", "name": "Target Voltage", - "type": "float64", + "type": "float32", "podUnits": "V", "displayUnits": "V" }, diff --git a/boards/PCU/orders.json b/boards/PCU/orders.json index b7d8e16..6ccdde0 100644 --- a/boards/PCU/orders.json +++ b/boards/PCU/orders.json @@ -23,7 +23,9 @@ "freq_to_send_svpwm", "freq_to_send_pwm", "current_ref", - "vmax" + "vmax", + "vf_control", + "reverse" ], "id": 509 }, @@ -39,7 +41,8 @@ "variables": [ "speed_ref", "freq_to_send_pwm", - "vmax" + "vmax", + "reverse" ], "id": 511 } From ecf1131623c5ef4c88a9a1db34ecb9281bf54b42 Mon Sep 17 00:00:00 2001 From: Boris Mladenov Beslimov Date: Sat, 11 Jul 2026 18:41:28 +0200 Subject: [PATCH 44/45] Add FAULT orders to every board and change the remote_ip of the vcu_udp in the HVBMS (#74) --- boards/HVBMS/sockets.json | 2 +- boards/LCU/orders.json | 6 ++++++ boards/PCU/orders.json | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/boards/HVBMS/sockets.json b/boards/HVBMS/sockets.json index af09d25..6f49b6b 100644 --- a/boards/HVBMS/sockets.json +++ b/boards/HVBMS/sockets.json @@ -7,7 +7,7 @@ { "type": "DatagramSocket", "name": "vcu_udp", - "remote_ip": "192.168.1.7", + "remote_ip": "192.168.1.3", "port": 50400 } ] diff --git a/boards/LCU/orders.json b/boards/LCU/orders.json index fc824ba..8f5e27a 100644 --- a/boards/LCU/orders.json +++ b/boards/LCU/orders.json @@ -1,4 +1,10 @@ [ + { + "type": "order", + "name": "FAULT", + "variables": [], + "id": 0 + }, { "type": "order", "name": "Stop", diff --git a/boards/PCU/orders.json b/boards/PCU/orders.json index 6ccdde0..428ebe2 100644 --- a/boards/PCU/orders.json +++ b/boards/PCU/orders.json @@ -1,4 +1,10 @@ [ + { + "type": "order", + "name": "FAULT", + "variables": [], + "id": 0 + }, { "type": "order", "name": "Start SVPWM", From f853a114005c52f53a3f4a77c5cb753ebd551a74 Mon Sep 17 00:00:00 2001 From: FoniksFox Date: Sun, 12 Jul 2026 16:56:15 +0200 Subject: [PATCH 45/45] fix: Update UDP ports for HVBMS, LCU, and PCU boards --- boards/HVBMS/sockets.json | 2 +- boards/LCU/sockets.json | 2 +- boards/PCU/sockets.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/HVBMS/sockets.json b/boards/HVBMS/sockets.json index 6f49b6b..175e8dd 100644 --- a/boards/HVBMS/sockets.json +++ b/boards/HVBMS/sockets.json @@ -8,6 +8,6 @@ "type": "DatagramSocket", "name": "vcu_udp", "remote_ip": "192.168.1.3", - "port": 50400 + "port": 50403 } ] diff --git a/boards/LCU/sockets.json b/boards/LCU/sockets.json index 6f49b6b..c9c68c2 100644 --- a/boards/LCU/sockets.json +++ b/boards/LCU/sockets.json @@ -8,6 +8,6 @@ "type": "DatagramSocket", "name": "vcu_udp", "remote_ip": "192.168.1.3", - "port": 50400 + "port": 50405 } ] diff --git a/boards/PCU/sockets.json b/boards/PCU/sockets.json index 6f49b6b..62ddd37 100644 --- a/boards/PCU/sockets.json +++ b/boards/PCU/sockets.json @@ -8,6 +8,6 @@ "type": "DatagramSocket", "name": "vcu_udp", "remote_ip": "192.168.1.3", - "port": 50400 + "port": 50402 } ]