Merge branch 'main' into fused-rot-rate-safe

This commit is contained in:
Marius Eggert 2024-02-26 13:10:58 +01:00
commit 3c389cb069
2 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@ will consitute of a breaking change warranting a new major release:
- Bugfix in PLOC MPSoC HK set: Set and variables were not set valid.
- The `PTG_CTRL_NO_ATTITUDE_INFORMATION` will now actually trigger a fallback into safe mode
and is triggered by the `AcsController` now.
- Fixed a corner case, in which an invalid speed command could be sent to the `RwHandler`.
## Changed

View File

@ -221,6 +221,8 @@ void PtgCtrl::rwAntistiction(ACS::SensorValues *sensorValues, int32_t *rwCmdSpee
rwCmdSpeeds[i] = acsParameters->rwHandlingParameters.stictionSpeed;
} else if (rwCmdSpeeds[i] < currRwSpeed[i]) {
rwCmdSpeeds[i] = -acsParameters->rwHandlingParameters.stictionSpeed;
} else {
rwCmdSpeeds[i] = 0;
}
}
}