update TCS set
This commit is contained in:
parent
56d163f710
commit
56d0f26cbf
@ -28,7 +28,7 @@ def handle_thermal_controller_hk_data(
|
|||||||
pw.dlog("Received sensor temperature data")
|
pw.dlog("Received sensor temperature data")
|
||||||
|
|
||||||
# get all the floats
|
# get all the floats
|
||||||
tm_data = struct.unpack("!ffffffffffffffffff", hk_data[: 18 * 4])
|
tm_data = struct.unpack("!fffffffffffffffffffff", hk_data[: 21 * 4])
|
||||||
parsed_data = {
|
parsed_data = {
|
||||||
"SENSOR_PLOC_HEATSPREADER": tm_data[0],
|
"SENSOR_PLOC_HEATSPREADER": tm_data[0],
|
||||||
"SENSOR_PLOC_MISSIONBOARD": tm_data[1],
|
"SENSOR_PLOC_MISSIONBOARD": tm_data[1],
|
||||||
@ -46,8 +46,11 @@ def handle_thermal_controller_hk_data(
|
|||||||
"SENSOR_PLPCDU_HEATSPREADER": tm_data[13],
|
"SENSOR_PLPCDU_HEATSPREADER": tm_data[13],
|
||||||
"SENSOR_TCS_BOARD": tm_data[14],
|
"SENSOR_TCS_BOARD": tm_data[14],
|
||||||
"SENSOR_MAGNETTORQUER": tm_data[15],
|
"SENSOR_MAGNETTORQUER": tm_data[15],
|
||||||
"TMP1075 1": tm_data[16],
|
"TMP1075 TCS 0": tm_data[16],
|
||||||
"TMP1075 2": tm_data[17],
|
"TMP1075 TCS 1": tm_data[17],
|
||||||
|
"TMP1075 PL PCDU 0": tm_data[18],
|
||||||
|
"TMP1075 PL PCDU 1": tm_data[19],
|
||||||
|
"TMP1075 IF BOARD": tm_data[20],
|
||||||
}
|
}
|
||||||
printer.file_logger.info(str(parsed_data))
|
printer.file_logger.info(str(parsed_data))
|
||||||
pp = pprint.PrettyPrinter(depth=4)
|
pp = pprint.PrettyPrinter(depth=4)
|
||||||
|
Loading…
Reference in New Issue
Block a user