Enable Serial input and output in simulator, refactor

This commit is contained in:
Oleg Kalachev
2023-05-24 10:23:12 +03:00
parent 3a05403068
commit aaa8f70166
8 changed files with 225 additions and 210 deletions

View File

@@ -128,4 +128,5 @@ static float thrustToMotorInput(uint8_t n, float thrust)
return mapff(thrust, 0, 1, motorThrust[n][i-1], motorThrust[n][i]);
}
}
return 1;
}