Re: [Flightgear-devel] TerraSync/SVN should be ready to use

2008-11-14 Thread Alex Perry
On Thu, Nov 13, 2008 at 11:46 PM, Frederic Bouvier [EMAIL PROTECTED] wrote:
 BTW, are you aware the use of SVN implies that a second copy of
 each file is kept in a hidden directory, and makes the scenery
 directory two times bigger than a directory fetched with rsync
 or ftp ?

Yes, svn is approximately double the local disk footprint of rsync.
Both svn and rsync use a chunk size that is 1% of that used by FTP.
You're still better off with SVN unless you routinely fly at least
3000 km of distance in each 10x10 tarball you download.  Without going
closer than 300 km to any other area already flown over.  Most people
will not achieve that level of utilization, especially if they're
either choosing routes for scenic sights or for realistic IFR tracks.

A note in the documentation is probably a good idea.  Anyone who just
wants a snapshot of the whole planet for offline flight would be
better off retrieving all the tarballs by FTP.  Nobody mentioned any
plans to turn down the ftp service, and I certainly haven't been
expecting either rsync or svn to replace that bulk option.

PS.  There may be a clever option for subversion that avoids keeping
duplicate files for directories that are not currently being modified
(like cvs does).  But if there is, I don't yet know about it.  If
anyone comes across such a thing, we should change the terrasync
source code.  8-)

-
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] How often to poll positions frm MP server via port 5001?

2008-11-14 Thread Jon Stockill
Holger Wirtz wrote:
 Csaba,
 
 Csaba Halász wrote:
 On Thu, Nov 13, 2008 at 2:50 PM, Holger Wirtz [EMAIL PROTECTED] wrote:
 This is an intance problem, too. Asterisk will start for every call to a
 virtual frequency one coneference application. THis application has a
 thread which polls the data from the MP server to calculate the
 distances between the clients.

 To put this function one stage above the conference module means to
 patch Asterisk itself. That is not really portable and I think very
 difficult...
 Or just use a common cache file.
 Btw, I remember you experimented with sending the position data
 through the asterisk connection, didn't that work? You wouldn't need
 polling then.
 
 Yes, but it is difficult to implement in the conference application.
 Because every member has his own thread you have much to lock and unlock
 while putting data in a global structure - and than you have to
 calculate the distances every few seconds and so on... it seems to be
 easier to poll the information from the MP server. A streaming
 connection with a configurable frequency (like the FG protocls) would be
 better...
 
 Also you will have to be a real FG client on the FGMP with the same name
 on the iaxchannel as your callsign to start up working connections with
 fgcom3. That is a big advante because all the trolls have start at least
  a FG multiplyer simulator to chat with fgcom and the Asterisk server
 admin can tell his users to use realistic calls signs (no relistic call
 sign (and every time the same!) - no iax account - no fgcom3. But this
 is in the hand of the Asterisk server admin.

The simplest way would be to run a multiplayer server on the same 
machine as asterisk - that way you could query it as fast as you liked 
without any hit on the main MP servers.

Jon

-
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] How often to poll positions frm MP server via port 5001?

2008-11-14 Thread Holger Wirtz
Jon,

Jon Stockill wrote:
[...]
 The simplest way would be to run a multiplayer server on the same 
 machine as asterisk - that way you could query it as fast as you liked 
 without any hit on the main MP servers.
[...]

Yep - sure. That's the best option :-) I will do so if I startup testing
the whole code.

Thanks, Holger

-- 
+++NEUE ANSCHRIFT+++NEUE ANSCHRIFT+++NEUE ANSCHRIFT+++NEUE ANSCHRIFT+++

#   ##  ##   Holger Wirtz Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein   Fax   : (+49 30) 884299-70
##  ##  ##   Alexanderplatz 1 E-Mail: [EMAIL PROTECTED]
##  ## ##   ## ###   10178 Berlin
#  ##   ##  ##   GERMANY  WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF

-
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] How to lower how much scenery gets cached:

2008-11-14 Thread Robert Jacobs
A quick question for any of you.  Can Flight Gear be used as a database for
ground elevation?  Could I query it with earth coordinates and ask it to
return the local elevation of the ground with respect to sea level?  Would
this be difficult to implement?

Thanks,

Bob
[EMAIL PROTECTED]


