hi

I would like to know what the UFO means and how to get the codes also how to
add listners intne nazal code to test the pressed key

thanks a lot

ITAF

2009/2/24 <[email protected]>

> Send Flightgear-devel mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/flightgear-devel
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Flightgear-devel digest..."
>
>
> Today's Topics:
>
>   1. Re: Flightgear-devel Digest, Vol 34, Issue 21 (itaf telecom)
>   2. Re: Flightgear-devel Digest, Vol 34, Issue 21 (Torsten Dreyer)
>   3. Re: northern hemisphere vs southern hemisphere (Maik Justus)
>   4. Re: Property System Overview? (Curtis Olson)
>   5. Re: YASim static friction (Diogo Kastrup)
>   6. Re: an idea about dialog-apply command (was: Patch for random
>      system failures) (S?bastien MARQUE)
>   7. Re: YASim static friction (Diogo Kastrup)
>   8. Re: YASim static friction (Csaba Hal?sz)
>   9. Re: YASim static friction (Diogo Kastrup)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 23 Feb 2009 14:26:20 +0000
> From: itaf telecom <[email protected]>
> Subject: Re: [Flightgear-devel] Flightgear-devel Digest, Vol 34, Issue
>        21
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hi
>
> thanks Torsten it looks so intersting but what I want to do is to create an
> object dynamicly when FG is running via the keyboard for example. I did
> this
> before with ESP but in FG  I don't know if there's a function in the source
> which allows to do this.
>
>
> thanks
>
> ITAF
>
>
> >
> > Subject: Re: [Flightgear-devel] handling AI objects
> > To: FlightGear developers discussions
> >        <[email protected]>
> > Message-ID: <[email protected]>
> > Content-Type: text/plain;  charset="utf-8"
> >
> > > hi
> > >
> > > I would like to know if flightgear source  code has any function which
> > can
> > > create/remove/control AI objects ( aircraft, cars etc...)
> > >
> > >  thx
> > Certainly it has.
> > You might want to read this:
> > http://wiki.flightgear.org/index.php/AI_Systems
> >
> > Torsten
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Mon, 23 Feb 2009 16:26:45 +0100
> From: Torsten Dreyer <[email protected]>
> Subject: Re: [Flightgear-devel] Flightgear-devel Digest, Vol 34, Issue
>        21
> To: FlightGear developers discussions
>        <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain;  charset="utf-8"
>
> In this case you might want to check out the UFO. It has some very fancy
> code
> for placing objects in the scenery by clicking on the ground. The basic
> nasal
> function doing the trick is geo.put_model() (look in your data/Nasal
> directory for the file geo.nas). This just places a model into the scenery
> without adding any intelligence. If you want that model to do some magic,
> like moving around, that can't be done by just clicking somewhere or by a
> keystroke.
>
> Hope this helps,
>
> Torsten
>
> BTW: we discourage top posting on this list.
> > hi
> >
> > thanks Torsten it looks so intersting but what I want to do is to create
> an
> > object dynamicly when FG is running via the keyboard for example. I did
> > this before with ESP but in FG  I don't know if there's a function in the
> > source which allows to do this.
> >
> >
> > thanks
> >
> > ITAF
> >
> > > Subject: Re: [Flightgear-devel] handling AI objects
> > > To: FlightGear developers discussions
> > >        <[email protected]>
> > > Message-ID: <[email protected]>
> > > Content-Type: text/plain;  charset="utf-8"
> > >
> > > > hi
> > > >
> > > > I would like to know if flightgear source  code has any function
> which
> > >
> > > can
> > >
> > > > create/remove/control AI objects ( aircraft, cars etc...)
> > > >
> > > >  thx
> > >
> > > Certainly it has.
> > > You might want to read this:
> > > http://wiki.flightgear.org/index.php/AI_Systems
> > >
> > > Torsten
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 23 Feb 2009 16:59:08 +0100
> From: Maik Justus <[email protected]>
> Subject: Re: [Flightgear-devel] northern hemisphere vs southern
>        hemisphere
> To: FlightGear developers discussions
>        <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> Heiko Schulz schrieb am 23.02.2009 14:22:
> >
> >
> >> The bo105 doesn't use Nasal for blade bending.
> >>
> >
> >
> > noticed, so it is indeed a bug in hardcode. Maik has already a patch and
> is in test on helijah. I wait for the results, because this bug could be
> also the cause for the sliding.
> >
> Meanwhile I have a running flightgear here (with osg 2.8 it works fine).
> I can confirm helijahs observation, that the bug reportet by helijah is
> fixed with the patch, but the effect on sliding is smaller than I hoped.
> Maybe the sliding of helicopters is comparable to other aircrafts now.
> Fortunately Diogo has a general patch for the sliding issue.
>
> Please commit my patch.
>
> Thanks,
>
> Maik
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 23 Feb 2009 12:43:16 -0600
> From: Curtis Olson <[email protected]>
> Subject: Re: [Flightgear-devel] Property System Overview?
> To: FlightGear developers discussions
>        <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Sun, Feb 22, 2009 at 3:38 AM, Erik Hofman <[email protected]> wrote:
>
> >
> > The main reason for implementing the property system is that it can
> > represent the contents of any XML file in memory quite easily.
> >
>
> I appreciate everyone's response to my questions about describing
> FlightGear's property system.  I've pulled bits and pieces together from
> just about everyone's comments.
>
> Thanks!
>
> Curt.
> --
> Curtis Olson: 
> http://baron.flightgear.org/~curt/<http://baron.flightgear.org/%7Ecurt/>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 5
> Date: Mon, 23 Feb 2009 17:58:00 -0300
> From: Diogo Kastrup <[email protected]>
> Subject: Re: [Flightgear-devel] YASim static friction
> To: FlightGear developers discussions
>        <[email protected]>
> Message-ID: <1235422680.5208.16.ca...@localhost>
> Content-Type: text/plain; charset=ISO-8859-15
>
> Csaba, thank you very much for testing. See my comments below.
>
> Em Seg, 2009-02-23 ?s 04:59 +0100, Csaba Hal?sz escreveu:
> > I tested with the bo105 on solid ground first. It doesn't move an inch
> > with engines shut down. During startup, it doesn't turn either. The
> > s76c (which has wheels instead of skids) vibrates during startup (we
> > can call that realistic ;))
>
> That is weird, I will try to find out why. After a quick look, I am
> concerned about the values of the spring and compression in the
> definition file of the s76c. The static friction value is very high
> also. I will do some tests...
>
> (...)
> > Apparently it happens because I have the carrier stationary. Setting
> > it into motion, the bo105 starts up fine. With the s76c the carrier
> > sails out from underneath even with the parking brake on (which is the
> > default). With the v22, it only happens with the brakes off, which
> > seems right. Setting the wind so that it cancels out the relative wind
> > due to motion makes the v22 stay in place even with brakes off.
> > Haven't tried maneuvering the Nimitz yet.
> >
> > The s76c problem might be an aircraft specific issue and the
> > zero-speed carrier error sounds easy to fix. All in all it looks quite
> > good so far.
>
> How can I set the carrier speed to zero? :) I would like to reproduce it
> here. Anyway, I think that moving the following lines to inside the "if
> (_slipping)" loop around line 650 in Gear.cpp solves it:
>
>        // Get the direction of movement
>        float dir[3];
>        Math::unit3(cv, dir);
>
> The carrier sailing out from underneath is strange, it looks like the
> groundcache can't finding a intersection with the ground for these
> aircrafts and it is using a fallback value. Can someone check if this
> happens without my patch also? I will try to find out why this is
> happening.
>
> Regards,
>
> Diogo
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 23 Feb 2009 23:01:10 +0100
> From: S?bastien MARQUE <[email protected]>
> Subject: Re: [Flightgear-devel] an idea about dialog-apply command
>        (was: Patch for random system failures)
> To: FlightGear developers discussions
>        <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Melchior,
>
> you can find the patch with, I hope, the correct improvement you asked.
>
> I wanted to add that I really agree your point of view: "To make
> listeners work as expected the solution is to make *listeners*
> work as expected, not to change dialog-apply in a way that makes them
> not work as expected.".
>
> Be sure that I'll be aware and will recall you of this change if one day
> we run into problems, and no-one remembers about it before ;)
>
> thanks for the interest you had about my suggestion.
>
> Now I'm going to continue my tries about failures scenarii. I think I've
> got some nice ideas about it to make them generic but adaptable (using
> xml) and improving flight experience. I'll expose you them later as it
> needs more thinking, and a lot more work. :D
>
> best regards
> seb
>
> Melchior FRANZ wrote :
> > * S?bastien MARQUE -- 2/20/2009 1:23 AM:
> >> This is not new, it was the case with the precedent gui dialog, and I
> >> used a Nasal workaround but not really useful as it disallows to come
> >> back to a previous state.
> >
> > I've written a lot of dialogs, the most complicated ones among them,
> > and I don't remember that I ever had to work around this sort of issue.
> > That's one of the reasons why I hesitate when someone asks for a change
> > to make his first(?) dialog work.  :-P
> >
> > But anyway. I withdraw my objection and don't mind if someone commits
> > this patch with one improvement: the node value shall not be read twice!
> > That's not so much because of the saved nanoseconds, but mostly because
> > of --trace-read (and style).
> >
> > dialog-apply does then no longer mean copy widget data to the tree,
> > but sync tree with the internal widget state. (dialog-update does still
> > mean *copy*, though ... which is another reason why I'm not thrilled
> > by the change. One more inconsistency to remember ...)
> >
> > But be warned: if we run into problems with this modification, I'll be
> > less hesitant before throwing it out again.  ;-)
> >
> > m.
> >
> >
> ------------------------------------------------------------------------------
> > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> > -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> > -Strategies to boost innovation and cut costs with open source
> participation
> > -Receive a $600 discount off the registration fee with the source code:
> SFAD
> > http://p.sf.net/sfu/XcvMzF8H
> > _______________________________________________
> > Flightgear-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/flightgear-devel
> >
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: dialog-apply
>
> ------------------------------
>
> Message: 7
> Date: Mon, 23 Feb 2009 20:25:23 -0300
> From: Diogo Kastrup <[email protected]>
> Subject: Re: [Flightgear-devel] YASim static friction
> To: FlightGear developers discussions
>        <[email protected]>
> Message-ID: <1235431523.5208.36.ca...@localhost>
> Content-Type: text/plain; charset="iso-8859-15"
>
> Em Seg, 2009-02-23 ?s 17:58 -0300, Diogo Kastrup escreveu:
> > The carrier sailing out from underneath is strange, it looks like the
> > groundcache can't finding a intersection with the ground for these
> > aircrafts and it is using a fallback value. Can someone check if this
> > happens without my patch also? I will try to find out why this is
> > happening.
>
> Yep, the groundcache can't find a intersection. I think this problem
> occurs without my patch also. To fix it just change groundcache.cxx
> around line 312 from this:
>
> if (d*d < reference_vehicle_radius*dot(n, n)) {
>
> to this:
>
> if (d*d < reference_vehicle_radius*reference_vehicle_radius*dot(n, n)) {
>
> I am sending the diff again with the fix for this and the (untested) fix
> for the zero-speed problem, just in case someone want to play with it.
>
> I am still trying to figure out why the s76c is shaking. This happens
> with other helicopters also, like the R22.
>
> Regards,
>
> Diogo
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: static_friction.diff
> Type: text/x-patch
> Size: 31873 bytes
> Desc: not available
>
> ------------------------------
>
> Message: 8
> Date: Tue, 24 Feb 2009 01:16:58 +0100
> From: Csaba Hal?sz <[email protected]>
> Subject: Re: [Flightgear-devel] YASim static friction
> To: FlightGear developers discussions
>        <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Feb 24, 2009 at 12:25 AM, Diogo Kastrup <[email protected]> wrote:
> >
> > I am sending the diff again with the fix for this and the (untested) fix
> > for the zero-speed problem, just in case someone want to play with it.
>
> The groundcache fix seems to work fine, thank you.
> The fix for the stationary carrier doesn't because:
>
> (gdb) p _slipping
> $1 = true
>
> To get a stationary carrier edit $FG_ROOT/AI/nimitz_demo.xml and set
> <speed> to 0.
>
> --
> Cheers,
> Csaba/Jester
>
>
>
> ------------------------------
>
> Message: 9
> Date: Mon, 23 Feb 2009 22:41:46 -0300
> From: Diogo Kastrup <[email protected]>
> Subject: Re: [Flightgear-devel] YASim static friction
> To: FlightGear developers discussions
>        <[email protected]>
> Message-ID: <1235439706.18090.5.ca...@localhost>
> Content-Type: text/plain; charset="iso-8859-15"
>
> Em Ter, 2009-02-24 ?s 01:16 +0100, Csaba Hal?sz escreveu:
> > The groundcache fix seems to work fine, thank you.
> > The fix for the stationary carrier doesn't because:
> >
> > (gdb) p _slipping
> > $1 = true
> >
> > To get a stationary carrier edit $FG_ROOT/AI/nimitz_demo.xml and set
> > <speed> to 0.
>
> Ok, just replacing Gear.cpp:648 as below will do it. Now it is
> tested! ;) Thank you Csaba.
>
> Replace this:
> Math::unit3(cv, dir);
> by this:
> Math::unit3(dgear, dir);
>
> Regards,
>
> Diogo
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: static_friction.diff
> Type: text/x-patch
> Size: 31757 bytes
> Desc: not available
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
>
> ------------------------------
>
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>
> End of Flightgear-devel Digest, Vol 34, Issue 22
> ************************************************
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to