if this doesnt fix the invalid speeds ...

This commit is contained in:
Marius Eggert 2024-02-26 09:39:13 +01:00
parent 77527c631c
commit 7517b33d83
1 changed files with 2 additions and 0 deletions

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