Hello,

Beware that version, break  the tanks system of Boeing 314

Here the Nasal error
Nasal runtime error: vector index 7 out of bounds (size: 7)
  at
/wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/Boeing314/Nasal/Boeing314-fuel.nas,
line 79
  called from:
/wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/Boeing314/Nasal/Boeing314-fuel.nas,
line 70
  called from:
/wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/Boeing314/Nasal/Boeing314-fuel.nas,
line 59
  called from:
/wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/Boeing314/Nasal/Boeing314-fuel.nas,
line 19
  called from:
/wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/Boeing314/Nasal/Boeing314.nas,
line 92
  called from:
/wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/Boeing314/Nasal/Boeing314.nas,
line 111
  called from:
/wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/Boeing314/Nasal/Boeing314.nas,
line 17
  called from:
/wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/Boeing314/Nasal/Boeing314.nas,
line 125
  called from: /wrklvm/FlightGear/FlightGear_CVS/data/Nasal/globals.nas,
line 100

My previous version didn't
Revision: 133cfbfa7f4ec62ddc97bd93d4a50fec81b52362





2011/2/6 Hal V. Engel <[email protected]>

>  On Sunday, February 06, 2011 01:13:28 PM Torsten Dreyer wrote:
>
> > > I have checked your code and it breaks the previous behaviour for
>
> > > JSBSim. Your code is overwriting JSBSim values during initialization,
>
> > > I would rather do it the other way around and make JSBSim overwrite
>
> > > FlightGear default values. Especially because the capacity of all the
>
> > > tanks is now set to zero instead of using the FDM model definition.
>
> > >
>
> > > Enclosed is a patch that restores the normal behaviour : fuel
>
> > > capacity, level and density are set after the values defined in the
>
> > > aircraft JSBSim XML definition.
>
> >
>
> > Ouch - that was my bad. I only initialized JSBSim properties from
>
> > FlightGear properties which didn't work if tanks are only defined within
>
> > the JSBSim config file.
>
> > Your patch turns this the other way round. I tried to combine both
> versions
>
> > and set JSBSim properties from FlightGear properties if they exist and
>
> > create the FlightGear properties from JSBSim properties if not.
>
> >
>
> > Looks good for me with the p51d-jsbsim, the c172p and the SenecaII.
>
> >
>
> > Thanks for the fast bug-report and the solution!
>
> >
>
> > Torsten
>
>
> Did you test the P-51D drop tanks to make sure these work OK? The unusual
> thing it does is to prevent the drop tank contents from being non-zero
> unless the tank is currently in place. This is to prevent the pilot from
> using the Equipment --> Fuel and Payload menu to put fuel into a
> non-existant drop tank. This should be tested just to make sure it is still
> working.
>
>
> Hal
>
>
> ------------------------------------------------------------------------------
> The modern datacenter depends on network connectivity to access resources
> and provide services. The best practices for maximizing a physical server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world?
> http://p.sf.net/sfu/oracle-sfdevnlfb
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>


-- 
Best regards,

Henri, aka Alva
Official grtux hangar maintainer
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to