-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfgdemo1.conf
43 lines (37 loc) · 1.12 KB
/
fgdemo1.conf
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# define aircraft model
AIRCRAFT_MODEL=F-35B
# flight dynamics model
FLIGHT_MODEL=org.flightgear.fgaddon.stable_2020.F-35B-yasim
# initial settings
ALTITUDE=15000
THROTTLE_SETTING=1
SPEED=400
# autopilot settings
AP_HEADING=180
AP_SPEED=250
AP_ALTITUDE=5000
# Langley AFB lat/lon
LAT_DEGREES=37.0835
LON_DEGREES=-76.3592
# simulated time of day
TIMEOFDAY=afternoon
# Additional model specific parameters to pass to FlightGear. Make sure
# F-35 is started in the air, engines running, and auto-pilot configured
EXTRA_ARGS=(
"--in-air"
"--lat=$LAT_DEGREES"
"--lon=$LON_DEGREES"
"--altitude=$ALTITUDE"
"--heading=0"
"--roll=0"
"--pitch=0"
"--vc=$SPEED"
"--prop:/autopilot/settings/heading-bug-deg=$AP_HEADING"
"--prop:/autopilot/settings/target-speed-kt=$AP_SPEED"
"--prop:/autopilot/settings/target-altitude-ft=$AP_ALTITUDE"
"--prop:/autopilot/locks/altitude=altitude-hold"
"--prop:/autopilot/locks/heading=dg-heading-hold"
"--prop:/autopilot/locks/speed=speed-with-throttle"
"--prop:/engines/engine[0]/running=true"
"--prop:/engines/engine[0]/throttle=$THROTTLE_SETTING"
)