rqt_bag.plugins.raw_view module
Defines a raw view: a TopicMessageView that displays the message contents in a tree.
- class rqt_bag.plugins.raw_view.MessageTree(*args: Any, **kwargs: Any)
Bases:
QTreeWidget
- get_all_items()
- get_item_path(item)
- property msg
- on_key_press(event)
- set_message(msg, msg_type_name)
Clears the tree view and displays the new message :param msg: message object to display in the treeview, ‘’msg’’
- traverse(root, function)
- class rqt_bag.plugins.raw_view.RawView(*args: Any, **kwargs: Any)
Bases:
TopicMessageView
- message_cleared()
Clear the currently viewed message (if any).
- message_viewed(*, entry, ros_message, msg_type_name, **kwargs)
View the message.
@param bag: the bag file the message is contained in @type bag: rosbag.Bag @param entry: the bag entry of the message to be viewed @type entry: tuple (id, topic_id, timestamp, data) @param ros_message: the (deserialized) ROS message @type msg: ROS message @param msg_type_name: the name of the message type @type string @param topic: the topic on which the message was recorded @type topic: string
- name = 'Raw'
Plugin to view a message in a treeview window The message is loaded into a custum treewidget