Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread Buchanan, Stuart

--- Ryan Kellar  wrote:

snip

 My
 questions are is there a way to display a simultaneous panoramic view
 using
 the three computers each running an instance of FlightGear and if so,
 

Have a look at the I/O subsystem - there is a README.IO file somewhere in
the installation. You can write the FG state information in a native
format to a socket on your master computer, then read the socket on the
slave display computers.

-Stuart



___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread Curtis L. Olson

Ryan Kellar wrote:

I am new to using FlightGear and am currently working on a project 
that involves a flight simulator with a Cessna cockpit and a screen 
that is divided into 3 sections in sort of a wrap around(not fully, 
but tilted to give a more panoramic view. Each board is displayed 
using a different projector run by three separate computers. Also, the 
cockpit controls are being read in as voltages to a separate computer. 
I am completely new to flight simulation and this software, and have 
some C++ software experience but never any software hardware 
integration so I’m a little lost. My questions are is there a way to 
display a simultaneous panoramic view using the three computers each 
running an instance of FlightGear and if so, how?




Yes, mutliple displays are well supported in FlightGear. There is a 
document called README.IO that touches on this. If you need more help, 
just ask. Note to document writers: this might be a good subject to add 
to the manual.


Also, how can I go about reading in the cockpit controls(which are now 
being read as voltage values) into the program to control the airplane?




If your hardware already exists, then this is something you will likely 
have to figure out on your own. You will need to write some glue code 
that can read the voltage values and translate them into a control input 
position. FlightGear uses normalized control input positions so yoke, 
wheel, rudder pedals, etc. are mapped to [-1, 1]. Throttle, flaps, 
mixture, etc. are mapped to [0,1]. Once you are able to read in your 
voltage values and normalize them, it is pretty straightforward to send 
that data over to FlightGear. It's possible to embed some code into 
FlightGear, or you could just write a separate application that sends 
the data to FG over the network.


Regards,

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread John Wojnaroski



Curtis L. Olson wrote:


Ryan Kellar wrote:

I am new to using FlightGear and am currently working on a project 
that involves a flight simulator with a Cessna cockpit and a screen 
that is divided into 3 sections in sort of a wrap around(not fully, 
but tilted to give a more panoramic view. Each board is displayed 
using a different projector run by three separate computers. Also, 
the cockpit controls are being read in as voltages to a separate 
computer. I am completely new to flight simulation and this software, 
and have some C++ software experience but never any software hardware 
integration so I’m a little lost. My questions are is there a way to 
display a simultaneous panoramic view using the three computers each 
running an instance of FlightGear and if so, how?




Yes, mutliple displays are well supported in FlightGear. There is a 
document called README.IO that touches on this. If you need more help, 
just ask. Note to document writers: this might be a good subject to 
add to the manual.


Also, how can I go about reading in the cockpit controls(which are 
now being read as voltage values) into the program to control the 
airplane?




How are the voltages being read?  Is there some sort of circuit and/or 
board in your computer that senses the voltage?


A little more info on that topic would be helpful.



If your hardware already exists, then this is something you will 
likely have to figure out on your own. You will need to write some 
glue code that can read the voltage values and translate them into a 
control input position. FlightGear uses normalized control input 
positions so yoke, wheel, rudder pedals, etc. are mapped to [-1, 1]. 
Throttle, flaps, mixture, etc. are mapped to [0,1]. Once you are able 
to read in your voltage values and normalize them, it is pretty 
straightforward to send that data over to FlightGear. It's possible to 
embed some code into FlightGear, or you could just write a separate 
application that sends the data to FG over the network. 



If you need some electronics to convert from analog to digital there are 
a number of products/boards  to do the trick.
Phidget now offers some boards that are supposed to work with Linux, you 
might check out www.opencockpits.org over in Spain (these are MS Windows 
based ATM), or www.lfstech.com (linux based) for more info on the 
topic.  As Curt noted, you will then need some code to take the digital 
output of the boards and input that to the FG program.


Regards
John W.


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread John Wojnaroski



Curtis L. Olson wrote:


Ryan Kellar wrote:

I am new to using FlightGear and am currently working on a project 
that involves a flight simulator with a Cessna cockpit and a screen 
that is divided into 3 sections in sort of a wrap around(not fully, 
but tilted to give a more panoramic view. Each board is displayed 
using a different projector run by three separate computers. Also, 
the cockpit controls are being read in as voltages to a separate 
computer. I am completely new to flight simulation and this software, 
and have some C++ software experience but never any software hardware 
integration so I’m a little lost. My questions are is there a way to 
display a simultaneous panoramic view using the three computers each 
running an instance of FlightGear and if so, how?



OK, had an interrupt.  To finish the topic...

If the separate computer has the prerequiste interface hardware you have 
a couple of options:


1) Modify the FG source code to read and convert the voltage values into 
control inputs and run that as the primary server displaying the center 
screen and run the left and right as slaves as discussed in the README docs,


2) Connect the fourth machine with the control inputs via a LAN using 
one of the socket protocol defined in the Network directory, or


3) Define your own protocol and socket code. The existing source 
provides a fairly good template and structure to help you.


