From 13e3e88f7460e12ed9b42db7897444a8d66991b3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 8 Feb 2025 16:24:39 -0500 Subject: [PATCH] Update fc_block_decode.py try pre --- groundstation/fc_block_decode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index b6d516ce..470d2009 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -23,8 +23,8 @@ Vx = 0 Vy = 0 Vz = 0 -head_string = '\n\nFunCube CubeSatSim Telemetry\n

\n

' -foot_string = "

\n" +head_string = '\n\nFunCube CubeSatSim Telemetry\n

\n

'
+foot_string = "

\n" telem_string = f"\nSequence number: {sequence: >5d} Image ID: {image_id: >3d} count: {image_count: >2d}

Vx: {Vx: >5d} mV Vy: {Vy: >5d} mV Vz: {Vz: >5d} mV" with open("/home/pi/CubeSatSim/groundstation/public_html/index.html", "w") as html_file: html_file.write(head_string)