Re: [Flightgear-devel] [RFC][patch] Multiplayer bandwidth savings
On Tue, 15 Jul 2008, Stuart Buchanan wrote: Obviously message loss is a concern for both the full-state message as well as the change messages. Does anyone know much about UDP packet loss scenarios? I know that it isn't a reliable protocol, but I don't know whether typically a proportion of packets are lost throughout a messages, or whether UDP connections are lost completely for a period of time. I don't know either, but there is IMHO very little hope of masking a long interruption so it is better try to deal with loss of a few packets with a not too expensive mechanism. I think I'd be tempted to let the full-state message handle any lost change-packets, rather than repeating change messages. For properties that change regularly, losing a single change packet isn't much of an issue as another change packet is likely to be generated shortly. For more rarely changing properties, the full-state message is probably close enough time-wise. I think repeating it once or twice isn't so bad (remember it is just the changed property that is repeated so it isn't a huge increase in packet size). Some value changes can be time sensitive enough that a 2.5 sec delay is too long. Repeating it four times might be a bit over the top, though :) It might also be worth pointing out that this approach never sends more data than what FlightGear currently does. At worst it sends exactly the same amount (i.e. all active MP enabled properties are included in every packet). I'd suggest labelling the messages so the full state message is identifiable, and simply have the receiver ignore any change packets for an entity until a full-state message is received. From memory, I think we can do this in a backwards compatible way - as I recall the MP system ignore messages it doesn't understand. Yes, that is a good idea. Or maybe marking the partial state packets in some way. It might be good to try to keep the door open for the possibility of spreading the full state over more than one packet (in case the set of active MP enabled properties gets really huge for some aircraft :). I'll be using my modified binary when I'm on the multiplayer network from now on - if you notice any odd error messages when I join, please let me know and I'll investigate. The diff again (sans a debug printout I forgot to remove): http://www.gidenstam.org/FlightGear/misc/more-efficient-mp-protocol.diff Cheers, Anders -- --- Anders Gidenstam WWW: http://www.gidenstam.org/FlightGear/ - 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=100url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Yet more aerodrome taxiways/aprons questions
Hello again, Almost ready to submit my first set of taxiways to FG/XPlane but first a few more questions. 1. Which version of TaxiDraw should I be using? I've been working with a CVS version from last week. 2. Should I submit apt.dat format 810? 3. Runway markings: The runway in question has edge, centreline and threshold (one of which is displaced) markings, plus some arrows pointing to the displaced threshold. Non-precision markings are not appropriate, will visual markings have everything I need? Martin. - 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=100url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 2D panel
On Wednesday 16 July 2008, Bebesi Janos wrote: Hello, Could somebody tell me, how can i creat 2D panel which will be visible in different views? It shold be visible from outside view, like from inside view. Thanks for your help Janos I have not updated my local cvs copy for a while now, so this may not apply, but you need to amend panel.cxx. Find the fgPanelVisible() function in the Global functions section of panel.cxx and comment out the third test i.e. // Global functions. bool fgPanelVisible () { const FGPanel* current = globals-get_current_panel(); if (current == 0) return false; if (current-getVisibility() == 0) return false; // if (globals-get_viewmgr()-get_current() != 0) // return false; if (current-getAutohide() globals-get_current_view()-getHeadingOffset_deg() * SGD_DEGREES_TO_RADIANS != 0) return false; return true; } Note that the fourth test in the above code has been line-wrapped and will appear as a single line in the source code. LeeE - 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=100url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Yet more aerodrome taxiways/aprons questions
Hi Martin! Martin Fenelon wrote: 1. Which version of TaxiDraw should I be using? I've been working with a CVS version from last week. The CVS version should be pretty stable and generates v810. 2. Should I submit apt.dat format 810? AFAIK, TerraGear can handle 810. 3. Runway markings: The runway in question has edge, centreline and threshold (one of which is displaced) markings, plus some arrows pointing to the displaced threshold. Non-precision markings are not appropriate, will visual markings have everything I need? Visual markings should normally consist of the runway number, edge and centreline markings. Displaced threshold is marked using arrows. I have just looked at the genapts sourcecode, which generates additional threshold markings (see Texture/Runway/pa_threshold.rgb texture). However, from a principal point of view using Visual Markings in TaxiDraw would probably be correct. Curt, did I miss anything, or why are the threshold markings included in visual markings for genapts? Cheers, Ralf - 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=100url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 2D panel [OT}
Lee, Sorry to go off thread. I've emailed you a couple of times but they bounced. I want to resurrect the RNHF Seahawk livery, but I seem to have lost it here - do you have a copy? Vivian - 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=100url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Yet more aerodrome taxiways/aprons questions
On Wed, Jul 16, 2008 at 10:52 AM, Ralf Gerlich wrote: Hi Martin! Martin Fenelon wrote: 1. Which version of TaxiDraw should I be using? I've been working with a CVS version from last week. The CVS version should be pretty stable and generates v810. 2. Should I submit apt.dat format 810? AFAIK, TerraGear can handle 810. 3. Runway markings: The runway in question has edge, centreline and threshold (one of which is displaced) markings, plus some arrows pointing to the displaced threshold. Non-precision markings are not appropriate, will visual markings have everything I need? Visual markings should normally consist of the runway number, edge and centreline markings. Displaced threshold is marked using arrows. I have just looked at the genapts sourcecode, which generates additional threshold markings (see Texture/Runway/pa_threshold.rgb texture). However, from a principal point of view using Visual Markings in TaxiDraw would probably be correct. Curt, did I miss anything, or why are the threshold markings included in visual markings for genapts? Hi Ralf, I'm not familiar with taxidraw myself, so I'm not sure I understand your question. Regards, Curt. -- Curtis Olson: http://baron.flightgear.org/~curt/ - 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=100url=/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] 2D panel [OT}
On Wednesday 16 July 2008, Vivian Meazza wrote: Lee, Sorry to go off thread. I've emailed you a couple of times but they bounced. I want to resurrect the RNHF Seahawk livery, but I seem to have lost it here - do you have a copy? Vivian Hi Vivian, were you sending it to my old e-mail address? Had a new one for a while now. I'll have a copy of it somewhere - if you still haven't found it give me another shout and I'll dig out a copy. LeeE - 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=100url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] EGCF taxiways (at last)
Hello, I have finally got my head round the basics of taxidraw and added some simple taxiways to the local aerodrome, EGCF. Nothing much to see, but it's a start. A copy has been sent to Robin Peel. http://www.awaywiththepixies.org.uk/pub/FlightGear/EGCF-198.dat Next in the list are Wickenby (EGNW), Sherburn in Elmet (EGCJ), Sturgate (EGCS) and possibly Waddo (EGXW) which looks a bit bare. Incidentally, I'm having trouble finding any official document defining the true bearing of Sturgate's runway, so if anyone can help... Martin. - 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=100url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel