File: README

package info (click to toggle)
flightgear 1:2016.4.4+dfsg-3+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 48,512 kB
  • ctags: 71,727
  • sloc: cpp: 195,395; ansic: 177,152; sh: 13,661; perl: 4,475; python: 2,381; asm: 642; makefile: 398; java: 314; xml: 85
file content (26 lines) | stat: -rw-r--r-- 990 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
David Calkins writes:

I've attached my sample code which works with FlightGear v0.9.3.  Perhaps this
will be of some help to others.  I'm running FG with the launcher wizard, which
uses the below command line options.  The sample code I attached just rolls
back and forth � 5 degrees so it isn't that interesting, but it works.

C:\Program Files\FlightGear-0.9.3\bin\Win32\fgfs.exe
  --fg-root=C:\Program Files\FlightGear-0.9.3\data
  --fg-scenery=C:\Program Files\FlightGear-0.9.3\data\Scenery
  --aircraft=c172
  --control=joystick
  --disable-random-objects
  --fdm=external
  --vc=0
  --bpp=32
  --timeofday=noon
  --native-fdm=socket,in,1,,5500,udp

One point of interest is the cur_time field in the FGNetFDM structure.
I noticed that it didn't seem to matter what time I passed in.  In looking at
the source, it appears this field is ignored completely.  So, it looks like the
time of day would need to be determined by the command line parameters used to
launch FlightGear.

Dave