Re: [Flightgear-devel] Help with properties

2006-10-24 Thread Leidson Campos A. Ferreira
There are 2 literal constants used in this hack : 700 and 400. I guess thatother users could want other values. Could you elaborate on this please. Frederic,Based on Franz's information I've done a modification in jpg-httpd.hxx module and now JPEG image size respects the current FlightGear window

Re: [Flightgear-devel] Help with properties

2006-10-24 Thread Leidson Campos A. Ferreira
Sorry, I forgot the tar.gz file.LeidsonOn 10/24/06, Leidson Campos A. Ferreira [EMAIL PROTECTED] wrote: There are 2 literal constants used in this hack : 700 and 400. I guess thatother users could want other values. Could you elaborate on this please. Frederic,Based on Franz's information I've

Re: [Flightgear-devel] Help with properties

2006-10-24 Thread Frederic Bouvier
Leidson Campos A. Ferreira wrote : Sorry, I forgot the tar.gz file. Leidson It is in CVS now. Thanks -Fred -- Frédéric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery

Re: [Flightgear-devel] Help with properties

2006-10-23 Thread Frederic Bouvier
Quoting Leidson Campos A. Ferreira: Hi Frederic how are you ? Thanks by your comments about problems through the code. I remember you told me about your failing harddrive. I hope long life to your harddrive and you too, sure. :.) My failing disks are teaching me the art of backup ;-)

Re: [Flightgear-devel] Help with properties

2006-10-23 Thread Leidson Campos A. Ferreira
The only thing before a commit is that I would like an explanation about your comment in jpg-httpd.hxx where you write about a terrible hack ( from memory ). There are 2 literal constants used in this hack : 700 and 400. I guess that other users could want other values. Could you elaborate on this

Re: [Flightgear-devel] Help with properties

2006-10-23 Thread Leidson Campos A. Ferreira
sleep() and usleep() has seconds and nanoseconds resolution in LINUX/UNIX and Sleep in Windows has miliseconds resolution, then the code I sent you, could be Sleep(1000) for sleep(1) line code and Sleep(1) for usleep(1000) line code, in Windows platform. :.)RegardsLeidsonOn 10/23/06, Leidson

Re: [Flightgear-devel] Help with properties

2006-10-23 Thread Melchior FRANZ
* Leidson Campos A. Ferreira -- Monday 23 October 2006 16:20: he doesn't know (like me) how to get the flightgear screeen size at run-time to provide this parameters dynamically. int x = fgGetInt(/sim/startup/xsize, 800); int y = fgGetInt(/sim/startup/ysize, 600); (The numbers are default

Re: [Flightgear-devel] Help with properties

2006-10-23 Thread Leidson Campos A. Ferreira
Thanks by your great helpI'll add your suggestion on jpg-httpd module to respect the correct window size.Regards,Leidson CamposPlanetaMessenger.orgOn 10/23/06, Melchior FRANZ [EMAIL PROTECTED] wrote: * Leidson Campos A. Ferreira -- Monday 23 October 2006 16:20: he doesn't know (like me) how to

Re: [Flightgear-devel] Help with properties

2006-10-22 Thread Frederic Bouvier
Leidson Campos A. Ferreira wrote : Would you be willing to either send me patches (diff -c oldfile.cxx newfile.cxx) or just an entire copy of each changed file? Sure. I'm sending to you a tar.gz file containing the changed files. You can see the changes wihout diff, if you

Re: [Flightgear-devel] Help with properties

2006-10-22 Thread Leidson Campos A. Ferreira
Hi Frederic how are you ?Thanks by your comments about problems through the code. I remember you told me about your failing harddrive. I hope long life to your harddrive and you too, sure. :.)About the sleep and usleep, the code was made and compiled using a Linux box but is so easy change to

Re: [Flightgear-devel] Help with properties

2006-10-20 Thread Leidson Campos A. Ferreira
Sounds like you are doing some UAV work. Do you have a web page or more info on your project? I'd be very interested to hear more details of how you are leveraging FlightGear as part of your ground station. I've got about 100 million ideas myself, but have only had time to try a few simple things.

Re: [Flightgear-devel] Help with properties

2006-10-20 Thread Curtis Olson
On 10/20/06, Leidson Campos A. Ferreira [EMAIL PROTECTED] wrote: I sent theses modules to FlightGear devel list before (follow this thread http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg05728.html ) but I don't know if this feature fix/implementation will be added to

Re: [Flightgear-devel] Help with properties

2006-10-20 Thread Leidson Campos A. Ferreira
Would you be willing to either send me patches (diff -c oldfile.cxx newfile.cxx) or just an entire copy of each changed file? Sure. I'm sending to you a tar.gz file containing the changed files.You can see the changes wihout diff, if you prefer, only search through the code by tags //[Leidson]

Re: [Flightgear-devel] Help with properties

2006-10-19 Thread Leidson Campos A. Ferreira
Hi Curtis,Thanks by quick response.In fact my code was wrong, because I wrote wrong properties values to /autopilot/locks/speed= speed-with-throotle instead speed-with- throttle, then never turn on the speed with throttle autopilot option This feature is important to my ground station and it now

Re: [Flightgear-devel] Help with properties

2006-10-19 Thread Curtis Olson
On 10/19/06, Leidson Campos A. Ferreira [EMAIL PROTECTED] wrote: Hi Curtis,Thanks by quick response.In fact my code was wrong, because I wrote wrong properties values to /autopilot/locks/speed= speed-with-throotle instead speed-with- throttle, then never turn on the speed with throttle autopilot

Re: [Flightgear-devel] Help with properties

2006-10-18 Thread Curtis Olson
On 10/17/06, Leidson Campos A. Ferreira [EMAIL PROTECTED] wrote: Hi friends, I have a problem using autopilot properties through Telnet.I'm trying set the Speed With Throotle option by telnet on the fly and my aircraft doesn't accept this command then speed decreases until aircraft crash into the

[Flightgear-devel] Help with properties

2006-10-17 Thread Leidson Campos A. Ferreira
Hi friends, I have a problem using autopilot properties through Telnet.I'm trying set the Speed With Throotle option by telnet on the fly and my aircraft doesn't accept this command then speed decreases until aircraft crash into the ground. But if I set this option using the Autopilot window,