Regards
John W.



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread Buchanan, Stuart
--- Curtis L. Olson  wrote:
 Yes, mutliple displays are well supported in FlightGear. There is a 
 document called README.IO that touches on this. If you need more help, 
 just ask. Note to document writers: this might be a good subject to add 
 to the manual.

Hint taken ;). I was thinking of writing a section on various features
such as the Nimitz, multiplayer and multiple displays anyway. 

Unfortunately I only have a single PC, so I'll be writing blind. Would you
be able to review my text for me?

-Stuart





___ 
WIN ONE OF THREE YAHOO! VESPAS - Enter now! - 
http://uk.cars.yahoo.com/features/competitions/vespa.html

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread Curtis L. Olson

Buchanan, Stuart wrote:


--- Curtis L. Olson  wrote:
 

Yes, mutliple displays are well supported in FlightGear. There is a 
document called README.IO that touches on this. If you need more help, 
just ask. Note to document writers: this might be a good subject to add 
to the manual.
   



Hint taken ;). I was thinking of writing a section on various features
such as the Nimitz, multiplayer and multiple displays anyway. 


Unfortunately I only have a single PC, so I'll be writing blind. Would you
be able to review my text for me?
 



Adding sections for some of our more interesting or more asked about 
features would be great.


Certainly I would be happy to review your text ...

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread AJ MacLeod
On Tuesday 29 November 2005 21:41, Buchanan, Stuart wrote:
 Hint taken ;). I was thinking of writing a section on various features
 such as the Nimitz, multiplayer and multiple displays anyway.

 Unfortunately I only have a single PC, so I'll be writing blind. Would you
 be able to review my text for me?

Rather than re-inventing the wheel, why not take the carrier-howto and 
multiplayer howto from the wiki and include them (editing as you see fit for 
style etc)?

You don't need more than one PC to experience multiplayer of course, but I'm 
sure you knew that.

A section on multiple displays would be of interest to quite a few people I 
think - it comes up now and again on the IRC channel and isn't something I 
have experience of with FGFS.

AJ

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread Buchanan, Stuart
--- AJ MacLeod  wrote:
 Rather than re-inventing the wheel, why not take the carrier-howto and 
 multiplayer howto from the wiki and include them (editing as you see fit
 for 
 style etc)?

Absolutely - I just had a look at the Carrier HowTo on the Wiki and it
looks like exactly what is required. I assume no-one will mind.

Of course, any changes to the Getting Started Guide will only be present
in the next release for most users, so we'll have a fair few questions
until then...

-Stuart





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread AJ MacLeod
On Tuesday 29 November 2005 22:32, Buchanan, Stuart wrote:
 Absolutely - I just had a look at the Carrier HowTo on the Wiki and it
 looks like exactly what is required. I assume no-one will mind.

Yes, no-one is fine with that ;-)  I don't think Vivian is likely to sue you 
for breach of copyright over his additions either...

 Of course, any changes to the Getting Started Guide will only be present
 in the next release for most users, so we'll have a fair few questions
 until then...

Of course - which is where the Wiki comes in as I see it.  Up to date 
information that's very easily kept that way... Not a replacement for the 
conventional docs, but I do feel the link on the FG website could be slightly 
more prominent - even folk who were actively looking for it have failed to 
find it.

Cheers,

AJ

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-29 Thread Vassilii Khachaturov
 Of course, any changes to the Getting Started Guide will only be present
 in the next release for most users, so we'll have a fair few questions
 until then...

It's safe to assume that if users are smart enough to RTFM and see the
local docs folder, then most of them will also check the up-to-date
doc on the flightgear org site, provided the local version has
a big notice that the most updated version is always to be found there.
(Same as with HOWTOs). Another question is to how to drive the users
to the guide in the first place, local or remote copy :-)

V


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Displaying Multiple Views/Using cockpit controls

2005-11-28 Thread Ryan Kellar








Hi,

I am new to using FlightGear and am currently working on a
project that involves a flight simulator with a Cessna cockpit and a screen
that is divided into 3 sections in sort of a wrap around(not fully, but tilted
to give a more panoramic view. Each board is displayed using a different
projector run by three separate computers. Also, the cockpit controls are
being read in as voltages to a separate computer. I am completely new to
flight simulation and this software, and have some C++ software experience but
never any software hardware integration so Im a little lost. My
questions are is there a way to display a simultaneous panoramic view using the
three computers each running an instance of FlightGear and if so, how? Also,
how can I go about reading in the cockpit controls(which are now being read as
voltage values) into the program to control the airplane? If any additional
information is needed please let me know as any help would be great.

Thanks in advance.

-Ryan






___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d