#==============================================================================
#
# panel.dat: instrument panel config file
#
# Version: $Id: panel.dat,v 1.9 2007-12-13 20:39:04 thomasse Exp $
#
# This file is part of the Silent Wings Soaring simulator.
#
#------------------------------------------------------------------------------
# Copyright (c) 1999 Thomas E. Sevaldrud <tse@math.sintef.no>
#==============================================================================


#
# Altimeter (meters)
#
altimeter {
   file     = altimeter.gng
   units    = METRIC
   pos      = [ 0.61 -0.2 -0.18 ]
   width    = 0.07
   height   = 0.07
}

#
# Altimeter (feet)
#
altimeter {
   file     = altimeter_feet.gng
   units    = IMPERIAL
   pos      = [ 0.61 -0.2 -0.18 ]
   width    = 0.07
   height   = 0.07
}

#
# Airspeed Indicator (Km/h)
#
airspeed {
   file      = grob_airspeed.gng
   pos       = [ 0.61 -0.38 -0.18 ]
   units     = METRIC
   width     = 0.07
   height    = 0.07
   args      = [ 0 40 60 100 150 200 250 300 ]
   vals      = [ 0 45 90 180 270 360 410 520 ]
   min_speed = 0.0
   max_speed = 300.0
}

#
# Airspeed Indicator (Kts)
#
airspeed {
   file      = grob_airspeed_kts.gng
   pos       = [ 0.61 -0.38 -0.18 ]
   units     = IMPERIAL
   width     = 0.07
   height    = 0.07
   args      = [ 0 20 40  60  80  100 120 140 160 ]
   vals      = [ 0 45 113 190 261 325 385 435 492 ]
   min_speed = 0.0
   max_speed = 160.0
}

#
# Variometer (m/s)
#
lnav_vario {
   file      = lnav_vario.gng
   pos       = [ 0.61 -0.2 -0.1 ]
   units     = METRIC
   width     = 0.07
   height    = 0.07
   args      = [ -5.0 0 5.0 ]
   vals      = [ -125 0 125 ]
   max_sink  = 5.0
   max_lift  = 5.0
   te_comp   = 2.5
   sound     = vario.wav
}

#
# Variometer (kts)
#
lnav_vario {
   file      = lnav_vario_kts.gng
   pos       = [ 0.61 -0.2 -0.1 ]
   units     = IMPERIAL
   width     = 0.07
   height    = 0.07
   args      = [ -10.0 0 10.0 ]
   vals      = [ -125 0 125 ]
   max_sink  = 10.0
   max_lift  = 10.0
   te_comp   = 2.5
   sound     = vario.wav
}

#
# Yaw string
#
yaw_string {
   file      = yaw_string.gng
   num_segs  = 5
   pos       = [ 0.1 0.0 -0.36 ]
   rot_z     = 180
   rot_y     = 5
   parent    = canopy_glass_xfm
   length    = 0.1
}

g_meter {
   file      = g-meter.gng
   pos       = [ 1.92 -0.01 0.088 ]
   width     = 0.065
   height    = 0.068
   args      = [ -3.0 1 5.0 ]
   vals      = [ -180 0 180 ]
   max       =  5.0
   min       = -3.0
}

compass {
   file     = compass.gng
   parent   = compass_xfm
#   pos      = [ 0.59 0.0 -0.5 ]
   pos      = [ 0.015 0.0 0.0 ]
   size     = 0.06
}

#lnav {
#   file     = lnav.gng
#   pos      = [ 0.61 -0.29 -0.18 ]
#   width    = 0.07
#   height   = 0.07
#   screen_pos    = [ -0.001 0.0 0.0 ]
#   screen_width  = 0.042
#   screen_height = 0.032
#}

attitude_indicator {
   file     = attitude.gng
   pos      = [ 0.61 -0.29 -0.18 ]
   pitch_scale = 0.03
   min_pitch   = -30
   max_pitch   =  30
   width    = 0.07
   height   = 0.07
}

gps-nav {
   file     = gps-nav.gng
   pos      = [ 0.61 -0.29 -0.1 ]
   width    = 0.06
   height   = 0.06
   screen_pos    = [ -0.001 0.0 0.0 ]
   screen_width  = 0.047
   screen_height = 0.028
}

fuel {
   file      = fuel.gng
   pos       = [ 0.61 0.16 -0.1 ]
   width     = 0.07
   height    = 0.07
}

oil_temp {
   file      = oil_temp.gng
   pos       = [ 0.61 0.21 -0.1 ]
   width     = 0.07
   height    = 0.07
   min_temp  = 40.0
   max_temp  = 120.0
}

tachometer {
   file    = tacho_rotax.gng
   pos     = [ 0.61 0.17 -0.2 ]
   width   = 0.06
   height  = 0.06
   args    = [ 0 7000 ]
   vals    = [ 0 290 ]
   min_rpm = 0
   max_rpm = 7000
}
