somethings now working
This commit is contained in:
@ -88,6 +88,7 @@ class EiveHookObject(TmTcHookBase):
|
||||
def get_eive_service_op_code_dict(service_op_code_dict: ServiceOpCodeDictT):
|
||||
from pus_tc.pdu1 import Pdu1OpCodes
|
||||
from pus_tc.pdu2 import Pdu2OpCodes
|
||||
from pus_tc.gps import GpsOpCodes
|
||||
op_code_dict = {
|
||||
'reboot': ('Reboot with Prompt', {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
'reboot_self': ('Reboot Self', {OpCodeDictKeys.TIMEOUT: 4.0}),
|
||||
@ -99,6 +100,13 @@ def get_eive_service_op_code_dict(service_op_code_dict: ServiceOpCodeDictT):
|
||||
service_tuple = ('Core Controller', op_code_dict)
|
||||
service_op_code_dict[CustomServiceList.CORE.value] = service_tuple
|
||||
|
||||
op_code_dict = {
|
||||
GpsOpCodes.RESET_GNSS.value: ('Reset GPS', {OpCodeDictKeys.TIMEOUT: 2.0})
|
||||
}
|
||||
service_tuple = ('GPS 0', op_code_dict)
|
||||
service_op_code_dict[CustomServiceList.GPS_0.value] = service_tuple
|
||||
service_op_code_dict[CustomServiceList.GPS_1.value] = service_tuple
|
||||
|
||||
op_code_dict = {
|
||||
"0": ("ACU Tests", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
||||
}
|
||||
|
@ -50,6 +50,8 @@ def get_object_ids() -> Dict[bytes, list]:
|
||||
RW2_ID: "Reaction Wheel 2",
|
||||
RW3_ID: "Reaction Wheel 3",
|
||||
RW4_ID: "Reaction Wheel 4",
|
||||
GPS_HANDLER_0_ID: "GPS 0",
|
||||
GPS_HANDLER_1_ID: "GPS 1",
|
||||
RAD_SENSOR_ID: "Radiation Sensor",
|
||||
PLOC_SUPV_ID: "PLOC Supervisor",
|
||||
CORE_CONTROLLER_ID: "Core Controller",
|
||||
|
Reference in New Issue
Block a user