autotest: added scripts to start flightgear as a viewer

This commit is contained in:
Andrew Tridgell 2011-12-02 15:15:40 +11:00
parent 706c6c38fa
commit 76bb6b9aa8
2 changed files with 56 additions and 0 deletions

28
Tools/autotest/fg_plane_view.sh Executable file
View File

@ -0,0 +1,28 @@
#!/bin/sh
AUTOTESTDIR=$(dirname $0)
fgfs \
--native-fdm=socket,in,10,,5503,udp \
--fdm=external \
--aircraft=Rascal110-JSBSim \
--control=mouse \
--fg-aircraft="$AUTOTESTDIR/aircraft" \
--disable-intro-music \
--airport=YKRY \
--geometry=650x550 \
--bpp=32 \
--disable-anti-alias-hud \
--disable-hud-3d \
--disable-horizon-effect \
--timeofday=noon \
--disable-sound \
--disable-fullscreen \
--disable-random-objects \
--disable-ai-models \
--fog-disable \
--disable-specular-highlight \
--disable-skyblend \
--disable-anti-alias-hud \
--wind=0@0 \
$*

28
Tools/autotest/fg_quad_view.sh Executable file
View File

@ -0,0 +1,28 @@
#!/bin/sh
AUTOTESTDIR=$(dirname $0)
fgfs \
--native-fdm=socket,in,10,,5503,udp \
--fdm=external \
--aircraft=arducopter \
--control=mouse \
--fg-aircraft="$AUTOTESTDIR/aircraft" \
--disable-intro-music \
--airport=YKRY \
--geometry=650x550 \
--bpp=32 \
--disable-anti-alias-hud \
--disable-hud-3d \
--disable-horizon-effect \
--timeofday=noon \
--disable-sound \
--disable-fullscreen \
--disable-random-objects \
--disable-ai-models \
--fog-disable \
--disable-specular-highlight \
--disable-skyblend \
--disable-anti-alias-hud \
--wind=0@0 \
$*