On vendredi 28 novembre 2008, Jon S. Berndt wrote:
> Is this again a factor of using an older version of JSBSim? Check the file,
> FGFCS.cpp, compared between the latest JSBSim release and the code you are
> using in FlightGear.
>
>
>
> If you are using the same code, this should work.
>
>
>
> Jon
>
>
>
>
>
> From: Fabian Grodek [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 28, 2008 1:53 PM
> To: FlightGear developers discussions
> Subject: [Flightgear-devel] Constant property in a JSBSim model
>
>
>
> Hello,
>
> I have a JSBSim aircraft model in which, at the beginning of the
> flight_control block, I defined a constant property as follows:
>
>
>
> <property value="0.80">fcs/KSelev</property>
>
>
>
> I need this constant to factor a number of coefficients in the aerodynamics
> section.
>
>
>
> Although this seems to work in standalone JSBSim simulations, in FlightGear
> this property gets the value of 0.0.
>
>
>
> What is the correct way of defining a constant? (seems a very stupid
> question, so I accept similar kind of answers :)   )
>
>
>
> Fabian

And, you should get with FG cvs on your console, during the moading of JSBSim, 
for instance the following messages


    Declared properties

      systems/hook/tailhook-cmd-norm (initial value: 0)
      systems/hook/tailhook-length-ft (initial value: 4)
      systems/hook/tailhook-pos-min-deg (initial value: -5)
      systems/hook/tailhook-pos-max-deg (initial value: 50)
      systems/hook/tailhook-offset-x-in (initial value: 210.17)
      systems/hook/tailhook-offset-y-in (initial value: 0)
      systems/hook/tailhook-offset-z-in (initial value: -31.57)

    Channel Hook



-- 
Gérard
http://pagesperso-orange.fr/GRTux/

J'ai décidé d'être heureux parce que c'est bon pour la santé. 
Voltaire


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to