Howto:Reset/re-init Troubleshooting: Difference between revisions

Jump to navigation Jump to search
m
→‎Nasal dialog: shorten & simplify code (untested for now)
m (→‎Nasal dialog: micro-optimization, use a separate column for the status text, so that we can use hide/show at a later time)
m (→‎Nasal dialog: shorten & simplify code (untested for now))
Line 462: Line 462:
# used for dealing with subsystems differently (think Nasal depending on events, sound/tilemgr being threaded etc).
# used for dealing with subsystems differently (think Nasal depending on events, sound/tilemgr being threaded etc).
#  
#  
# NOTE: this must match $FG_SRC/Main/subsystemFactory.cxx, so you need to extend this  
# this must match $FG_SRC/Main/subsystemFactory.cxx, so you need to extend this  
# code if you are using this in conjunction with a topic branch like the FGPythonSys branch
# code if you are using this in conjunction with a topic branch like the FGPythonSys branch
#  
##
# TODO: it would make sense to add a dedicated list-subsystems to get a list of all supported systems !
# NOTE: in the current form of the script, this is a vector with hashes
# It seems we already have that in the form of the "performance monitor" subsystem
# that will be populated by briefly running the performance monitor
# i.e. we could temporarily enable that, gather a list of subsystems, and then disable it again
# with a name field containing the name of the subsystem
# as long as it is using the same names, that should actually work - and it would even work for
# and a status field pointing to the Canvas text node for showing active/inactive flags
# patched binaries (e.g. FGPythonSys) without requiring modifications to the vector below
# just some food for thought ... concept preserved at: http://wiki.flightgear.org/Howto_talk:Reset/re-init_Troubleshooting#Automatic_subsystem_list_retrieval
var Tests_old = [
    { name: "sound" },
    { name: "prop-interpolator" },
    { name: "properties" },
    { name: "http" },
    { name: "flight" },
    { name: "environment" },
    { name: "ephemeris" },
    { name: "systems" },
    { name: "instrumentation" },
    { name: "hud" },
    { name: "cockpit-displays" },
    { name: "route-manager" },
    { name: "io" },
    { name: "logger" },
    { name: "gui" },
    { name: "Canvas" },
    { name: "CanvasGUI" },
    { name: "ATC" },
    { name: "mp" },
    { name: "ai-model" },
    { name: "submodel-mgr" },
    { name: "traffic-manager" },
    { name: "controls" },
    { name: "http" },
    { name: "input" },
    { name: "replay" },
    { name: "history" },
    { name: "voice" },
    { name: "fgcom" },
    { name: "lighting" },
    { name: "aircraft-model" },
    { name: "model-manager" },
    { name: "view-manager" }
]; # vector with tests
 
var Tests = [];
var Tests = [];


Navigation menu