This commit is contained in:
Kilian committed 2024-09-27 17:13:53 +02:00
1 parent 368ccbb355
commit e71a8bc738
6 files changed
+1 -1

No files matched your search

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -94,7 +94,7 @@ float interp(float lower, float upper, float ratio) {
/// @param weight Weight in kilogrammes /// @param weight Weight in kilogrammes
/// @param tipTankPercent Lowest tip tank quantity (left/right) in percent /// @param tipTankPercent Lowest tip tank quantity (left/right) in percent
/// @param ci CI /// @param ci CI
/// @return Mach corresponding to CI /// @return Mach corresponding to CI. Returns -1 if not possible
float ci2mach(float altitude, float weight, float tipTankPercent, int ci) { float ci2mach(float altitude, float weight, float tipTankPercent, int ci) {
auto [lowerFl, upperFl, ratioFl] = boundAltitude(altitude); auto [lowerFl, upperFl, ratioFl] = boundAltitude(altitude);
auto [lowerWgt, upperWgt, ratioWgt] = boundWeight(weight); auto [lowerWgt, upperWgt, ratioWgt] = boundWeight(weight);