__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,
fixed_numeric_width=None,
value_transform_fn=None)
(Constructor)
| source code
|
:param plot: if ``True``, echo in plotting-friendly format (csv),
``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 stringified
for Messages, ``fn(Message)->iter(str)`` :param fixed_numeric_width:
fixed width for numeric values, ``None`` for automatic, ``int`` :param
value_transform_fn: transform the values of Messages,
``fn(Message)->Message``
- Overrides:
object.__init__
|