Spaceshot Flight Software
The Illinois Space Society's Homemade Rocket Firmware
Atmosphere Class Reference

Static Public Member Functions

static double get_temperature (double altitude)
 Temperature getter function based on altitude. More...
 
static double get_pressure (double altitude)
 Pressure getter function based on altitude_h. More...
 
static double get_density (double altitude)
 Density getter function based on altitude. More...
 
static double get_speed_of_sound (double altitude)
 Calculates the speed-of-sound at the current altitude. More...
 
static double get_geometric_to_geopotential (double altitude)
 

Member Function Documentation

◆ get_density()

double Atmosphere::get_density ( double  altitude)
static

Density getter function based on altitude.

Parameters
altitudeAltitude above sea level in meters

◆ get_pressure()

double Atmosphere::get_pressure ( double  altitude)
static

Pressure getter function based on altitude_h.

Parameters
altitudeAltitude above sea level in meters

◆ get_speed_of_sound()

double Atmosphere::get_speed_of_sound ( double  altitude)
static

Calculates the speed-of-sound at the current altitude.

Parameters
altitudeAltitude above sea level in meters
Returns
double Speed of sound in m/s

◆ get_temperature()

double Atmosphere::get_temperature ( double  altitude)
static

Temperature getter function based on altitude.

Parameters
altitudeAltitude above sea level in meters

The documentation for this class was generated from the following files: