275 lines
9.2 KiB
Plaintext
275 lines
9.2 KiB
Plaintext
[gd_scene format=3 uid="uid://c6xqxnk0pqhg1"]
|
|
|
|
[ext_resource type="Script" uid="uid://d3jrypgr15n4x" path="res://scripts/vehicle_status_panel.gd" id="1"]
|
|
[ext_resource type="Script" uid="uid://rh8gwu8mfqx2" path="res://scripts/vehicle_status_art.gd" id="2"]
|
|
[ext_resource type="Script" uid="uid://bqvhrignal143" path="res://scripts/status_gauge.gd" id="3"]
|
|
[ext_resource type="Texture2D" uid="uid://bc2m1gknloa5i" path="res://assets/vector/status/stationkeep.svg" id="4"]
|
|
|
|
[node name="VehicleStatusPanel" type="PanelContainer" unique_id=489606862]
|
|
custom_minimum_size = Vector2(600, 440)
|
|
offset_right = 600.0
|
|
offset_bottom = 440.0
|
|
theme_type_variation = &"VehicleBackground"
|
|
script = ExtResource("1")
|
|
mode_icon = ExtResource("4")
|
|
|
|
[node name="Margin" type="MarginContainer" parent="." unique_id=1101194281]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_top = 12
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_bottom = 12
|
|
|
|
[node name="Layout" type="VBoxContainer" parent="Margin" unique_id=221437014]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="StatusArea" type="MarginContainer" parent="Margin/Layout" unique_id=1107401965]
|
|
custom_minimum_size = Vector2(0, 164)
|
|
clip_contents = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="StatusArt" type="Control" parent="Margin/Layout/StatusArea" unique_id=649910411]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("2")
|
|
|
|
[node name="ModeIcon" type="TextureRect" parent="Margin/Layout/StatusArea/StatusArt" unique_id=728690011]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
self_modulate = Color(1, 0.61176467, 0.25, 0.09)
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.68
|
|
anchor_top = 0.5
|
|
anchor_right = 0.68
|
|
anchor_bottom = 0.5
|
|
offset_left = -105.0
|
|
offset_top = -105.0
|
|
offset_right = 105.0
|
|
offset_bottom = 105.0
|
|
rotation = -0.20943952
|
|
pivot_offset = Vector2(105, 105)
|
|
mouse_filter = 2
|
|
texture = ExtResource("4")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="Inset" type="MarginContainer" parent="Margin/Layout/StatusArea" unique_id=2050290664]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 12
|
|
theme_override_constants/margin_top = 8
|
|
theme_override_constants/margin_right = 12
|
|
theme_override_constants/margin_bottom = 8
|
|
|
|
[node name="Text" type="VBoxContainer" parent="Margin/Layout/StatusArea/Inset" unique_id=905192152]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="Top" type="HBoxContainer" parent="Margin/Layout/StatusArea/Inset/Text" unique_id=424687654]
|
|
layout_mode = 2
|
|
|
|
[node name="Code" type="Label" parent="Margin/Layout/StatusArea/Inset/Text/Top" unique_id=1099636858]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_type_variation = &"Label"
|
|
theme_override_font_sizes/font_size = 18
|
|
|
|
[node name="Severity" type="Label" parent="Margin/Layout/StatusArea/Inset/Text/Top" unique_id=1356897068]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_type_variation = &"Label"
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "NO DATA"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="StatusName" type="Label" parent="Margin/Layout/StatusArea/Inset/Text" unique_id=1189663888]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_type_variation = &"Label"
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "Waiting for telemetry"
|
|
autowrap_mode = 3
|
|
|
|
[node name="Detail" type="Label" parent="Margin/Layout/StatusArea/Inset/Text" unique_id=703466821]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_type_variation = &"Label"
|
|
theme_override_font_sizes/font_size = 18
|
|
autowrap_mode = 3
|
|
|
|
[node name="Action" type="Label" parent="Margin/Layout/StatusArea/Inset/Text" unique_id=514634651]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_type_variation = &"Label"
|
|
theme_override_font_sizes/font_size = 18
|
|
autowrap_mode = 3
|
|
|
|
[node name="Readouts" type="VBoxContainer" parent="Margin/Layout" unique_id=1999758637]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="Voltage" type="VBoxContainer" parent="Margin/Layout/Readouts" unique_id=1002742281]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="Numbers" type="HBoxContainer" parent="Margin/Layout/Readouts/Voltage" unique_id=1312021033]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="Title" type="Label" parent="Margin/Layout/Readouts/Voltage/Numbers" unique_id=264983620]
|
|
custom_minimum_size = Vector2(124, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "VOLTAGE"
|
|
|
|
[node name="VoltageValue" type="Label" parent="Margin/Layout/Readouts/Voltage/Numbers" unique_id=1230347145]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 26
|
|
text = "—"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="VoltageReference" type="Label" parent="Margin/Layout/Readouts/Voltage/Numbers" unique_id=264381298]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "/ 48 V"
|
|
vertical_alignment = 1
|
|
|
|
[node name="VoltageGauge" type="Control" parent="Margin/Layout/Readouts/Voltage" unique_id=446082505]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 16)
|
|
layout_mode = 2
|
|
script = ExtResource("3")
|
|
minimum = 42.0
|
|
maximum = 54.0
|
|
warning_low = 47.0
|
|
warning_high = 49.0
|
|
fault_low = 45.0
|
|
fault_high = 51.0
|
|
nominal = 48.0
|
|
|
|
[node name="Current" type="VBoxContainer" parent="Margin/Layout/Readouts" unique_id=1982270337]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="Numbers" type="HBoxContainer" parent="Margin/Layout/Readouts/Current" unique_id=619271939]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="Title" type="Label" parent="Margin/Layout/Readouts/Current/Numbers" unique_id=137700803]
|
|
custom_minimum_size = Vector2(124, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "CURRENT"
|
|
|
|
[node name="CurrentValue" type="Label" parent="Margin/Layout/Readouts/Current/Numbers" unique_id=2147417420]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 26
|
|
text = "—"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="CurrentReference" type="Label" parent="Margin/Layout/Readouts/Current/Numbers" unique_id=1995980746]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "/ 30 A"
|
|
vertical_alignment = 1
|
|
|
|
[node name="CurrentGauge" type="Control" parent="Margin/Layout/Readouts/Current" unique_id=484645650]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 16)
|
|
layout_mode = 2
|
|
script = ExtResource("3")
|
|
nominal = nan
|
|
|
|
[node name="Power" type="VBoxContainer" parent="Margin/Layout/Readouts" unique_id=1074490654]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="Numbers" type="HBoxContainer" parent="Margin/Layout/Readouts/Power" unique_id=111236353]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="Title" type="Label" parent="Margin/Layout/Readouts/Power/Numbers" unique_id=213594380]
|
|
custom_minimum_size = Vector2(124, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "POWER"
|
|
|
|
[node name="PowerValue" type="Label" parent="Margin/Layout/Readouts/Power/Numbers" unique_id=1921756191]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 26
|
|
text = "—"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="PowerReference" type="Label" parent="Margin/Layout/Readouts/Power/Numbers" unique_id=1441937096]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "/ 1440 W"
|
|
vertical_alignment = 1
|
|
|
|
[node name="PowerGauge" type="Control" parent="Margin/Layout/Readouts/Power" unique_id=82393019]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 16)
|
|
layout_mode = 2
|
|
script = ExtResource("3")
|
|
maximum = 1728.0
|
|
warning_high = 1152.0
|
|
fault_high = 1440.0
|
|
nominal = nan
|
|
|
|
[node name="Temperature" type="VBoxContainer" parent="Margin/Layout/Readouts" unique_id=658026844]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="Numbers" type="HBoxContainer" parent="Margin/Layout/Readouts/Temperature" unique_id=567006533]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="Title" type="Label" parent="Margin/Layout/Readouts/Temperature/Numbers" unique_id=1987975109]
|
|
custom_minimum_size = Vector2(124, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "INTERNAL"
|
|
|
|
[node name="TemperatureValue" type="Label" parent="Margin/Layout/Readouts/Temperature/Numbers" unique_id=1041616611]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 26
|
|
text = "—"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="TemperatureReference" type="Label" parent="Margin/Layout/Readouts/Temperature/Numbers" unique_id=1032238631]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 18
|
|
text = "/ 65 °C"
|
|
vertical_alignment = 1
|
|
|
|
[node name="TemperatureGauge" type="Control" parent="Margin/Layout/Readouts/Temperature" unique_id=214013672]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 16)
|
|
layout_mode = 2
|
|
script = ExtResource("3")
|
|
maximum = 90.0
|
|
warning_high = 55.0
|
|
fault_high = 65.0
|
|
nominal = nan
|