From a45f9307a6b582da68c420e8d7be27a542b43c7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9CChristy?= <“[christy.guirguis@ucalgary.ca]”>
Date: Sat, 23 May 2026 11:54:00 -0600
Subject: [PATCH 1/6] swapped rocket mass and nos2
---
RocketControlUnitGUI/src/routes/+page.svelte | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/RocketControlUnitGUI/src/routes/+page.svelte b/RocketControlUnitGUI/src/routes/+page.svelte
index 591eb79..94ff326 100644
--- a/RocketControlUnitGUI/src/routes/+page.svelte
+++ b/RocketControlUnitGUI/src/routes/+page.svelte
@@ -177,10 +177,10 @@
$: dip_tube_tc_display =
$dip_tube_tc_temperature === undefined ? 'N/A' : $dip_tube_tc_temperature;
- $: rocket_mass_display = $rocket_mass === undefined ? 'N/A' : Number($rocket_mass).toFixed(2);
+ $: rocket_mass_display = $rocket_mass === undefined ? 'N/A' : Number($nos2_mass).toFixed(2);
$: nos1_mass_display = $nos1_mass === undefined ? 'N/A' : Number($nos1_mass).toFixed(2);
- $: nos2_mass_display = $nos2_mass === undefined ? 'N/A' : Number($nos2_mass).toFixed(2);
+ $: nos2_mass_display = $nos2_mass === undefined ? 'N/A' : Number($rocket_mass).toFixed(2);
$: ib_pressure_display = $ib_pressure === undefined ? 'N/A' : $ib_pressure;
$: lower_pv_display = $lower_pv_pressure === undefined ? 'N/A' : $lower_pv_pressure;
@@ -542,7 +542,7 @@
@@ -553,8 +553,8 @@
type="button"
class="btn btn-sm variant-filled-error"
on:click={() => {
- writeLoadCellCommand('NOS2', 'CANCEL', 0);
- resumeConfirmRemoveWeight('NOS2');
+ writeLoadCellCommand('LAUNCHRAIL', 'CANCEL', 0);
+ resumeConfirmRemoveWeight('LAUNCHRAIL');
}}
>
CAL
@@ -565,7 +565,7 @@
@@ -576,8 +576,8 @@
type="button"
class="btn btn-sm variant-filled-error"
on:click={() => {
- writeLoadCellCommand('LAUNCHRAIL', 'CANCEL', 0);
- resumeConfirmRemoveWeight('LAUNCHRAIL');
+ writeLoadCellCommand('NOS2', 'CANCEL', 0);
+ resumeConfirmRemoveWeight('NOS2');
}}
>
CAL
From 6d674f085c005cae8d59dedc3fac4472135c3433 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9CChristy?= <“[christy.guirguis@ucalgary.ca]”>
Date: Sat, 23 May 2026 13:11:50 -0600
Subject: [PATCH 2/6] updated light/dark backgrounds
---
.../src/lib/MainBackground.svg | 1153 ++++++
.../src/lib/MainBackgroundDark.svg | 1113 ++++++
.../src/lib/components/Diagram.svelte | 3284 +----------------
3 files changed, 2324 insertions(+), 3226 deletions(-)
create mode 100644 RocketControlUnitGUI/src/lib/MainBackground.svg
create mode 100644 RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
diff --git a/RocketControlUnitGUI/src/lib/MainBackground.svg b/RocketControlUnitGUI/src/lib/MainBackground.svg
new file mode 100644
index 0000000..5c9409d
--- /dev/null
+++ b/RocketControlUnitGUI/src/lib/MainBackground.svg
@@ -0,0 +1,1153 @@
+
diff --git a/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg b/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
new file mode 100644
index 0000000..2278f7d
--- /dev/null
+++ b/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
@@ -0,0 +1,1113 @@
+
diff --git a/RocketControlUnitGUI/src/lib/components/Diagram.svelte b/RocketControlUnitGUI/src/lib/components/Diagram.svelte
index 30ba60e..9112bca 100644
--- a/RocketControlUnitGUI/src/lib/components/Diagram.svelte
+++ b/RocketControlUnitGUI/src/lib/components/Diagram.svelte
@@ -1,3233 +1,65 @@
-
+
+
+
+
{@html MainBackgroundLight}
+
{@html MainBackgroundDark}
+
+ .diagram-wrapper :global(.diagram-label) {
+ fill: var(--diagram-outline-color);
+ font-family: Quicksand, sans-serif;
+ font-size: 15px;
+ text-anchor: middle;
+ dominant-baseline: middle;
+ }
+
\ No newline at end of file
From 9eb3458843edddd6dea569523b360b0ff1cc9513 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9CChristy?= <“[christy.guirguis@ucalgary.ca]”>
Date: Sat, 23 May 2026 13:44:57 -0600
Subject: [PATCH 3/6] fixed missing vent
---
.../src/lib/components/Diagram.svelte | 33 -------------------
1 file changed, 33 deletions(-)
diff --git a/RocketControlUnitGUI/src/lib/components/Diagram.svelte b/RocketControlUnitGUI/src/lib/components/Diagram.svelte
index 9112bca..0483400 100644
--- a/RocketControlUnitGUI/src/lib/components/Diagram.svelte
+++ b/RocketControlUnitGUI/src/lib/components/Diagram.svelte
@@ -29,37 +29,4 @@
.diagram-wrapper :global(svg *) {
transition: all 0.15s ease;
}
-
- .diagram-wrapper :global(.added-sensor text),
- .diagram-wrapper :global(.added-heater text) {
- fill: var(--diagram-outline-color);
- font-family: Quicksand, sans-serif;
- font-size: 13px;
- text-anchor: middle;
- dominant-baseline: middle;
- }
-
- .diagram-wrapper :global(.added-sensor circle),
- .diagram-wrapper :global(.added-sensor line),
- .diagram-wrapper :global(.added-sensor polyline),
- .diagram-wrapper :global(.added-heater rect),
- .diagram-wrapper :global(.added-heater path) {
- stroke: var(--diagram-outline-color);
- }
-
- .diagram-wrapper :global(#Pressure\ Vessel) {
- display: none;
- }
-
- .diagram-wrapper :global(#VENT) {
- display: none;
- }
-
- .diagram-wrapper :global(.diagram-label) {
- fill: var(--diagram-outline-color);
- font-family: Quicksand, sans-serif;
- font-size: 15px;
- text-anchor: middle;
- dominant-baseline: middle;
- }
\ No newline at end of file
From 543b285c35e3a671b89e30543167e3dc604595dd Mon Sep 17 00:00:00 2001
From: Spiro Douvis
Date: Sat, 23 May 2026 14:32:30 -0600
Subject: [PATCH 4/6] Updated positioning of gui elements
---
.../src/styles/display.postcss | 56 +++++++++----------
SoarCommunications | 2 +-
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/RocketControlUnitGUI/src/styles/display.postcss b/RocketControlUnitGUI/src/styles/display.postcss
index 5201b95..5f0a1f9 100644
--- a/RocketControlUnitGUI/src/styles/display.postcss
+++ b/RocketControlUnitGUI/src/styles/display.postcss
@@ -93,16 +93,16 @@
.vent_slider {
position: absolute;
- top: calc(var(--container-width) * 0.222);
- left: 85.3%;
+ top: calc(var(--container-width) * 0.205);
+ left: 96.3%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1900));
font-size: 16px;
}
.drain_slider {
position: absolute;
- top: calc(var(--container-width) * 0.265);
- left: 85.3%;
+ top: calc(var(--container-width) * 0.425);
+ left: 96.3%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1900));
font-size: 16px;
}
@@ -117,16 +117,16 @@
.upper_pv_heater_slider {
position: absolute;
- top: calc(var(--container-width) * 0.144);
- left: 90.2%;
+ top: calc(var(--container-width) * 0.270);
+ left: 96.2%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 2300));
font-size: 12px;
}
.lower_pv_heater_slider {
position: absolute;
- top: calc(var(--container-width) * 0.318);
- left: 98.15%;
+ top: calc(var(--container-width) * 0.389);
+ left: 93.55%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 2300));
font-size: 12px;
}
@@ -297,32 +297,32 @@
.upper_pv_pressure {
position: absolute;
- top: calc(var(--container-width) * 0.104);
- left: 92.9%;
+ top: calc(var(--container-width) * 0.154);
+ left: 89.0%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
- font-size: 14px;
+ font-size: 13px;
}
.upper_pv_tc {
position: absolute;
- top: calc(var(--container-width) * 0.114);
- left: 86.7%;
+ top: calc(var(--container-width) * 0.155);
+ left: 85.7%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.vent_solenoid_tc {
position: absolute;
- top: calc(var(--container-width) * 0.108);
- left: 89.6%;
+ top: calc(var(--container-width) * 0.170);
+ left: 95.9%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.dip_tube_tc {
position: absolute;
- top: calc(var(--container-width) * 0.114);
- left: 97.4%;
+ top: calc(var(--container-width) * 0.116);
+ left: 91.8%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
@@ -338,39 +338,39 @@
.ib_pressure {
position: absolute;
top: calc(var(--container-width) * 0.391);
- left: 93.1%;
+ left: 90.1%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
- font-size: 14px;
+ font-size: 12px;
}
.lower_pv_pressure {
position: absolute;
- top: calc(var(--container-width) * 0.345);
- left: 90.9%;
+ top: calc(var(--container-width) * 0.325);
+ left: 86.4%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
- font-size: 14px;
+ font-size: 12px;
}
.ib_temperature {
position: absolute;
top: calc(var(--container-width) * 0.391);
- left: 89.8%;
+ left: 85.5%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.lower_pv_tc1 {
position: absolute;
- top: calc(var(--container-width) * 0.345);
- left: 94.2%;
+ top: calc(var(--container-width) * 0.325);
+ left: 91.6%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
- font-size: 14px;
+ font-size: 12px;
}
.low_solenoid_heater_tc {
position: absolute;
- top: calc(var(--container-width) * 0.356);
- left: 98.35%;
+ top: calc(var(--container-width) * 0.379);
+ left: 95.5%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
diff --git a/SoarCommunications b/SoarCommunications
index 76a498b..8a5b492 160000
--- a/SoarCommunications
+++ b/SoarCommunications
@@ -1 +1 @@
-Subproject commit 76a498b750148bdabd37132c5fd4071c39aeb83c
+Subproject commit 8a5b49256d9879b661437f2cf52fd4e2d7ddd614
From 97ca15cfe7f37637c4ec070e2e297cf651806149 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9CChristy?= <“[christy.guirguis@ucalgary.ca]”>
Date: Sat, 23 May 2026 14:38:11 -0600
Subject: [PATCH 5/6] moved over svgs
---
.../src/lib/MainBackground.svg | 128 +++++++++---------
.../src/lib/MainBackgroundDark.svg | 118 ++++++++--------
2 files changed, 123 insertions(+), 123 deletions(-)
diff --git a/RocketControlUnitGUI/src/lib/MainBackground.svg b/RocketControlUnitGUI/src/lib/MainBackground.svg
index 5c9409d..aa566d5 100644
--- a/RocketControlUnitGUI/src/lib/MainBackground.svg
+++ b/RocketControlUnitGUI/src/lib/MainBackground.svg
@@ -242,9 +242,9 @@
-
+
-
+
@@ -331,75 +331,75 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
@@ -415,37 +415,37 @@
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
@@ -468,7 +468,7 @@
-
+
@@ -769,7 +769,7 @@
-
+
@@ -930,12 +930,12 @@
-
+
-
+
-
+
@@ -945,9 +945,9 @@
-
-
-
+
+
+
@@ -965,14 +965,14 @@
-
-
-
+
+
+
-
+
-
+
@@ -1009,7 +1009,7 @@
-
+
@@ -1019,7 +1019,7 @@
-
+
@@ -1029,7 +1029,7 @@
-
+
@@ -1039,7 +1039,7 @@
-
+
@@ -1049,7 +1049,7 @@
-
+
@@ -1059,7 +1059,7 @@
-
+
@@ -1069,7 +1069,7 @@
-
+
@@ -1089,7 +1089,7 @@
-
+
@@ -1099,7 +1099,7 @@
-
+
diff --git a/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg b/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
index 2278f7d..3668fe4 100644
--- a/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
+++ b/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
@@ -241,9 +241,9 @@
-
+
-
+
@@ -330,75 +330,75 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
@@ -414,37 +414,37 @@
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
@@ -467,7 +467,7 @@
-
+
@@ -768,7 +768,7 @@
-
+
@@ -899,12 +899,12 @@
-
+
-
+
-
+
@@ -914,9 +914,9 @@
-
-
-
+
+
+
@@ -969,7 +969,7 @@
-
+
@@ -979,7 +979,7 @@
-
+
@@ -989,7 +989,7 @@
-
+
@@ -999,7 +999,7 @@
-
+
@@ -1009,7 +1009,7 @@
-
+
@@ -1019,7 +1019,7 @@
-
+
@@ -1029,7 +1029,7 @@
-
+
@@ -1049,7 +1049,7 @@
-
+
@@ -1059,7 +1059,7 @@
-
+
From 6d318e957f6c946e8a404ff00d5355efd5249caf Mon Sep 17 00:00:00 2001
From: Spiro Douvis
Date: Sat, 23 May 2026 16:30:18 -0600
Subject: [PATCH 6/6] Updated GUI
---
.../src/lib/MainBackground.svg | 727 ++++++++++--------
.../src/lib/MainBackgroundDark.svg | 414 ++++++----
.../src/styles/display.postcss | 44 +-
3 files changed, 667 insertions(+), 518 deletions(-)
diff --git a/RocketControlUnitGUI/src/lib/MainBackground.svg b/RocketControlUnitGUI/src/lib/MainBackground.svg
index aa566d5..e0ca4eb 100644
--- a/RocketControlUnitGUI/src/lib/MainBackground.svg
+++ b/RocketControlUnitGUI/src/lib/MainBackground.svg
@@ -1,5 +1,5 @@
diff --git a/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg b/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
index 3668fe4..18df24e 100644
--- a/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
+++ b/RocketControlUnitGUI/src/lib/MainBackgroundDark.svg
@@ -1,5 +1,5 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -999,7 +1077,7 @@
-
+
@@ -1009,7 +1087,7 @@
-
+
@@ -1019,7 +1097,7 @@
-
+
@@ -1029,7 +1107,7 @@
-
+
@@ -1039,7 +1117,7 @@
-
+
@@ -1049,7 +1127,7 @@
-
+
@@ -1059,7 +1137,7 @@
-
+
@@ -1069,7 +1147,7 @@
-
+
@@ -1079,7 +1157,7 @@
-
+
@@ -1089,7 +1167,7 @@
-
+
@@ -1099,7 +1177,7 @@
-
+
diff --git a/RocketControlUnitGUI/src/styles/display.postcss b/RocketControlUnitGUI/src/styles/display.postcss
index 5f0a1f9..278d1c4 100644
--- a/RocketControlUnitGUI/src/styles/display.postcss
+++ b/RocketControlUnitGUI/src/styles/display.postcss
@@ -101,7 +101,7 @@
.drain_slider {
position: absolute;
- top: calc(var(--container-width) * 0.425);
+ top: calc(var(--container-width) * 0.375);
left: 96.3%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1900));
font-size: 16px;
@@ -117,16 +117,16 @@
.upper_pv_heater_slider {
position: absolute;
- top: calc(var(--container-width) * 0.270);
- left: 96.2%;
+ top: calc(var(--container-width) * 0.265);
+ left: 93.2%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 2300));
font-size: 12px;
}
.lower_pv_heater_slider {
position: absolute;
- top: calc(var(--container-width) * 0.389);
- left: 93.55%;
+ top: calc(var(--container-width) * 0.430);
+ left: 91.7%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 2300));
font-size: 12px;
}
@@ -298,31 +298,31 @@
.upper_pv_pressure {
position: absolute;
top: calc(var(--container-width) * 0.154);
- left: 89.0%;
+ left: 87.0%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 13px;
}
.upper_pv_tc {
position: absolute;
- top: calc(var(--container-width) * 0.155);
- left: 85.7%;
+ top: calc(var(--container-width) * 0.116);
+ left: 89.8%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.vent_solenoid_tc {
position: absolute;
- top: calc(var(--container-width) * 0.170);
- left: 95.9%;
+ top: calc(var(--container-width) * 0.142);
+ left: 94.5%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.dip_tube_tc {
position: absolute;
- top: calc(var(--container-width) * 0.116);
- left: 91.8%;
+ top: calc(var(--container-width) * 0.155);
+ left: 83.4%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
@@ -337,40 +337,40 @@
.ib_pressure {
position: absolute;
- top: calc(var(--container-width) * 0.391);
- left: 90.1%;
+ top: calc(var(--container-width) * 0.350);
+ left: 88.7%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.lower_pv_pressure {
position: absolute;
- top: calc(var(--container-width) * 0.325);
- left: 86.4%;
+ top: calc(var(--container-width) * 0.311);
+ left: 84.5%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.ib_temperature {
position: absolute;
- top: calc(var(--container-width) * 0.391);
- left: 85.5%;
+ top: calc(var(--container-width) * 0.351);
+ left: 84.0%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.lower_pv_tc1 {
position: absolute;
- top: calc(var(--container-width) * 0.325);
- left: 91.6%;
+ top: calc(var(--container-width) * 0.311);
+ left: 89.6%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}
.low_solenoid_heater_tc {
position: absolute;
- top: calc(var(--container-width) * 0.379);
- left: 95.5%;
+ top: calc(var(--container-width) * 0.312);
+ left: 93.6%;
transform: translate(-50%, -50%) scale(calc(var(--container-width-unitless) / 1500));
font-size: 12px;
}