Update tmtccmd #21
@ -71,15 +71,18 @@ def handle_self_test_data(hk_data: bytearray) -> Tuple[list, list, bytearray, in
|
|||||||
hk_content = []
|
hk_content = []
|
||||||
validity_buffer = bytearray()
|
validity_buffer = bytearray()
|
||||||
hk_header = [
|
hk_header = [
|
||||||
"Init Err", "Init Raw Mag X [nT]", "Init Raw Mag Y [nT]", "Init Raw Mag Z [nT]", "Init Cal Mag X [nT]",
|
"Init Err", "Init Raw Mag X [nT]", "Init Raw Mag Y [nT]", "Init Raw Mag Z [nT]",
|
||||||
"Init Cal Mag Y [nT]", "Init Cal Mag Z [nT]", "Init Coil X Current [mA]", "Init Coil Y Current [mA]",
|
"Init Cal Mag X [nT]", "Init Cal Mag Y [nT]", "Init Cal Mag Z [nT]",
|
||||||
"Init Coil Z Current [mA]", "Init Coil X Temperature [°C]", "Init Coil Y Temperature [°C]",
|
"Init Coil X Current [mA]", "Init Coil Y Current [mA]", "Init Coil Z Current [mA]",
|
||||||
|
"Init Coil X Temperature [°C]", "Init Coil Y Temperature [°C]",
|
||||||
"Init Coil Z Temperature [°C]", "Err", "Raw Mag X [nT]", "Raw Mag Y [nT]", "Raw Mag Z [nT]",
|
"Init Coil Z Temperature [°C]", "Err", "Raw Mag X [nT]", "Raw Mag Y [nT]", "Raw Mag Z [nT]",
|
||||||
"Cal Mag X [nT]", "Cal Mag Y [nT]", "Cal Mag Z [nT]", "Coil X Current [mA]", "Coil Y Current [mA]",
|
"Cal Mag X [nT]", "Cal Mag Y [nT]", "Cal Mag Z [nT]", "Coil X Current [mA]",
|
||||||
"Coil Z Current [mA]", "Coil X Temperature [°C]", "Coil Y Temperature [°C]", "Coil Z Temperature [°C]",
|
"Coil Y Current [mA]", "Coil Z Current [mA]",
|
||||||
"Fina Err", "Fina Raw Mag X [nT]", "Fina Raw Mag Y [nT]", "Fina Raw Mag Z [nT]", "Fina Cal Mag X [nT]",
|
"Coil X Temperature [°C]", "Coil Y Temperature [°C]", "Coil Z Temperature [°C]",
|
||||||
"Fina Cal Mag Y [nT]", "Fina Cal Mag Z [nT]", "Fina Coil X Current [mA]", "Fina Coil Y Current [mA]",
|
"Fina Err", "Fina Raw Mag X [nT]", "Fina Raw Mag Y [nT]", "Fina Raw Mag Z [nT]",
|
||||||
"Fina Coil Z Current [mA]", "Fina Coil X Temperature [°C]", "Fina Coil Y Temperature [°C]",
|
"Fina Cal Mag X [nT]", "Fina Cal Mag Y [nT]", "Fina Cal Mag Z [nT]",
|
||||||
|
"Fina Coil X Current [mA]", "Fina Coil Y Current [mA]", "Fina Coil Z Current [mA]",
|
||||||
|
"Fina Coil X Temperature [°C]", "Fina Coil Y Temperature [°C]",
|
||||||
"Fina Coil Z Temperature [°C]"
|
"Fina Coil Z Temperature [°C]"
|
||||||
]
|
]
|
||||||
# INIT step (no coil actuation)
|
# INIT step (no coil actuation)
|
||||||
@ -130,12 +133,14 @@ def handle_self_test_data(hk_data: bytearray) -> Tuple[list, list, bytearray, in
|
|||||||
hk_content = [
|
hk_content = [
|
||||||
init_err, init_raw_mag_x, init_raw_mag_y, init_raw_mag_z, init_cal_mag_x, init_cal_mag_y,
|
init_err, init_raw_mag_x, init_raw_mag_y, init_raw_mag_z, init_cal_mag_x, init_cal_mag_y,
|
||||||
init_cal_mag_z, init_coil_x_current, init_coil_y_current, init_coil_z_current,
|
init_cal_mag_z, init_coil_x_current, init_coil_y_current, init_coil_z_current,
|
||||||
init_coil_x_temperature, init_coil_y_temperature, init_coil_z_temperature, err, raw_mag_x,
|
init_coil_x_temperature, init_coil_y_temperature, init_coil_z_temperature, err,
|
||||||
init_raw_mag_y, raw_mag_z, cal_mag_x, cal_mag_y, cal_mag_z, coil_x_current, coil_y_current,
|
raw_mag_x, init_raw_mag_y, raw_mag_z, cal_mag_x, cal_mag_y, cal_mag_z,
|
||||||
coil_z_current, coil_x_temperature, coil_y_temperature, coil_z_temperature, fina_err, fina_raw_mag_x,
|
coil_x_current, coil_y_current, coil_z_current,
|
||||||
fina_raw_mag_y, fina_raw_mag_z, fina_cal_mag_x, fina_cal_mag_y, fina_cal_mag_z, fina_coil_x_current,
|
coil_x_temperature, coil_y_temperature, coil_z_temperature, fina_err,
|
||||||
fina_coil_y_current, fina_coil_z_current, fina_coil_x_temperature, fina_coil_y_temperature,
|
fina_raw_mag_x, fina_raw_mag_y, fina_raw_mag_z,
|
||||||
fina_coil_z_temperature
|
fina_cal_mag_x, fina_cal_mag_y, fina_cal_mag_z,
|
||||||
|
fina_coil_x_current, fina_coil_y_current, fina_coil_z_current,
|
||||||
|
fina_coil_x_temperature, fina_coil_y_temperature, fina_coil_z_temperature
|
||||||
]
|
]
|
||||||
|
|
||||||
return hk_header, hk_content, validity_buffer, len(hk_header)
|
return hk_header, hk_content, validity_buffer, len(hk_header)
|
||||||
|
Loading…
Reference in New Issue
Block a user