Revert ACS Safe Mode Controller to FLP Design #466
@ -545,14 +545,14 @@ void Guidance::getTargetParamsSafe(double sunTargetSafe[3], double &satRateSafe,
|
||||
if (not std::filesystem::exists(SD_0_SKEWED_PTG_FILE, e) or
|
||||
not std::filesystem::exists(SD_1_SKEWED_PTG_FILE, e)) {
|
||||
std::memcpy(sunTargetSafe, acsParameters->safeModeControllerParameters.sunTargetDir,
|
||||
sizeof(&sunTargetSafe));
|
||||
3 * sizeof(double));
|
||||
std::memcpy(inertiaEive, acsParameters->inertiaEIVE.inertiaMatrixDeployed,
|
||||
sizeof(&inertiaEive));
|
||||
3 * 3 * sizeof(double));
|
||||
} else {
|
||||
std::memcpy(sunTargetSafe, acsParameters->safeModeControllerParameters.sunTargetDirLeop,
|
||||
sizeof(&sunTargetSafe));
|
||||
3 * sizeof(double));
|
||||
std::memcpy(inertiaEive, acsParameters->inertiaEIVE.inertiaMatrixUndeployed,
|
||||
sizeof(&inertiaEive));
|
||||
3 * 3 * sizeof(double));
|
||||
}
|
||||
satRateSafe = acsParameters->safeModeControllerParameters.satRateRef;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user