From 8743b3d0ebd8fb5a91158470896df5d8718bd134 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 2 Dec 2011 15:15:40 +1100 Subject: [PATCH] autotest: added scripts to start flightgear as a viewer --- Tools/autotest/fg_plane_view.sh | 28 ++++++++++++++++++++++++++++ Tools/autotest/fg_quad_view.sh | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100755 Tools/autotest/fg_plane_view.sh create mode 100755 Tools/autotest/fg_quad_view.sh diff --git a/Tools/autotest/fg_plane_view.sh b/Tools/autotest/fg_plane_view.sh new file mode 100755 index 0000000000..b70c4f5c58 --- /dev/null +++ b/Tools/autotest/fg_plane_view.sh @@ -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 \ + $* diff --git a/Tools/autotest/fg_quad_view.sh b/Tools/autotest/fg_quad_view.sh new file mode 100755 index 0000000000..9b1bb0dd9f --- /dev/null +++ b/Tools/autotest/fg_quad_view.sh @@ -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 \ + $*