set relevant datasets to invalid on shutdown
This commit is contained in:
parent
7b38ee3ecc
commit
5a60558354
@ -100,6 +100,19 @@ void StarTrackerHandler::doShutDown() {
|
||||
startupState = StartupState::IDLE;
|
||||
bootState = FwBootState::NONE;
|
||||
solutionSet.setReportingEnabled(false);
|
||||
{
|
||||
PoolReadGuard& pg(solutionSet);
|
||||
solutionSet.caliQw.value = 0.0;
|
||||
solutionSet.caliQx.value = 0.0;
|
||||
solutionSet.caliQy.value = 0.0;
|
||||
solutionSet.caliQz.value = 0.0;
|
||||
solutionSet.isTrustWorthy = 0;
|
||||
solutionSet.setValidity(false, true);
|
||||
}
|
||||
{
|
||||
PoolReadGuard& pg(temperatureSet);
|
||||
temperatureSet.setValidity(false, true);
|
||||
}
|
||||
reinitNextSetParam = false;
|
||||
setMode(_MODE_POWER_DOWN);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user