Re: [Flightgear-devel] Fwd: FlightGear network protocol

2006-07-01 Thread Erik Hofman
Torsten Dreyer wrote:
> Hi, try  
> 
> fgfs --prop:/sim/rendering/draw-otw=0 

Ah, yes. Now that you mention it.

Erik


-- 
http://www.ehtw.info (Dutch)Future of Enschede Airport Twente
http://www.ehofman.com/fgfs FlightGear Flight Simulator

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Fwd: FlightGear network protocol

2006-07-01 Thread Torsten Dreyer
> Great. I'll sift through the header files and see what I can dig up. Is
> there also a way to run FGFS as a pure flight dynamics server (thus
> disabling the visual system)? That would reduce the strain on the FDM
> system a bit and we might be able to make do with some "salvaged" PC's
> for the numbers.
Hi, try  

fgfs --prop:/sim/rendering/draw-otw=0 

Found in src/Main/renderer.cxx

Torsten

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Fwd: FlightGear network protocol

2006-06-30 Thread Erik Hofman
Robin van Steenbergen wrote:
> Erik Hofman schreef:
>> Hoi Robin,
>> (...)
>>   
>> Looks like a nice project!
>>   
> Thanks! Sometimes I've got the idea half of the world's flight simulator 
> community is located somewhere around NL.

Hehe. There sure is a lot of activity here!

> Great. I'll sift through the header files and see what I can dig up. Is 
> there also a way to run FGFS as a pure flight dynamics server (thus 
> disabling the visual system)? That would reduce the strain on the FDM 
> system a bit and we might be able to make do with some "salvaged" PC's 
> for the numbers.

You can use JSBSim (one of our FDM's: http://www.jsbsim.org) in 
standalone mode, but I'm not sure it's already fit to drive FlightGear 
that way.

Erik

-- 
http://www.ehtw.info (Dutch)Future of Enschede Airport Twente
http://www.ehofman.com/fgfs FlightGear Flight Simulator

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Fwd: FlightGear network protocol

2006-06-30 Thread Robin van Steenbergen
Erik Hofman schreef:
> Hoi Robin,
> (...)
>   
> Looks like a nice project!
>   
Thanks! Sometimes I've got the idea half of the world's flight simulator 
community is located somewhere around NL.

> The documentation is in the source code. In your case it's located in
> FlightGear/src/Network/net_ctrls.hxx and/or 
> FlightGear/src/Network/net_fdm.hxx
>
> There is also a small example application located in 
> FlightGear/examples/netfdm
>
> Erik
>   
Great. I'll sift through the header files and see what I can dig up. Is 
there also a way to run FGFS as a pure flight dynamics server (thus 
disabling the visual system)? That would reduce the strain on the FDM 
system a bit and we might be able to make do with some "salvaged" PC's 
for the numbers.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Fwd: FlightGear network protocol

2006-06-30 Thread Joacim Persson
On Fri, 30 Jun 2006, Robin van Steenbergen wrote:

>> Main thing is that I can't find the documentation for the protocol used
>> by FlightGear for data I/O.

There are several protocols. In fact, infinitely many. ;)
You can define your own protocols with --generic (binary or text strings)

(And thus saving bandwidth by sending only the data you need for your
application.)

Docs/README.IO  and (for the generic interface) Protocols/ where there is a
README and some examples.

>> Note that everything is connected through a LAN and the ideal case
>> would be to use a multicast to connect some systems together, but
>> I'm still unsure whether that's possible. The packet format used by
>> FlightGear is the main concern right now.

...you don't actally need to complexityficationalise things with multicast
if the hosts are on the same network segment. A simple UDP-broadcast should
do the same thing there, unless you have fancy multicast-aware switches in
the lab and need to really push the network to its limits. But it seems
noone has added (nudge-nudge wink-wink, Robin ;) an option for setting the
broadcast option on sockets.  (except for --multiplay) This ought to be an
option for all udp protocols in FG imho. Well, at least for the --generic.
(set via a simple plib call in the right spot)

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Fwd: FlightGear network protocol

2006-06-30 Thread Erik Hofman

Hoi Robin,

Robin van Steenbergen wrote:
>> Hello people from the FlightGear team,
>>
>> Let me first introduce myself ;)
> 
>> I'm a home cockpit builder from Eindhoven, The Netherlands, and I'm  
>> researching the possibility of using FlightGear as a flight  
>> dynamics server for medium to large cockpit setups.
>> Amongst other things I'm developing my own instruments in OpenGL,  
>> and we're using FS2004 for the visual system (since the European  
>> scenery in FlightGear is still somewhat, absent.). Our goal would  
>> be to use the FlightGear system in an educational simulator for a  
>> Fokker F28 aircraft, at the school I'm about to attend (Aerospace  
>> Engineering in Delft).

Looks like a nice project!

>> The only hiccup in the system right now is tying every bit  
>> together. The instruments render perfectly and FS2004 works a treat  
>> as a visual display (like the PS1 guys do), but the network still  
>> causes some trouble. Main thing is that I can't find the  
>> documentation for the protocol used by FlightGear for data I/O. The  
>> Wiki has the docs for the HTTP and the telnet protocol, but pulling  
>> large amounts of data out of that is pretty impossible.
>> Note that everything is connected through a LAN and the ideal case  
>> would be to use a multicast to connect some systems together, but  
>> I'm still unsure whether that's possible. The packet format used by  
>> FlightGear is the main concern right now.

The documentation is in the source code. In your case it's located in
FlightGear/src/Network/net_ctrls.hxx and/or 
FlightGear/src/Network/net_fdm.hxx

There is also a small example application located in 
FlightGear/examples/netfdm

Erik
-- 
http://www.ehtw.info (Dutch)Future of Enschede Airport Twente
http://www.ehofman.com/fgfs FlightGear Flight Simulator

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Fwd: FlightGear network protocol

2006-06-30 Thread Robin van Steenbergen

> Hello people from the FlightGear team,
>
> Let me first introduce myself ;)

> I'm a home cockpit builder from Eindhoven, The Netherlands, and I'm  
> researching the possibility of using FlightGear as a flight  
> dynamics server for medium to large cockpit setups.
> Amongst other things I'm developing my own instruments in OpenGL,  
> and we're using FS2004 for the visual system (since the European  
> scenery in FlightGear is still somewhat, absent.). Our goal would  
> be to use the FlightGear system in an educational simulator for a  
> Fokker F28 aircraft, at the school I'm about to attend (Aerospace  
> Engineering in Delft).
> The only hiccup in the system right now is tying every bit  
> together. The instruments render perfectly and FS2004 works a treat  
> as a visual display (like the PS1 guys do), but the network still  
> causes some trouble. Main thing is that I can't find the  
> documentation for the protocol used by FlightGear for data I/O. The  
> Wiki has the docs for the HTTP and the telnet protocol, but pulling  
> large amounts of data out of that is pretty impossible.
> Note that everything is connected through a LAN and the ideal case  
> would be to use a multicast to connect some systems together, but  
> I'm still unsure whether that's possible. The packet format used by  
> FlightGear is the main concern right now.
>
> Regards,
>
> Robin van Steenbergen


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel