X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=docs-mini%2FREADME.IO;h=38607916e13e32dc7193102e79e2504dc0694ee3;hb=0abca6be34fb14c6849405610db3bb6b000713b7;hp=61db580bd10e5778ec80f9783f99b1449ceaf0d1;hpb=5052f93ad46a56ff757cf1f0e25fe42634a290b7;p=flightgear.git diff --git a/docs-mini/README.IO b/docs-mini/README.IO index 61db580bd..38607916e 100644 --- a/docs-mini/README.IO +++ b/docs-mini/README.IO @@ -15,6 +15,50 @@ The general form of the command line option is as follows: hz = number of times to process channel per second (floating point values are ok. +Generic Communction: + + --generic=params + + With this option it is possible to output a pre-configured + ASCII string using a predefined seperator. The configuration is + defined in an XML file located in the Protocol directiory of + the base package. + + params can be: + serial port communication: serial,dir,hz,device,baud,protocol + socket communication: socket,dir,hz,machine,port,style,protocol + output to a file: file,dir,hz,filename,protocol + + + The confinfiguration file is defined as follows: + + + + + + + \n + + + speed + int + V=%d + /velocities/speed + 0.0 + 1.0 + + + + ... + + + ... + + + + + + Serial Port Communication: --nmea=serial,dir,hz,device,baud @@ -88,3 +132,26 @@ Moving Map Example: your current location. Atlas is a really nifty program with many neat options such as the ability to generate and use background bitmaps that show the terrain, cities, lakes, oceans, rivers, etc. + + +HTTP Server Example + + You can now interact with a running copy of FlightGear using your + web browser. You can view all the key internal variables and even + change the ones that are writable. If you have support in your + favorite [scripting] language for interacting with an http server, + you should be able to use this as a mechanism to interface your + script with FlightGear. + + Start up fgfs with the --httpd= option: + + For example: + + fgfs --httpd=5500 + + Now point your web browser to: + + http://host.domain.name:5500/ + + When a value is displayed, you can click on it to bring up a form + to assign it a new value.