AP_Math: add macro for m/s to knots convertion

This commit is contained in:
Francisco Ferreira 2019-03-21 23:38:38 +00:00 committed by Andrew Tridgell
parent 32a6f0026a
commit 6e95a144ef
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ static const double WGS84_E = (sqrt(2 * WGS84_F - WGS84_F * WGS84_F));
#define C_TO_KELVIN 273.15f
#define M_PER_SEC_TO_KNOTS 1.94384449f
// Gas Constant is from Aerodynamics for Engineering Students, Third Edition, E.L.Houghton and N.B.Carruthers
#define ISA_GAS_CONSTANT 287.26f
#define ISA_LAPSE_RATE 0.0065f