All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
pr2_mechanism_msgs.msg._ControllerStatistics.ControllerStatistics Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 max_time
 mean_time
 name
 num_control_loop_overruns
 running
 time_last_control_loop_overrun
 timestamp
 variance_time

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['name','timestamp','running','max_time','mean_time','variance_time','num_control_loop_overruns','time_last_control_loop_overrun']
string _full_text
 _has_header = False
string _md5sum = "6d15d137eea402018e3c7c8dbecd4b95"
list _slot_types = ['string','time','bool','duration','duration','duration','int32','time']
string _type = "pr2_mechanism_msgs/ControllerStatistics"

Detailed Description

Definition at line 9 of file _ControllerStatistics.py.


Constructor & Destructor Documentation

Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes.  You cannot mix in-order arguments and keyword arguments.

The available fields are:
   name,timestamp,running,max_time,mean_time,variance_time,num_control_loop_overruns,time_last_control_loop_overrun

:param args: complete set of field values, in .msg order
:param kwds: use keyword arguments corresponding to message field names
to set specific fields.

Definition at line 46 of file _ControllerStatistics.py.


Member Function Documentation

internal API method

Definition at line 89 of file _ControllerStatistics.py.

unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 112 of file _ControllerStatistics.py.

unpack serialized message in str into this message instance using numpy for array types
:param str: byte array of serialized message, ``str``
:param numpy: numpy python module

Definition at line 171 of file _ControllerStatistics.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 95 of file _ControllerStatistics.py.

serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module

Definition at line 153 of file _ControllerStatistics.py.


Member Data Documentation

Definition at line 43 of file _ControllerStatistics.py.

Initial value:
"""# This message contains the state of one realtime controller
# that was spawned in pr2_mechanism_control

# the name of the controller
string name

# the time at which these controller statistics were measured
time timestamp

# bool that indicates if the controller is currently
# in a running or a stopped state
bool running

# the maximum time the update loop of the controller ever needed to complete
duration max_time

# the average time the update loop of the controller needs to complete. 
# the average is computed in a sliding time window.
duration mean_time

# the variance on the time the update loop of the controller needs to complete.
# the variance applies to a sliding time window.
duration variance_time

# the number of times this controller broke the realtime loop
int32 num_control_loop_overruns

# the timestamp of the last time this controller broke the realtime loop
time time_last_control_loop_overrun
"""

Definition at line 13 of file _ControllerStatistics.py.

Definition at line 12 of file _ControllerStatistics.py.

string pr2_mechanism_msgs::msg::_ControllerStatistics.ControllerStatistics::_md5sum = "6d15d137eea402018e3c7c8dbecd4b95" [static, private]

Definition at line 10 of file _ControllerStatistics.py.

list pr2_mechanism_msgs::msg::_ControllerStatistics.ControllerStatistics::_slot_types = ['string','time','bool','duration','duration','duration','int32','time'] [static, private]

Definition at line 44 of file _ControllerStatistics.py.

Definition at line 11 of file _ControllerStatistics.py.

Definition at line 58 of file _ControllerStatistics.py.

Definition at line 58 of file _ControllerStatistics.py.

Definition at line 58 of file _ControllerStatistics.py.

Definition at line 58 of file _ControllerStatistics.py.

Definition at line 58 of file _ControllerStatistics.py.

Definition at line 58 of file _ControllerStatistics.py.

Definition at line 58 of file _ControllerStatistics.py.

Definition at line 58 of file _ControllerStatistics.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


pr2_mechanism_msgs
Author(s): Stuart Glaser sglaser@willowgarage.com, Wim Meeussen
autogenerated on Sat Nov 17 2012 19:53:40