mawson-rovers / hestia

Hestia is a space-ready heater & temperature measurement system developed by Mawson Rovers in Sydney. Its first mission will demonstrate a novel UTS heatsink design, aboard the Waratah Seed cubesat mission. It is due to launch on a SpaceX rocket in July 2024.
MIT License
1 stars 1 forks source link

Log file missing header on 2023-02-16 #26

Closed mryall-mawson closed 1 year ago

mryall-mawson commented 1 year ago

Laryssa sent me files where the one for today is missing its header, so the dashboard doesn't have the correct sensor names:

% head -n3 *
==> hestia-data-2023-02-14 (1).csv <==
"timestamp","TH1","TH2","TH3","U4","U5","U6","U7","TH4","TH5","TH6","J7","J8","J9","J10","J11","J12","J13","J14","J15","J16","heater"
2023-02-14 15:17:44.673386,24.0226,23.7851,24.2842,24.4922,24.2695,24.3047,25.8359,,,,25.6231,,,,,,,,,,0
2023-02-14 15:17:49.724624,23.9751,23.6427,24.2604,24.5039,24.2500,24.2969,25.8047,,,,25.5991,,,,,,,,,,0

==> hestia-data-2023-02-15 (1).csv <==
"timestamp","TH1","TH2","TH3","U4","U5","U6","U7","TH4","TH5","TH6","J7","J8","J9","J10","J11","J12","J13","J14","J15","J16","heater"
2023-02-15 14:46:39.754303,21.9191,22.0132,22.2957,23.8125,23.6875,23.7812,23.6953,,,,23.0035,,,,,,,,,,0
2023-02-15 14:46:44.823827,21.9191,21.9661,22.2721,23.8047,23.7031,23.7852,23.6836,,,,22.9562,,,,,,,,,,0

==> hestia-data-2023-02-16.csv <==
2023-02-16 16:01:47.731465,25.7192,24.9283,25.8154,24.9023,24.8125,24.9961,27.5703,,,,24.2842,,,,,,,,,,0
2023-02-16 16:01:52.777697,25.2154,24.6417,25.4071,24.6602,24.5117,24.8047,27.0781,,,,23.8800,,,,,,,,,,0
2023-02-16 16:01:57.810639,24.8327,24.4033,25.0718,24.4297,24.1602,24.5547,26.7500,,,,23.2637,,,,,,,,,,0

Need to try to reproduce this. Perhaps if the logger is started while the board is offline, it can skip printing out the header somehow.

mryall-mawson commented 1 year ago

Laryssa's BeagleBone was still using an old version of hestia-logger without the recently added error handling (e.g. 82f77a45), so I think this failure case is no longer relevant.