dRonin
adbada4
dRonin firmware
|
Miscellaneous math support. More...
Data Structures | |
struct | AirParameters |
Functions | |
float | air_density_from_altitude (float altitude, struct AirParameters *air) |
air_density_from_altitude calculate air density from altitude. http://en.wikipedia.org/wiki/Density_of_air More... | |
float | air_pressure_from_altitude (float altitude, struct AirParameters *air) |
air_pressure_from_altitude Get air pressure from altitude and atmospheric conditions. More... | |
float | cas2tas (float CAS, float altitude, struct AirParameters *air) |
cas2tas calculate TAS from CAS and altitude. http://en.wikipedia.org/wiki/Airspeed More... | |
float | tas2cas (float TAS, float altitude, struct AirParameters *air) |
tas2cas calculate CAS from TAS and altitude. http://en.wikipedia.org/wiki/Airspeed More... | |
struct AirParameters | initialize_air_structure () |
initialize_air_structure Initializes the structure with standard-temperature-pressure values More... | |
Variables | |
float | AirParameters::air_density_at_surface |
float | AirParameters::air_temperature_at_surface |
float | AirParameters::sea_level_press |
float | AirParameters::temperature_lapse_rate |
float | AirParameters::univ_gas_constant |
float | AirParameters::dry_air_constant |
float | AirParameters::relative_humidity |
float | AirParameters::M |
Miscellaneous math support.
float air_density_from_altitude | ( | float | altitude, |
struct AirParameters * | air | ||
) |
air_density_from_altitude calculate air density from altitude. http://en.wikipedia.org/wiki/Density_of_air
alt | |
air | |
gravity |
Definition at line 38 of file atmospheric_math.c.
float air_pressure_from_altitude | ( | float | altitude, |
struct AirParameters * | air | ||
) |
air_pressure_from_altitude Get air pressure from altitude and atmospheric conditions.
altitude | altitude |
air | atmospheric conditions |
gravity |
Definition at line 53 of file atmospheric_math.c.
float cas2tas | ( | float | CAS, |
float | altitude, | ||
struct AirParameters * | air | ||
) |
cas2tas calculate TAS from CAS and altitude. http://en.wikipedia.org/wiki/Airspeed
CAS | Calibrated airspeed |
altitude | altitude |
air | atmospheric conditions |
gravity |
Definition at line 68 of file atmospheric_math.c.
struct AirParameters initialize_air_structure | ( | ) |
initialize_air_structure Initializes the structure with standard-temperature-pressure values
Definition at line 97 of file atmospheric_math.c.
float tas2cas | ( | float | TAS, |
float | altitude, | ||
struct AirParameters * | air | ||
) |
tas2cas calculate CAS from TAS and altitude. http://en.wikipedia.org/wiki/Airspeed
TAS | True airspeed |
altitude | altitude |
air | atmospheric conditions |
gravity |
Definition at line 84 of file atmospheric_math.c.
float AirParameters::air_density_at_surface |
Definition at line 31 of file atmospheric_math.h.
float AirParameters::air_temperature_at_surface |
Definition at line 32 of file atmospheric_math.h.
float AirParameters::dry_air_constant |
Definition at line 36 of file atmospheric_math.h.
float AirParameters::M |
Definition at line 38 of file atmospheric_math.h.
float AirParameters::relative_humidity |
Definition at line 37 of file atmospheric_math.h.
float AirParameters::sea_level_press |
Definition at line 33 of file atmospheric_math.h.
float AirParameters::temperature_lapse_rate |
Definition at line 34 of file atmospheric_math.h.
float AirParameters::univ_gas_constant |
Definition at line 35 of file atmospheric_math.h.