diff --git a/mission/devices/PayloadPcduHandler.cpp b/mission/devices/PayloadPcduHandler.cpp index d22e70ec..1d5f4b89 100644 --- a/mission/devices/PayloadPcduHandler.cpp +++ b/mission/devices/PayloadPcduHandler.cpp @@ -656,7 +656,7 @@ void PayloadPcduHandler::handleFailureInjection(std::string output, Event event) << std::endl; triggerEvent(event, 0, 0); transitionOk = false; - transitionBackToOff(); + transitionBackToOff(true); droToX8InjectionRequested = false; } diff --git a/mission/devices/devicedefinitions/payloadPcduDefinitions.h b/mission/devices/devicedefinitions/payloadPcduDefinitions.h index 69cb71f0..b6ce949e 100644 --- a/mission/devices/devicedefinitions/payloadPcduDefinitions.h +++ b/mission/devices/devicedefinitions/payloadPcduDefinitions.h @@ -133,10 +133,10 @@ static constexpr float SCALE_CURRENT_DRO = MAX122X_SCALE / (GAIN_INA169 * R_SHUN static constexpr double DFT_NEG_V_LOWER_BOUND = -6.5; static constexpr double DFT_NEG_V_UPPER_BOUND = -2.7; -static constexpr double DRO_U_LOWER_BOUND = 5.0; -static constexpr double DRO_U_UPPER_BOUND = 7.0; +static constexpr double DFT_DRO_U_LOWER_BOUND = 5.0; +static constexpr double DFT_DRO_U_UPPER_BOUND = 7.0; // Max Current DRO + Max Current Neg V | 40 + 15 -static constexpr double DRO_I_UPPER_BOUND = 55.0; +static constexpr double DFT_DRO_I_UPPER_BOUND = 55.0; static constexpr double DFT_X8_U_LOWER_BOUND = 2.6; static constexpr double DFT_X8_U_UPPER_BOUND = 4.0;