From 798eb3867955ecc2f8bf97e84abfe2b6fadae8a8 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 9 Feb 2025 14:10:44 -0500 Subject: [PATCH] Update fc_block_decode.py change to fctelem/public_html --- groundstation/fc_block_decode.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index ebb02627..3d27e625 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -25,7 +25,8 @@ Vx, Vy, Vz, Vb = 0, 0, 0, 0 Ix, Iy, Iz, Ic, Ib = 0, 0, 0, 0, 0 frame_count, frame_type = 0, " " -html_dir = "/home/pi/CubeSatSim/groundstation/public_html/" +# html_dir = "/home/pi/CubeSatSim/groundstation/public_html/" +html_dir = "/home/pi/fctelem/public_html/" image_dir = "/home/pi/fctelem/" image = "image_file" ssdv = "/home/pi/ssdv/ssdv -d -J " @@ -137,6 +138,7 @@ if __name__ == "__main__": filename = image_dir + image + str(image_id) + "." + str(image_count) + ".jpeg" system(ssdv + image_dir + image + " " + filename) system("cp " + filename + " " + html_dir + "image_file.jpeg") + system("cp " + filename + " " + html_dir + "images/" + image + str(image_id) + "." + ".jpeg") telem_string = fstr(telem_string_format) with open(html_dir + "index.html", "w") as html_file: html_file.write(head_string)