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.
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:
directoryTop level directory with NESC atmospheric check case data organized in subdirectories with original names.check_caseCheck case identifier (e.g., "13p4").simulatorSimulator number as a string (e.g., "02").
Returns:
FlightData containing simulated flight data from the requested check case and simulator.
Exception:
std::runtime_errorif 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