dene maxwell

> 
> >From: "Vivian Meazza" <[EMAIL PROTECTED]>
> >
> >dene maxwell
> >
> > >
> > >
> > > >From: Josh Babcock <[EMAIL PROTECTED]>
> > > >
> > > >dene maxwell wrote:
> > > > > Hi
> > > > > I'm trying to get an xml animation going for AI taildraggers, as
> the
> > > AI
> > > >FDM
> > > > > doesn't seem to cater for this. I have copied the rotate animation
> > > >example
> > > > > from the Model-HowTo;
> > > > >
> > > > >     <!-- ***** TailDragger ***** -->
> > > > >     <animation>
> > > > >      <type>rotate</type>
> > > > >
> > > ><property>/ai/models/aircraft/velocities/true-airspeed-kt</property>
> > > > >        <factor>1</factor>
> > > > >        <offset>1</offset>
> > > > >        <min>0.0</min>
> > > > >        <max>13.0</max>
> > > > >        <center>
> > > > >         <x-m>2</x-m>
> > > > >         <y-m>0</y-m>
> > > > >         <z-m>-1.5</z-m>
> > > > >        </center>
> > > > >        <axis>
> > > > >         <x>0</x>
> > > > >         <y>1</y>
> > > > >         <z>0</z>
> > > > >        </axis>
> > > > >      <!--
> > > > >      <condition>
> > > > >       <less-than>
> > > > >
> > > ><property>/ai/models/aircraft/velocities/true-airspeed-kt</property>
> > > > >        <value>30</value>
> > > > >       </less-than>
> > > > >      </condition>
> > > > >      -->
> > > > >     </animation>
> > > > >
> > > > > but the min and max values don't have any effect... the plane
> >rotates
> > > >about
> > > > > the wheels as the speed varies...to the extent at 180 knots it's
> > > flying
> > > > > backwards and upside down ...very amusing first time but now just
> > > > > frustrating...
> > > > >
> > > > > ...what am I doing wrong in this animation?
> > > > >
> > > > > TIA
> > > > > :-D ene
> > > > >
> > > >
> > > >What you have will rise from 0 up to 13 as the airspeed rises from -1
> >up
> > > >to 12, then stay at 13 as the airspeed keeps on rising. To fix this,
> > > >make factor 1/n where n is the airspeed that you want the rotation to
> >be
> > > >13. You probably also want offset to be 0, but I'm not sure exactly
> >what
> > > >you are doing. Think of it as a graph of Y=aX+b Y is your rotation, X
> >is
> > > >the airspeed,  b is the offset, and a is the factor. It might help to
> > > >actually draw the graph.
> > > >
> > > >Josh
> > > >
> > > Oh ...I know the factors are all wrong at the moment, but the problem
> is
> > > the
> > > min and max aren't limiting the degree of moment... I would be quite
> >happy
> > > at this stage to get the tail up @0ktas then falling at a
> predetermined
> > > level but at the moment there are no limits on the rotation despite
> the
> > > min
> > > and max
> > >
> > > I know that factor will determine the gradient of the transition, what
> I
> > > want is (typical taildragger behaviour) at a predetermined speed (say
> > > 50knts) the tail to rise (assuming acceleration) to normal flying
> >attitude
> > > (ie 0 degrees).... the x-y graph would look like;
> > >
> > > Tail
> > > Elevation
> > > |-----------------Tail down (13*)
> > > |                 \
> > > |                  \
> > > |                   \------------------Tail up (0*)
> > > |________+__+_________________
> > >           Vmin     Vmax
> > > Velocity->
> > >
> > > but I need the min/max to work for this....
> > >
> >
> >I've just looked at the source code, and the rotation animation does not
> >recognise "max/min" you need "max-deg/min-deg". "starting-position-deg"
> is
> >also available
> >
> >You could also use interpolation to do the same thing
> >
> >Vivian
> >
> >
> Aahhh, thanks Vivian, will experiment with that tomorrow... I will make a
> note of that...I'm getting a few notes on irregularities in the Model-
> HowTo
> document, I will make those available to anybody that would like to update
> CVS for me or at least point me in the right direction so I can update
> CVS...
> 
> Would the AI Animation xml files I produce also be useful for CVS? eg
> [aircraft]-AI-Model.xml
> 

Once you get them running, pass them to me, and I'll look at them with a
view to putting them into CVS.

V.



_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to