JSBSim Flight Dynamics Model
1.2.2 (22 Mar 2025)
An Open Source Flight Dynamics and Control Software Library in C++
Loading...
Searching...
No Matches
JSBSim.minimal.cpp
1
#include <FGFDMExec.h>
2
3
int
main(
int
argc,
char
**argv)
4
{
5
JSBSim::FGFDMExec
FDMExec;
6
7
FDMExec.
LoadScript
(SGPath(argv[1]));
8
9
while
(FDMExec.
Run
());
10
}
11
JSBSim::FGFDMExec
Encapsulates the JSBSim simulation executive.
Definition
FGFDMExec.h:184
JSBSim::FGFDMExec::LoadScript
bool LoadScript(const SGPath &Script, double deltaT=0.0, const SGPath &initfile=SGPath())
Load a script.
Definition
FGFDMExec.cpp:738
JSBSim::FGFDMExec::Run
bool Run(void)
This function executes each scheduled model in succession.
Definition
FGFDMExec.cpp:415
src
JSBSim.minimal.cpp
Generated on Sat Mar 22 2025 12:13:23 for JSBSim Flight Dynamics Model by
1.9.8