c4a1cc047e
Tony submitted: JSBsim: Added trimming routine, it is longitudinal & in-air only at this point Added support for taking wind & weather data from external source Added support for flaps. Added independently settable pitch trim Added alphamin and max to config file, stall modeling and warning to follow c172.cfg: Flaps! Adjusted Cmo, model should be speed stable now FG: Hooked up Christian's weather code, should be using it soon. Hooked up the trimming routine. Note that the X-15 will not trim. This is not a model or trimming routine deficiency, just the nature of the X-15 The trimming routine sets the pitch trim and and throttle at startup. The throttle is set using Norman's code for the autothrottle so the autothrottle is on by default. --notrim will turn it off. Added --vc, --mach, and --notrim switches (vc is airspeed in knots) uBody, vBody, and wBody are still supported, last one entered on the command line counts, i.e. you can set vc or mach or u,v, and w but any combination will be ignored.
91 lines
2.4 KiB
Text
91 lines
2.4 KiB
Text
CC = g++
|
|
INCLUDES = -I.
|
|
LINKDIR= -Lfiltersjb/
|
|
JSBSim_objects = FGAircraft.o FGAtmosphere.o FGCoefficient.o FGFCS.o FGFDMExec.o\
|
|
FGModel.o FGOutput.o FGPosition.o FGRotation.o FGState.o FGTranslation.o\
|
|
FGUtility.o FGEngine.o FGTank.o FGAuxiliary.o FGfdmSocket.o\
|
|
FGConfigFile.o FGInitialCondition.o FGLGear.o FGMatrix.o
|
|
|
|
JSBSim : $(JSBSim_objects) JSBSim.o libFCSComponents.a
|
|
$(CC) $(INCLUDES) $(CCOPTS) $(LINKDIR) $(JSBSim_objects) JSBSim.o -oJSBSim -lm -lFCSComponents
|
|
|
|
libFCSComponents.a :
|
|
cd filtersjb; make -fMakefile.solo; cd ..
|
|
|
|
FGAircraft.o : FGAircraft.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGAircraft.cpp
|
|
|
|
FGAtmosphere.o : FGAtmosphere.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGAtmosphere.cpp
|
|
|
|
FGAuxiliary.o : FGAuxiliary.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGAuxiliary.cpp
|
|
|
|
FGCoefficient.o : FGCoefficient.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGCoefficient.cpp
|
|
|
|
FGFCS.o : FGFCS.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGFCS.cpp
|
|
|
|
FGFDMExec.o : FGFDMExec.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGFDMExec.cpp
|
|
|
|
FGModel.o : FGModel.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGModel.cpp
|
|
|
|
FGOutput.o : FGOutput.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGOutput.cpp
|
|
|
|
FGPosition.o : FGPosition.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGPosition.cpp
|
|
|
|
FGRotation.o : FGRotation.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGRotation.cpp
|
|
|
|
FGState.o : FGState.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGState.cpp
|
|
|
|
FGTranslation.o : FGTranslation.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGTranslation.cpp
|
|
|
|
FGUtility.o : FGUtility.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGUtility.cpp
|
|
|
|
FGEngine.o : FGEngine.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGEngine.cpp
|
|
|
|
FGTank.o : FGTank.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGTank.cpp
|
|
|
|
FGInitialCondition.o : FGInitialCondition.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGInitialCondition.cpp
|
|
|
|
FGfdmSocket.o : FGfdmSocket.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGfdmSocket.cpp
|
|
|
|
FGConfigFile.o : FGConfigFile.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGConfigFile.cpp
|
|
|
|
FGLGear.o : FGLGear.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGLGear.cpp
|
|
|
|
FGMatrix.o : FGMatrix.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c FGMatrix.cpp
|
|
|
|
JSBSim.o : JSBSim.cpp
|
|
$(CC) $(INCLUDES) $(CCOPTS) -c JSBSim.cpp
|
|
|
|
clean:
|
|
-mv *.*~ backup
|
|
-rm *.o
|
|
|
|
all:
|
|
touch *.cpp
|
|
cd filtersjb; make all CCOPTS=-g -fMakefile.solo; cd ..
|
|
make JSBSim -fMakefile.solo
|
|
|
|
debug:
|
|
touch *.cpp
|
|
touch filtersjb/*.cpp
|
|
cd filtersjb; make debug CCOPTS=-g -fMakefile.solo; cd ..
|
|
make JSBSim CCOPTS=-g -fMakefile.solo
|