--generic=params
With this option it is possible to output a pre-configured
- ASCII string using a predefined separator. The configuration is
- defined in an XML file located in the Protocol directory of
- the base package.
+ ASCII string or binary sequence using a predefined separator.
+ The configuration is defined in an XML file located in the
+ Protocol directory 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
- i/o to a file: file,dir,hz,filename,protocol[,repeat[,count]]
+ output to a file: file,dir,hz,filename,protocol
See README.protocol for how to define a generic protocol.
--native=file,in,10,flight1.fgfs --fdm=external
- You can make the replay from a file loop back to the beginning
- when it reaches the end of the file with the "repeat" flag:
-
- --generic=file,in,20,flight.out,playback,repeat
-
- With a numeric argument, FlightGear will exit after that number of repeats.
- --generic=file,in,20,flight.out,playback,repeat,5
-
Moving Map Example: