class documentation

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

Method __init__ No summary
Method callback 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, ...
Method custom_strify_message Undocumented
Instance Variable count Undocumented
Instance Variable done Undocumented
Instance Variable echo_all_topics Undocumented
Instance Variable field_filter Undocumented
Instance Variable filter_fn Undocumented
Instance Variable first Undocumented
Instance Variable fixed_numeric_width Undocumented
Instance Variable last_msg_eval Undocumented
Instance Variable last_topic Undocumented
Instance Variable max_count Undocumented
Instance Variable msg_eval Undocumented
Instance Variable offset_time Undocumented
Instance Variable plot Undocumented
Instance Variable prefix Undocumented
Instance Variable sep Undocumented
Instance Variable str_fn Undocumented
Instance Variable suffix Undocumented
Instance Variable topic Undocumented
Instance Variable value_transform Undocumented
def __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):
Parameters
topicUndocumented
msg_evalUndocumented
plotif True, echo in plotting-friendly format (csv), bool
filter_fnfunction that evaluates to True if message is to be echo'd, fn(topic, msg)
echo_clearUndocumented
echo_all_topics(optional) if True, echo all messages in bag, bool
offset_time(optional) if True, display time as offset from current time, bool
countnumber of messages to echo, None for infinite, int
field_filter_fnfilter the fields that are stringified for Messages, fn(Message)->iter(str)
fixed_numeric_widthfixed width for numeric values, None for automatic, int
value_transform_fntransform the values of Messages, fn(Message)->Message
def 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, genpy.Time

def custom_strify_message(self, val, indent='', time_offset=None, current_time=None, field_filter=None, type_information=None, fixed_numeric_width=None, value_transform=None):

Undocumented

count: int =

Undocumented

done: bool =

Undocumented

echo_all_topics =

Undocumented

field_filter =

Undocumented

filter_fn =

Undocumented

first: bool =

Undocumented

fixed_numeric_width =

Undocumented

last_msg_eval =

Undocumented

last_topic =

Undocumented

max_count =

Undocumented

msg_eval =

Undocumented

offset_time =

Undocumented

plot =

Undocumented

prefix: str =

Undocumented

sep: str =

Undocumented

str_fn =

Undocumented

suffix =

Undocumented

topic =

Undocumented

value_transform =

Undocumented