About simulated atmosphere

Parrot Sphinx simulates an adiabatic atmosphere model, with parameters that can be modified at runtime.

How to configure

Atmospheric parameters can be adjusted using sphinx-cli or any other JSON-RPC tool. The full list is available HERE. These parameters persist across world resets, meaning they will only return to their default values after restarting Sphinx.

For instance, to set the ambient temperature to 298.15 K (25 °C), run:

$ sphinx-cli param -m world atmosphere/atmosphere temperature_at_sea_level 298.15

Whenever pressure or temperature is modified, air density is recalculated internally according to the ideal gas law. Air density itself is exposed as a read-only JSON-RPC parameter.

By default, any sensor using a temperature model will reset its model whenever an atmospheric parameter changes. This behavior can be controlled via the “reset_temperature_models” JSON-RPC parameter.

About the model

The atmosphere model is based on the [ICAO] standard atmosphere equations for the troposphere.

[ICAO]

Manual of the ICAO Standard Atmosphere, Calculations by the NACA, NACA Technical Note 3182, May 1954. https://ntrs.nasa.gov/citations/19930083952