Merge pull request 'RW Cmd Antistiction Fix' (#868) from rw-antistiction-fix into main
EIVE/eive-obsw/pipeline/head This commit looks good Details

Reviewed-on: #868
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
This commit is contained in:
Marius Eggert 2024-02-26 13:10:03 +01:00
commit b2faa77ebe
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`.
# [v7.6.1] 2024-02-05

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;
}
}
}