rad sensor data
This commit is contained in:
parent
ff66dd5dd2
commit
314071de1c
5
pus_tm/devs/rad_sensor.py
Normal file
5
pus_tm/devs/rad_sensor.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from tmtccmd.utility.tmtc_printer import FsfwTmTcPrinter
|
||||||
|
|
||||||
|
|
||||||
|
def handle_rad_sensor_data(printer: FsfwTmTcPrinter, set_id: int, hk_data: bytes):
|
||||||
|
pass
|
@ -1,6 +1,7 @@
|
|||||||
"""HK Handling for EIVE OBSW"""
|
"""HK Handling for EIVE OBSW"""
|
||||||
import struct
|
import struct
|
||||||
|
|
||||||
|
from pus_tm.devs.rad_sensor import handle_rad_sensor_data
|
||||||
from pus_tm.system.tcs import handle_thermal_controller_hk_data, TM_TCP_SERVER
|
from pus_tm.system.tcs import handle_thermal_controller_hk_data, TM_TCP_SERVER
|
||||||
from tmtccmd.config.definitions import HkReplyUnpacked
|
from tmtccmd.config.definitions import HkReplyUnpacked
|
||||||
from tmtccmd.tm.pus_3_fsfw_hk import (
|
from tmtccmd.tm.pus_3_fsfw_hk import (
|
||||||
@ -92,6 +93,8 @@ def handle_regular_hk_print(
|
|||||||
return handle_pdu_data(
|
return handle_pdu_data(
|
||||||
printer=printer, pdu_idx=2, set_id=set_id, hk_data=hk_data
|
printer=printer, pdu_idx=2, set_id=set_id, hk_data=hk_data
|
||||||
)
|
)
|
||||||
|
if objb == obj_ids.RAD_SENSOR_ID:
|
||||||
|
return handle_rad_sensor_data(printer=printer, hk_data=hk_data, set_id=set_id)
|
||||||
if objb in [obj_ids.RW1_ID, obj_ids.RW2_ID, obj_ids.RW3_ID, obj_ids.RW4_ID]:
|
if objb in [obj_ids.RW1_ID, obj_ids.RW2_ID, obj_ids.RW3_ID, obj_ids.RW4_ID]:
|
||||||
return handle_rw_hk_data(
|
return handle_rw_hk_data(
|
||||||
printer=printer, object_id=object_id, set_id=set_id, hk_data=hk_data
|
printer=printer, object_id=object_id, set_id=set_id, hk_data=hk_data
|
||||||
|
2
tmtccmd
2
tmtccmd
@ -1 +1 @@
|
|||||||
Subproject commit 4fbbf129e140e593b1cc54a0361fa20cc8726789
|
Subproject commit 0e193f9c76973a6105926ed133b179f8ea467981
|
Loading…
Reference in New Issue
Block a user