__init__(self,
topic,
msg_eval,
plot=False,
filter_fn=None,
echo_clear=False,
echo_all_topics=False,
offset_time=False,
count=None,
field_filter_fn=None)
(Constructor)
| source code
|
:param plot: if ``True``, echo in plotting-friendly format, ``bool``
:param filter_fn: function that evaluates to ``True`` if message is to be
echo'd, ``fn(topic, msg)`` :param echo_all_topics: (optional) if
``True``, echo all messages in bag, ``bool`` :param offset_time:
(optional) if ``True``, display time as offset from current time,
``bool`` :param count: number of messages to echo, ``None`` for infinite,
``int`` :param field_filter_fn: filter the fields that are strified for
Messages, ``fn(Message)->iter(str)``
- Overrides:
object.__init__
|