AP_Math: add speed unit converstion defs

This commit is contained in:
Peter Hall 2019-05-28 22:08:14 +01:00 committed by Randy Mackay
parent e18b3cac6b
commit ea4ecebfc4

View File

@ -74,6 +74,9 @@ 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
#define KNOTS_TO_M_PER_SEC (1/M_PER_SEC_TO_KNOTS)
#define KM_PER_HOUR_TO_M_PER_SEC 0.27777778f
// Gas Constant is from Aerodynamics for Engineering Students, Third Edition, E.L.Houghton and N.B.Carruthers
#define ISA_GAS_CONSTANT 287.26f