As reported in a separate thread, I'm trying to understand what's causing the timing problems in FlightGear / PLIB CVS. Although I have a basic understanding of SGSubsystem, and SGSubsystemManager, there are a few things that seem to elude me. So, I just want to double check my assertions and ask a few questions.
I'm assuming SGSubSystemManager::update() is called once per frame, which basically ensures that each subsystem's update function is called once a frame, with delta_time since last update as argument. Within FlightGear, subsystems are created, named, and added inside src/Main/fg_init.cxx. Here we have code for the well know subsystems, added using a call to globals->add_subsystem. So far so good. What I don't understand yet is that I'm getting timing alerts in subsystems named "instrument8", "controller", "system1", and more, which I can't trace back anywhere in the source code. My question: Are these subsystems dynamically created using a nasal script, or an xml configuration file? If so, how can I relate these subsystems to nasal / xml code? If not, how does it work? Many thanks in advance. Cheers, Durk ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel