small fixes
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
2023-03-10 09:44:30 +01:00
parent b6477e099d
commit 0dbd6b703d
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ ActuatorCmd::~ActuatorCmd() {}
void ActuatorCmd::scalingTorqueRws(const double *rwTrq, double *rwTrqScaled, double maxTorque) {
double maxValue = 0;
for (int i = 0; i < 4; i++) { // size of torque, always 4 ?
for (int i = 0; i < 4; i++) {
if (abs(rwTrq[i]) > maxValue) {
maxValue = abs(rwTrq[i]);
}