>
> you should still look at Nasal. The event manager handles timers, and
> that's almost exclusively used by Nasal. Almost all the Nasal code runs in
> timers (except for property listeners). So read "events" as the total
> execution time for Nasal (timers).
> The timing data shown for the subsystem "nasal" only refers to the
> execution time of Nasal internal house keeping (i.e. some garbage
> collection), but not to the execution of actual Nasal code. Indeed
> misleading.
>
> The "events" subsystem is also showing a jitter on my machine (but not as
> bad)
>
Thanks for clarification.
So I got my hands on the C172p and ripped it apart until there were only 2
files left with minimal jsb configuration:
c172p-set.xml:
#############################
<?xml version="1.0"?>
<PropertyList>
<sim>
<description>Cessna 172P Skyhawk (1981 model)</description>
<author>David Megginson</author>
<status>production</status>
<flight-model archive="y">jsb</flight-model>
<aero archive="y">c172p</aero>
<model>
<path archive="y">Aircraft/c172p/Models/c172p.xml</path>
</model>
</sim>
</PropertyList>
############################
c172p.xml:
##############################
<?xml version="1.0"?>
<fdm_config name="c172" version="2.0" release="BETA">
<metrics>
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2"> 948 </ixx>
<iyy unit="SLUG*FT2"> 1346 </iyy>
<izz unit="SLUG*FT2"> 1967 </izz>
<ixy unit="SLUG*FT2"> -0 </ixy>
<ixz unit="SLUG*FT2"> -0 </ixz>
<iyz unit="SLUG*FT2"> -0 </iyz>
<emptywt unit="LBS"> 1500 </emptywt>
<location name="CG" unit="IN">
<x> 41 </x>
<y> 0 </y>
<z> 36.5 </z>
</location>
</mass_balance>
<ground_reactions>
<contact type="BOGEY" name="NOSE">
<location unit="IN">
<x> -6.8 </x>
<y> 0 </y>
<z> -19.5</z>
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 1800 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 600 </damping_coeff>
<max_steer unit="DEG"> 10 </max_steer>
<brake_group> NONE </brake_group>
<retractable>0</retractable>
</contact>
<contact type="BOGEY" name="LEFT_MAIN">
<location unit="IN">
<x> 58.2 </x>
<y> -43 </y>
<z> -15.5 </z>
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group> LEFT </brake_group>
<retractable>0</retractable>
</contact>
<contact type="BOGEY" name="RIGHT_MAIN">
<location unit="IN">
<x> 58.2 </x>
<y> 43 </y>
<z> -15.5 </z>
</location>
<static_friction> 0.8 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group> RIGHT </brake_group>
<retractable>0</retractable>
</contact>
</ground_reactions>
<aerodynamics>
</aerodynamics>
</fdm_config>
##############################
As you can see Nasal scripts aren't used at all.
But still the following message is displayed in the console every 7 seconds
or so:
Subsystem Timing Alert, subsystem "events": 28.2467ms
Subsystem Timing Alert, subsystem "events": 30.4909ms
As I said earlier the jitter is dependent on the flight model.
With jsbsim jitters are 6-8 seconds apart.
Jitters are more frequent with yasim (1 - 4 seconds).
With the UFO 21 seconds. (I was incorrect about the 41 seconds)
But why does it show up in the events subsystem?
Are flight-models interconnected with it somehow?
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel