On mercredi 03 décembre 2008, Anders Gidenstam wrote:
> On Wed, 3 Dec 2008, gerard robin wrote:
> > Hello
> >
> > Is it possible to unlock within FG that property
> > /gear/tailhook/position-norm
> > which seems to be YASIm reserved.
>
> Hi,
>
> I think the issue might be that JSBSim becomes unhappy when it tries to
> bind a FCS or System component to a property that already exist. This
> generates an error message similar to
> "Failed to tie property /gear/tailhook/position-norm to object methods"
>
> The solution is to use a different name for the component and let it write
> its value to the desired property via an <output> element, e.g.
> <output> /gear/tailhook/position-norm </output>
> .
>
> I hope this helps.
>
> Cheers,
>
> Anders
Anders that is exactly i tried to do
here
<aerosurface_scale name="Tailhook Control Pos Norm">
<input>systems/hook/tailhook-pos-norm</input>
<range>
<min>0</min>
<max>1</max>
</range>
<output>/gear/tailhook/position-norm</output>
</aerosurface_scale>
or this
<pure_gain name="Tailhook Control Pos Norml">
<input>systems/hook/tailhook-pos-norm</input>
<gain>1</gain>
<output>/gear/tailhook/position-norm</output>
</pure_gain>
Does not work
/gear/tailhook/position-norm remains Zero
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel