Re: [Flightgear-devel] simulating camera output during flight

2007-03-22 Thread Leidson Campos A. Ferreira


Start fg with --jpg-httpd=port, then you should get a screenshot in your
browser, since it's a simple request
you could code the http get request in you application, not sure if it's
fast enought for realtime.




Is really fast. I'm using the --jpg-httpd option to interface FlightGear
with a ground station developed under C++ Builder compiler and I can receive
almost 20 frames by second in my local network.

But to run with this speed you will need get the CVS version of FlightGear
because I think that latest release, 0.9.10, this feature was not optimized
like CVS version.

Leidson Campos
PlanetaMessenger.org - Java Universal Instant Messenger

On 3/21/07, Harald JOHNSEN [EMAIL PROTECTED] wrote:


Domenico Leonello wrote:

Hi,

I'm an italian PhD student and i'm developing algorithms that use stereo
camera images sensor fusion to control helicopter UAVs.

I already have a flight simulator (made using Simulink and an home-made
C S-function to model the helicopter flight dynamics).

I would like to use FG to have a nice graphic interface but mainly to
have a realistic sourrounding  for  my helicopter.
I'm sure that it's possible to impose to a FG helicopter model positions
and euler angles calculated with an external engine (like mine) but i'm
not sure if it is possible to use run-time the rendered images
originated from a view point! I have the need to handle the images
run-time to elaborate them with vision algorithms and to evaluate the
controller response that pilots the helicopter. I see in the manual that
it's possible to save a movies during the flight for post-process
purpuse but it's not useful for my target because it's not run-time.
Does anybody know if it possible to do something similar I need?

I'm a newbie using FG so I ask you sorry if this is a dumb question!
Thank for helping.

Domenico



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel



Perhaps you can try the jpeg server, send a request and grab the image
directly.
Start fg with --jpg-httpd=port, then you should get a screenshot in your
browser, since it's a simple request
you could code the http get request in you application, not sure if it's
fast enought for realtime.

Harald.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] simulating camera output during flight

2007-03-22 Thread Norman Vine
Leidson Campos A. Ferreira writes:
 
   Start fg with --jpg-httpd=port, then you should get a 
 screenshot in your
   browser, since it's a simple request 
   you could code the http get request in you application, 
 not sure if it's
   fast enought for realtime.
 
 
 
 Is really fast. I'm using the --jpg-httpd option to interface 
 FlightGear with a ground station developed under C++ Builder 
 compiler and I can receive almost 20 frames by second in my 
 local network. 

:-)

 But to run with this speed you will need get the CVS version 
 of FlightGear because I think that latest release, 0.9.10, 
 this feature was not optimized like CVS version.

I just looked at the CVS code and this has changed *very* little
since it's initial release over 5 years ago  :-)

Good to see this feature being used !

Cheers

Norman


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] simulating camera output during flight

2007-03-22 Thread Norman Vine
Norman Vine wrote:
 
 Leidson Campos A. Ferreira writes:
  
  Start fg with --jpg-httpd=port, then you should get a 
 screenshot in 
  your
  browser, since it's a simple request 
  you could code the http get request in you application, 
 not sure if 
  it's
  fast enought for realtime.
  
  
  
  Is really fast. I'm using the --jpg-httpd option to interface 
  FlightGear with a ground station developed under C++ 
 Builder compiler 
  and I can receive almost 20 frames by second in my local network.
 
 :-)
 
  But to run with this speed you will need get the CVS version 
  of FlightGear because I think that latest release, 0.9.10, 
  this feature was not optimized like CVS version.
 
 I just looked at the CVS code and this has changed *very* little
 since it's initial release over 5 years ago  :-)
 
 Good to see this feature being used !

Note if you are using this on a local network it would be trivial
To change the code to return the data directly  bypassing the
compression/decompression overhead, this should speed things up
If your network can handle the bandwidth  :-)

 local machine or GigE would handle that easily though 

Cheers

Norman 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] tutorial news

2007-03-22 Thread Melchior FRANZ
* AJ MacLeod -- Tuesday 20 March 2007:
 I'm looking forward in particular to the lookat thingy, that should
 be a very nice touch...

Yeah, it is. :-)  That's now implemented and already added to the
Lightning's startup tutorial. It's animated such that the pilot's
view is directed at the respective controls.

m.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] simulating camera output during flight

2007-03-22 Thread Leidson Campos A. Ferreira

In fact, this feature was modified by me, and accepted by Flightgear team,
almost 6 months ago and after this no Flightgear version was released (I
think), then you should consider get latest Flightgear CVS version to get
this improvement (because old implementation was really slow).

Note if you are using this on a local network it would be trivial

To change the code to return the data directly  bypassing the
compression/decompression overhead, this should speed things up
If your network can handle the bandwidth  :-)



Yes, your suggestion is fine, but I don't think that our team will try do
something like this.

:.)

Leidson Campos
PlanetaMessenger.org - Java Universal Messenger


On 3/22/07, Norman Vine [EMAIL PROTECTED] wrote:


