From 4508b5dd5474d5afbf51ddff1cad63e4d3eb1afb Mon Sep 17 00:00:00 2001 From: Markus Kranz Date: Tue, 28 Mar 2023 15:36:14 +0200 Subject: [PATCH 1/2] heater off cmd changed to off from on, pl camera off cmd changed to off from on --- eive_tmtc/tmtc/power/pdu2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eive_tmtc/tmtc/power/pdu2.py b/eive_tmtc/tmtc/power/pdu2.py index 9dbe949..8cbbb2c 100644 --- a/eive_tmtc/tmtc/power/pdu2.py +++ b/eive_tmtc/tmtc/power/pdu2.py @@ -284,7 +284,7 @@ def heater_off_cmd(q: DefaultPusQueueHelper): def create_heater_off_cmd() -> PusTelecommand: - return create_generic_on_cmd(PDU_2_HANDLER_ID, Pdu2ChIndex.HEATER) + return create_generic_off_cmd(PDU_2_HANDLER_ID, Pdu2ChIndex.HEATER) def sus_red_on_cmd(q: DefaultPusQueueHelper): @@ -372,4 +372,4 @@ def payload_camera_off_cmd(q: DefaultPusQueueHelper): def create_payload_camera_off_cmd() -> PusTelecommand: - return create_generic_on_cmd(PDU_2_HANDLER_ID, Pdu2ChIndex.PL_CAM) + return create_generic_off_cmd(PDU_2_HANDLER_ID, Pdu2ChIndex.PL_CAM) From 6b406b8e9acc0bd95c04d8e3ea70c05667a245a8 Mon Sep 17 00:00:00 2001 From: Markus Kranz Date: Tue, 28 Mar 2023 16:07:34 +0200 Subject: [PATCH 2/2] fixed mgt off cmd to off from on --- eive_tmtc/tmtc/power/pdu1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eive_tmtc/tmtc/power/pdu1.py b/eive_tmtc/tmtc/power/pdu1.py index 603d9dd..8cbe6e3 100644 --- a/eive_tmtc/tmtc/power/pdu1.py +++ b/eive_tmtc/tmtc/power/pdu1.py @@ -255,7 +255,7 @@ def mgt_off_cmd(q: DefaultPusQueueHelper): def create_mgt_off_cmd() -> PusTelecommand: - return create_generic_on_cmd(PDU_1_HANDLER_ID, Pdu1ChIndex.MGT) + return create_generic_off_cmd(PDU_1_HANDLER_ID, Pdu1ChIndex.MGT) def sun_sensor_nominal_on_cmd(q: DefaultPusQueueHelper):