Public Member Functions | Public Attributes
ros_topic_listener.CallbackEcho Class Reference

List of all members.

Public Member Functions

def __init__
def callback
def custom_strify_message

Public Attributes

 count
 done
 echo_all_topics
 field_filter
 filter_fn
 first
 last_msg_eval
 last_topic
 max_count
 msg_eval
 offset_time
 plot
 prefix
 sep
 str_fn
 suffix
 topic

Detailed Description

Callback instance that can print callback data in a variety of
formats. Used for all variants of rostopic echo

Definition at line 187 of file ros_topic_listener.py.


Constructor & Destructor Documentation

def ros_topic_listener.CallbackEcho.__init__ (   self,
  topic,
  msg_eval = None,
  plot = False,
  filter_fn = None,
  echo_clear = False,
  echo_all_topics = False,
  offset_time = False,
  count = None,
  field_filter_fn = None 
)
: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)``

Definition at line 193 of file ros_topic_listener.py.


Member Function Documentation

def ros_topic_listener.CallbackEcho.callback (   self,
  data,
  callback_args,
  current_time = None 
)
Callback to pass to rospy.Subscriber or to call
manually. rospy.Subscriber constructor must also pass in the
topic name as an additional arg
:param data: Message
:param topic: topic name, ``str``
:param current_time: override calculation of current time, :class:`genpy.Time`

Definition at line 249 of file ros_topic_listener.py.

def ros_topic_listener.CallbackEcho.custom_strify_message (   self,
  val,
  indent = '',
  time_offset = None,
  current_time = None,
  field_filter = None,
  type_information = None 
)

Definition at line 243 of file ros_topic_listener.py.


Member Data Documentation

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.

Definition at line 200 of file ros_topic_listener.py.


The documentation for this class was generated from the following file:


scriptable_monitor
Author(s):
autogenerated on Wed Aug 26 2015 16:21:30