Difference between revisions of "Module/System monitor"

From PaparazziUAV
Jump to navigation Jump to search
(created page for sys_mon module, with only some basic info)
 
(add note that the sys_mon module has to run at the full main freq)
Line 1: Line 1:
<categorytree style="float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;" mode=pages>Modules</categorytree>
<categorytree style="float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;" mode=pages>Modules</categorytree>
The sys_mon module gives you some information about the timing of the periodic tasks. It will give you a rough average (over 1 sec) cpu load, perdiodic time, periodic cycle time and min max of these. So your max should not be over the periodic time, otherwise in at least one cycle it took longer to calculate everything and the next one was slightly delayed...
The sys_mon module gives you some information about the timing of the periodic tasks. It will give you a rough average (over 1 sec) cpu load, perdiodic time, periodic cycle time and min max of these. So your max should not be over the periodic time, otherwise in at least one cycle it took longer to calculate everything and the next one was slightly delayed...
'''The sys_mon module has to run at the full main frequency!'''
'''So either don't specify a ''[[Modules#In_the_airframe_file|main_freq]]'' parameter like in the example below or set your actual main frequency'''


To use it load the sys_mon module:
To use it load the sys_mon module:

Revision as of 18:10, 13 November 2012

The sys_mon module gives you some information about the timing of the periodic tasks. It will give you a rough average (over 1 sec) cpu load, perdiodic time, periodic cycle time and min max of these. So your max should not be over the periodic time, otherwise in at least one cycle it took longer to calculate everything and the next one was slightly delayed...

The sys_mon module has to run at the full main frequency!

So either don't specify a main_freq parameter like in the example below or set your actual main frequency

To use it load the sys_mon module:

File: conf/airframes/myplane.xml
  <modules>
    ...
    <load name="sys_mon.xml"/>
  </modules>