[simpits-tech] (no subject)

Justin Messenger simpits-tech@simpits.org
Sun, 26 May 2002 20:26:11 -0700 (PDT)


--0-34324032-1022469971=:90981
Content-Type: text/plain; charset=us-ascii


I was looking at x-plane 6.0, it looks like it is really getting advanced.

 

Special For Cockpit Designers and HardCore Hackers:

New power in the data output screen allows UDP data to go OUT... but now X-Plane can also receive data IN so you can let your
cockpits or controller or whatever you want drive X-Plane! Here is a full description:

Go to the Data Output screen in the Settings menu. You can output all manner of data there using the internet UDP format.
If you hook up another computer to the computer running X-Plane by an ethernet cable, and give each machine an IP address,
you can use this UDP data to get all sorts of data from X-Plane, and send data (such as control deflections, radio frequencies,
etc) right back to X-Plane! You need only use the standard UDP format to send "structure" of info from your machine to the sim
and back that fit the following format:

struct data_struct{ // struct alignment is 4 bytes!
char label[5]; // struct header, must be string "data"
int index; // data description, is simply the index into the list of varables you can output, lsited in the Data Output screen in X-Plane.
float data[4];}; // the 4 numbers you see in the data output screen associated with that selection.. many outputs do not use all 4, though.

Simply go into X-Plane and make a selection, like Stick and Rudder, for data output. Send the data to the COCKPIT DISPLAY and UDP OUTPUT.
Close the window and you can now see the data displayed visually on the windshield. That exact same data is also being sent by UDP to the
IP address listed in the Internet Window in the Settings Menu, using the format of the structure above.
All numbers are in the format local to the machine you are running on.

In addition to receiving this data, your machine can send many of the variable right back to X-Plane! You could send radio frequencies
and joystick deflections, for example, to control X-Plane from your own hardware.



---------------------------------
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
--0-34324032-1022469971=:90981
Content-Type: text/html; charset=us-ascii

<P>I was looking at x-plane 6.0, it looks like it is really getting advanced.</P>
<P>&nbsp;</P>
<P align=center><B class=headline2>Special For Cockpit Designers and HardCore Hackers:</B></P>
<P align=left>New power in the data output screen allows UDP data to go OUT... but now X-Plane can also receive data IN so you can let your<BR>cockpits or controller or whatever you want drive X-Plane! Here is a full description:</P>
<P align=left>Go to the Data Output screen in the Settings menu. You can output all manner of data there using the internet UDP format.<BR>If you hook up another computer to the computer running X-Plane by an ethernet cable, and give each machine an IP address,<BR>you can use this UDP data to get all sorts of data from X-Plane, and send data (such as control deflections, radio frequencies,<BR>etc) right back to X-Plane! You need only use the standard UDP format to send "structure" of info from your machine to the sim<BR>and back that fit the following format:</P>
<P align=left>struct data_struct{ // struct alignment is 4 bytes!<BR>char label[5]; // struct header, must be string "data"<BR>int index; // data description, is simply the index into the list of varables you can output, lsited in the Data Output screen in X-Plane.<BR>float data[4];}; // the 4 numbers you see in the data output screen associated with that selection.. many outputs do not use all 4, though.</P>
<P align=left>Simply go into X-Plane and make a selection, like Stick and Rudder, for data output. Send the data to the COCKPIT DISPLAY and UDP OUTPUT.<BR>Close the window and you can now see the data displayed visually on the windshield. That exact same data is also being sent by UDP to the<BR>IP address listed in the Internet Window in the Settings Menu, using the format of the structure above.<BR>All numbers are in the format local to the machine you are running on.</P>
<P align=left>In addition to receiving this data, your machine can send many of the variable right back to X-Plane! You could send radio frequencies<BR>and joystick deflections, for example, to control X-Plane from your own hardware.</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://rd.yahoo.com/welcome/*http://fifaworldcup.yahoo.com">Yahoo!</a> - Official partner of 2002 FIFA World Cup
--0-34324032-1022469971=:90981--