Comment
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user