JSBSim Flight Dynamics Model
1.0 (02 March 2017)
An Open Source Flight Dynamics and Control Software Library in C++
JSBSim.minimal.cpp
1
#include <FGFDMExec.h>
2
3
int
main(
int
argc,
char
**argv)
4
{
5
JSBSim::FGFDMExec
FDMExec;
6
7
FDMExec.
LoadScript
(argv[1]);
8
9
while
(FDMExec.
Run
());
10
}
11
JSBSim::FGFDMExec::LoadScript
bool LoadScript(const SGPath &Script, double deltaT=0.0, const SGPath &initfile=SGPath())
Loads a script.
Definition:
FGFDMExec.cpp:653
JSBSim::FGFDMExec::Run
bool Run(void)
This function executes each scheduled model in succession.
Definition:
FGFDMExec.cpp:310
JSBSim::FGFDMExec
Encapsulates the JSBSim simulation executive.
Definition:
FGFDMExec.h:189
src
JSBSim.minimal.cpp
Generated on Fri Mar 3 2017 23:50:27 for JSBSim Flight Dynamics Model by
1.8.13