On Wed, 2008-11-05 at 20:24 -0600, Curtis Olson wrote:
> On Wed, Nov 5, 2008 at 7:30 PM, Csaba Halász wrote:
>         On Wed, Nov 5, 2008 at 3:20 PM, Curtis Olson <wrote:
>         > What is the proper mechanism for calling nasal
>         initialization code in an
>         > aircraft specific nasal file.
>         >
>         > I see that core nasal code sets a listener on
>         > /sim/signals/nasal-dir-initialized however, I don't really
>         care when the
>         > nasal-dir is initialized for aircraft specific code since it
>         doesn't live in
>         > the main nasal directory.  Would it be nitpicky of me to ask
>         what it means
>         > to initialize a directory?  Is there a corresponding unix
>         system call for
>         > instance? :-)
>         
>         
>         Slight misnomer, not the directory is initialized of course.
>         Rather,
>         the signal means all the modules in the nasal dir are loaded
>         and ready
>         to use.
>         
>         > So is there a "proper" way to do this.  I understand the old
>         "set timer"
>         > mechanism is discouraged.
>         
>         
>         Preferably you should wait for a signal that whatever features
>         you
>         want to use are ready. If you *use* any modules from the
>         common nasal
>         directory (including props.nas!) you should wait for the
>         nasal-dir-initialized. If you depend on fdm properties, you
>         should
>         wait for fdm-initialized, and so on.
>         
>         Disclaimer: I am not *the* expert on this, but since nobody
>         answered
>         yet, I thought I'd give you my understanding of the
>         situation :)
> 
> Thanks, I ended up waiting for the fdm to initialize and that seems to
> work just fine.  I am prototyping some ideas for velocity hold via
> elevator for my UAV project.  In simulation it seems to work *really*
> well to think about controlling the change in velocity with the
> elevator.  Your actually velocity responds very slowly to elevator
> change and it's very difficult to build a stable single stage
> controller that takes velocity error as the input and drives the
> elevator directly.  But if you use velocty error to command a target
> acceleration, and then try to achieve that acceleration by
> manipulating the elevator, I quickly achieved what I would
> characterize as spectacular results.  Now the question will be if I
> can mimic those same results with a noisy pitot tube sensor, turbulent
> air, and all kinds of other inacuracies and biases in the system.

Assuming we're talking about the Malolo1 as modeled in CVS, I looked at
it the other day when I was looking for elevon examples.  From the AC3D
model the Malolo1 should maybe have elevons but the JSBSim flight model
doesn't use them...  Are you interested in having this flight model
changed to use elevons instead of separate elevators and ailerons?

> I really need to get my web site update with some pictures of our new
> airframe because it is super cool (a flying wing with blended body
> fuselage.)  And I have a neat movie of it coming off the launcher (I
> put myself within inches of death trying to cock that thing by myself
> on Monday.)
> 

Please don't kill yourself!  We need someone with write access to
maintain the CVS server ;)

Ron





-------------------------------------------------------------------------
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