On 11/13/08 4:18 PM, Michael Smith [EMAIL PROTECTED] wrote:

 Curtis Olson wrote:
 How much memory do you have?  Is it possible to add some memory to get
 yourself up to maybe at least 512Mb total?  If you are running this
 under linux, there are easy ways to look at your total system memory,
 how much memory is out in swap, how much memory the FlightGear
 application is taking, etc.  Probably similar tools under windows, but
 I'm less familiar with system level debugging there.
 
 On Thu, Nov 13, 2008 at 3:49 PM, Michael Smith wrote:
 
 Michael Smith wrote:
 Curtis Olson wrote:
 
 In the pre-osg version, I believe the cache size was scaled
 relative
 to the visibility (i.e. for some particular visibilty, a certain
 number of tiles need to be loaded in order to cover all the visible
 earth, and then the cache was set to some number higher than
 that so
 that we wouldn't get thrashing.)  I don't recall the exact
 formula ...
 maybe something like 2*n + 1 (where n is the number of visible
 tiles.)  I don't know if this concept was carried forward to
 the OSG
 version ,but you might try limiting visibility and that should
 reduce
 the number of tiles being loaded.
 
 Regards,
 
 Curt.
 
 
 On Wed, Nov 12, 2008 at 4:51 PM, Michael Smith
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
 Michael Smith wrote:
 I have tried plenty of things to get fg to run on this
 old piece of
 junk but I am getting tired only being able to fly water
 routes
 (i.e.
 island to island). If I try to fly over land, it gets
 slower and
 slower over time, so I want to know how to lower how much
 scenery gets
 cached (not affraid to edit code here).
 
 Thanks
 
 Michael Smith [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 
 Anybody? I really want to know this.
 

 -
 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=/
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 mailto:Flightgear-devel@lists.sourceforge.net
 mailto:Flightgear-devel@lists.sourceforge.net
 mailto:Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 
 
 
 
 --
 Curtis Olson: http://baron.flightgear.org/~curt/
 http://baron.flightgear.org/%7Ecurt/
 http://baron.flightgear.org/%7Ecurt/
 
 
 
 
 -
 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=/
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 
 
 
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 mailto:Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 
 
 Hmm, Ok, I will try this, but if there is another way (I
 wouldn't want
 IFR flight on a shiney bright day at TNCM :), I would like to know.
 Thanks Curt.
 
 
 Michael Smith [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
 -
 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=/
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 

Re: [Flightgear-devel] How to lower how much scenery gets cached:

2008-11-14 Thread Jon Stockill
Robert Jacobs wrote:
 A quick question for any of you.  Can Flight Gear be used as a database for
 ground elevation?  Could I query it with earth coordinates and ask it to
 return the local elevation of the ground with respect to sea level?  Would
 this be difficult to implement?

Yes, it can, though whether it's sensible to do so would depend on what 
you wanted to use the information for. You can use the properties 
interface (either by telnet or http) to set a position, then read back 
the ground elevation - the null fdm is ideal for this. We also have a 
tool which can load scenery tiles and return elevations - it's far more 
efficient for doing this in bulk. The values you get are of cource the 
elevation of the scenery, which may vary from real world values - if 
that's what you want then you're probably better off reading values 
directly from SRTM or a similar source.

Jon

-
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] How to lower how much scenery gets cached:

2008-11-14 Thread drbob
Thank you Jon. That's what I was hoping to hear.BobDr. Bob Jacobs3935 Freshwind CircleWestlake Village CA 91361818.991.8455[EMAIL PROTECTED]
On Nov 14, 2008, [EMAIL PROTECTED] wrote:

Robert Jacobs wrote: A quick question for any of you. Can Flight Gear be used as a database for ground elevation? Could I query it with earth coordinates and ask it to return the local elevation of the ground with respect to sea level? Would this be difficult to implement?Yes, it can, though whether it's sensible to do so would depend on what you wanted to use the information for. You can use the properties interface (either by telnet or http) to set a position, then read back the ground elevation - the null fdm is ideal for this. We also have a tool which can load scenery tiles and return elevations - it's far more efficient for doing this in bulk. The values you get are of cource the elevation of the scenery, which may vary from real world values - if that's what you want then you're probably better off reading values directly from SRTM or a similar source.Jon-This SF.Net email is sponsored by the Moblin Your Move Developer's challengeBuild the coolest Linux based applications with Moblin SDK  win great prizesGrand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100url="" />___Flightgear-devel mailing listFlightgear-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/flightgear-devel


-
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] Fresh CVS Flightgear and Simgear version mismatch

2008-11-14 Thread Michael Smith
A CVS snapshot of Simgear and Flightgear from tonight have a problem (so 
it seems). Simgear says its 1.99.4 but Flightgear wants 1.99.5. It seems 
easily fixed. They are both from tonight.

-- 
Michael Smith [EMAIL PROTECTED] (mdsmith2)


-
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] Fresh CVS Flightgear and Simgear version mismatch

2008-11-14 Thread Curtis Olson
I've got 1.99.5 in simgear/version.h here from a fresh cvs checkout this
evening.

Curt.


On Fri, Nov 14, 2008 at 11:08 PM, Michael Smith [EMAIL PROTECTED]wrote:

 A CVS snapshot of Simgear and Flightgear from tonight have a problem (so
 it seems). Simgear says its 1.99.4 but Flightgear wants 1.99.5. It seems
 easily fixed. They are both from tonight.

 --
 Michael Smith [EMAIL PROTECTED] (mdsmith2)


 -
 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




-- 
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] Fresh CVS Flightgear and Simgear version mismatch

2008-11-14 Thread Michael Smith
Curtis Olson wrote:
 I've got 1.99.5 in simgear/version.h here from a fresh cvs checkout 
 this evening.

 Curt.


 On Fri, Nov 14, 2008 at 11:08 PM, Michael Smith [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 A CVS snapshot of Simgear and Flightgear from tonight have a
 problem (so
 it seems). Simgear says its 1.99.4 but Flightgear wants 1.99.5.
 http://1.99.5. It seems
 easily fixed. They are both from tonight.

 --
 Michael Smith [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] (mdsmith2)


 -
 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=/
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 mailto:Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel




 -- 
 Curtis Olson: http://baron.flightgear.org/~curt/ 
 http://baron.flightgear.org/%7Ecurt/
 

 -
 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
   
Ok, Another cvs up gives me a update to version.h with it, the first 
update must have not worked.

-- 
Michael Smith [EMAIL PROTECTED] (mdsmith2)


-
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