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 7 of file _ControllerStatistics.py.


Member Function Documentation

def pr2_mechanism_msgs::msg::_ControllerStatistics::ControllerStatistics::__init__ (   self,
  args,
  kwds 
)
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 44 of file _ControllerStatistics.py.

def pr2_mechanism_msgs::msg::_ControllerStatistics::ControllerStatistics::_get_types (   self  )  [private]
internal API method

Definition at line 87 of file _ControllerStatistics.py.

def pr2_mechanism_msgs::msg::_ControllerStatistics::ControllerStatistics::deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
@param str: byte array of serialized message
@type  str: str

Definition at line 108 of file _ControllerStatistics.py.

def pr2_mechanism_msgs::msg::_ControllerStatistics::ControllerStatistics::deserialize_numpy (   self,
  str,
  numpy 
)
unpack serialized message in str into this message instance using numpy for array types
@param str: byte array of serialized message
@type  str: str
@param numpy: numpy python module
@type  numpy: module

Definition at line 164 of file _ControllerStatistics.py.

def pr2_mechanism_msgs::msg::_ControllerStatistics::ControllerStatistics::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 93 of file _ControllerStatistics.py.

def pr2_mechanism_msgs::msg::_ControllerStatistics::ControllerStatistics::serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
@param buff: buffer
@type  buff: StringIO
@param numpy: numpy python module
@type  numpy module

Definition at line 147 of file _ControllerStatistics.py.


Member Data Documentation

Definition at line 41 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 11 of file _ControllerStatistics.py.

Definition at line 10 of file _ControllerStatistics.py.

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

Definition at line 8 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 42 of file _ControllerStatistics.py.

Definition at line 9 of file _ControllerStatistics.py.

Definition at line 68 of file _ControllerStatistics.py.

Definition at line 70 of file _ControllerStatistics.py.

Definition at line 62 of file _ControllerStatistics.py.

Definition at line 74 of file _ControllerStatistics.py.

Definition at line 66 of file _ControllerStatistics.py.

Definition at line 76 of file _ControllerStatistics.py.

Definition at line 64 of file _ControllerStatistics.py.

Definition at line 72 of file _ControllerStatistics.py.


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


pr2_mechanism_msgs
Author(s): Stuart Glaser sglaser@willowgarage.com, Wim Meeussen
autogenerated on Fri Jan 11 09:14:51 2013