Skip to content

Namespace inertialsim::examples::nesc

Namespace List > inertialsim > examples > nesc

Classes

Type Name
struct FlightData
NESC flight simulation data.
struct NescDataMapEntry
Mapping entry from check case identifier to subdirectory.

Public Attributes

Type Name
const std::map< std::string, NescDataMapEntry > kNescDataMap
Mapping from check case identifier to data subdirectory information.

Public Functions

Type Name
FlightData Load (const std::filesystem::path & directory, const std::string & check_case, const std::string & simulator)
Load NESC atmospheric flight simulation data.

Public Attributes Documentation

variable kNescDataMap

Mapping from check case identifier to data subdirectory information.

const std::map<std::string, NescDataMapEntry> inertialsim::examples::nesc::kNescDataMap;


Public Functions Documentation

function Load

Load NESC atmospheric flight simulation data.

FlightData inertialsim::examples::nesc::Load (
    const std::filesystem::path & directory,
    const std::string & check_case,
    const std::string & simulator
) 

Data is available from the NASA Engineering and Safety Center (NESC) site at https://nescacademy.nasa.gov/flightsim/2015. Data is organized by atmospheric and orbital categories. Only atmospheric data is supported. Each check case has several available simulators.

Source data is in US customary units (feet, degrees, etc.) and is automatically converted to SI units (meters, radians, etc.) by this function.

Parameters:

  • directory Top level directory with NESC atmospheric check case data organized in subdirectories with original names.
  • check_case Check case identifier (e.g., "13p4").
  • simulator Simulator number as a string (e.g., "02").

Returns:

FlightData containing simulated flight data from the requested check case and simulator.

Exception:

  • std::runtime_error if check case is invalid or data file cannot be opened.


The documentation for this class was generated from the following file cpp/include/inertialsim/examples/nesc.h