Norman Vine wrote:

 Leidson Campos A. Ferreira writes:
 
  Start fg with --jpg-httpd=port, then you should get a
 screenshot in
  your
  browser, since it's a simple request
  you could code the http get request in you application,
 not sure if
  it's
  fast enought for realtime.
 
 
 
  Is really fast. I'm using the --jpg-httpd option to interface
  FlightGear with a ground station developed under C++
 Builder compiler
  and I can receive almost 20 frames by second in my local network.

 :-)

  But to run with this speed you will need get the CVS version
  of FlightGear because I think that latest release, 0.9.10,
  this feature was not optimized like CVS version.

 I just looked at the CVS code and this has changed *very* little
 since it's initial release over 5 years ago  :-)

 Good to see this feature being used !

Note if you are using this on a local network it would be trivial
To change the code to return the data directly  bypassing the
compression/decompression overhead, this should speed things up
If your network can handle the bandwidth  :-)

 local machine or GigE would handle that easily though 

Cheers

Norman


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] simulating camera output during flight

2007-03-22 Thread Norman Vine
 Leidson Campos A. Ferreira writes:
 
 In fact, this feature was modified by me, and accepted by 
 Flightgear team, almost 6 months ago and after this no 
 Flightgear version was released (I think), then you should 
 consider get latest Flightgear CVS version to get this 
 improvement (because old implementation was really slow). 
 
 


Could you point out to me what you changed as I don't see it

Fyi  I am the original author of this extension

Cheers

Norman


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] simulating camera output during flight

2007-03-22 Thread Leidson Campos A. Ferreira

Norman,

The changed revision is 1.7 for jpg-httpd.cxx file and 1.4 for
jpg-httpd.hxxfile.

jpg-httpd.cxx

http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/source/src/Network/jpg-httpd.cxx?revision=1.7view=markup

jpg-httpd.hxx

http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/source/src/Network/jpg-httpd.hxx?revision=1.4view=markup

Check the HttpdImageChannel::foundTerminator( void ) method modifications.

Basically the performance was improved and a memory leak was fixed too.

Thanks by original implementation of this feature, is really useful.

Leidson Campos
PlanetaMessenger.org - Java Universal Messenger


On 3/22/07, Norman Vine [EMAIL PROTECTED] wrote:


Leidson Campos A. Ferreira writes:

 In fact, this feature was modified by me, and accepted by
 Flightgear team, almost 6 months ago and after this no
 Flightgear version was released (I think), then you should
 consider get latest Flightgear CVS version to get this
 improvement (because old implementation was really slow).




Could you point out to me what you changed as I don't see it

Fyi  I am the original author of this extension

Cheers

Norman


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] simulating camera output during flight

2007-03-22 Thread Leidson Campos A. Ferreira

In time,

Another improvement was transfer complete (variable size) content of
flightgear screen and the old code did transfer just a static size of screen
(400,300) pixels.

Leidson Campos
PlanetaMessenger.org - Java Universal Messenger


On 3/22/07, Leidson Campos A. Ferreira [EMAIL PROTECTED] wrote:


Norman,

The changed revision is 1.7 for jpg-httpd.cxx file and 1.4 for
jpg-httpd.hxx file.

jpg-httpd.cxx


http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/source/src/Network/jpg-httpd.cxx?revision=1.7view=markup

jpg-httpd.hxx


http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/source/src/Network/jpg-httpd.hxx?revision=1.4view=markup

Check the HttpdImageChannel::foundTerminator( void ) method modifications.

Basically the performance was improved and a memory leak was fixed too.

Thanks by original implementation of this feature, is really useful.

Leidson Campos
PlanetaMessenger.org - Java Universal Messenger


On 3/22/07, Norman Vine [EMAIL PROTECTED] wrote:

 Leidson Campos A. Ferreira writes:
 
  In fact, this feature was modified by me, and accepted by
  Flightgear team, almost 6 months ago and after this no
  Flightgear version was released (I think), then you should
  consider get latest Flightgear CVS version to get this
  improvement (because old implementation was really slow).
 
 


 Could you point out to me what you changed as I don't see it

 Fyi  I am the original author of this extension

 Cheers

 Norman



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Interfacing Visual Basic 6 with Flight Gear 0.9.8

2007-03-22 Thread LucaG_libero
and where can i find a tutorial or simple code examples? i don't need 
and i hope it is non necessary to write complex script.. i want to find 
the easiest way to have a good visualization of my platform data 
(latitude, long, altitude and euler angles)..
sorry, but i'm not an excellent programmer

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Flightgear-cvslogs] CVS: data/Models/Airport helipad_circle.ac,

2007-03-22 Thread Martin Spott
Melchior Franz wrote:

 Update of /var/cvs/FlightGear-0.9/data/Models/Airport
 In directory baron:/tmp/cvs-serv1162
 
 Added Files:
 helipad_circle.ac helipad_circle.rgb helipad_circle.xml 
 helipad_square.ac helipad_square.rgb helipad_square.xml 
 Log Message:
 two helipads. The round one is a generic, yellow painted (H) helipad, while
 the white one is modeled after the real one from KSFO. To add it to your
 scenery, add the following line in Objects/w130n30/w123n37/942058.stg add
 OBJECT_SHARED Models/Airport/helipad_square.xml -122.39002720 37.62887558 
 0.9106 332.0

We currently don't have any method to add these automagically during
the scenery build process - do we ? 'Somone' (TM, nice joke) should
remember these helipads before the next scenery rebuild - whenever this
is going to happen 

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel