[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Fix: Engine problems with latest JSBSim CVS versio
From: |
Felix Ruess |
Subject: |
Re: [Paparazzi-devel] Fix: Engine problems with latest JSBSim CVS version |
Date: |
Wed, 15 Sep 2010 00:01:11 +0200 |
Hi Andreas,
thx, I added that and it seems to be working for me, though I only did
a really quick test.
Cheers, Felix
On Tue, Sep 14, 2010 at 2:09 PM, Andreas Gaeb <address@hidden> wrote:
> 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 mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>