[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Fix: Engine problems with latest JSBSim CVS version
From: |
Andreas Gaeb |
Subject: |
[Paparazzi-devel] Fix: Engine problems with latest JSBSim CVS version |
Date: |
Tue, 14 Sep 2010 14:09:31 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.9) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 |
Hello everybody,
with the latest JSBSim CVS version, the propulsion system seems to need
to be initialized explicitly from the simulation program. With my
airframe, the simulation diverged because I got astronomic RPMs while
the Malolo1 simply dropped to the ground because the engines did not start.
This can be cured by adding the line
FDMExec->GetPropulsion()->InitRunning(-1);
to sw/simulator/sim_ac_jsbsim.c before the RunIC() call in line 224.
This starts up all engines.
I didn't check this with earlier JSBSim versions, but it seems this
function or something similar was called automatically before the
changes from . The explicit call shouldn't hurt in this case.
Best regards,
Andreas
- [Paparazzi-devel] Fix: Engine problems with latest JSBSim CVS version,
Andreas Gaeb <=