RW Cmd Antistiction Fix #868

Merged
meggert merged 2 commits from rw-antistiction-fix into main 2024-02-26 13:10:05 +01:00
Showing only changes of commit 7517b33d83 - Show all commits

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