Package rospy :: Module core :: Class LoggingThrottle

Class LoggingThrottle

source code

object --+
         |
        LoggingThrottle

Instance Methods
 
__call__(self, caller_id, period)
Do logging specified message periodically.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  last_logging_time_table = {}
Properties

Inherited from object: __class__

Method Details

__call__(self, caller_id, period)
(Call operator)

source code 
Do logging specified message periodically.

- caller_id (str): Id to identify the caller
- logging_func (function): Function to do logging.
- period (float): Period to do logging in second unit.
- msg (object): Message to do logging.