BagTimeline contains bag files, all information required to display the bag data visualization on the screen Also handles events
Definition at line 52 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.__init__ | ( | self, | |
context, | |||
publish_clock | |||
) |
:param context: plugin context hook to enable adding rqt_bag plugin widgets as ROS_GUI snapin panes, ''PluginContext''
Definition at line 60 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._create_player | ( | self | ) | [private] |
Definition at line 537 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._export_region | ( | self, | |
path, | |||
topics, | |||
start_stamp, | |||
end_stamp | |||
) | [private] |
Starts a thread to save the current selection to a new bag file :param path: filesystem path to write to, ''str'' :param topics: topics to write to the file, ''list(str)'' :param start_stamp: start of area to save, ''rospy.Time'' :param end_stamp: end of area to save, ''rospy.Time''
Definition at line 398 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._get_end_stamp | ( | self | ) | [private] |
:return: last stamp in the bags, ''rospy.Time''
Definition at line 195 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._get_play_all | ( | self | ) | [private] |
Definition at line 559 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._get_play_speed | ( | self | ) | [private] |
Playhead.
Definition at line 762 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._get_start_stamp | ( | self | ) | [private] |
:return: first stamp in the bags, ''rospy.Time''
Definition at line 183 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._get_topics | ( | self | ) | [private] |
:return: sorted list of topic names, ''list(str)''
Definition at line 207 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._get_topics_by_datatype | ( | self | ) | [private] |
:return: dict of list of topics for each datatype, ''dict(datatype:list(topic))''
Definition at line 218 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._message_recorded | ( | self, | |
topic, | |||
msg, | |||
t | |||
) | [private] |
Definition at line 696 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._run_export_region | ( | self, | |
export_bag, | |||
topics, | |||
start_stamp, | |||
end_stamp, | |||
bag_entries | |||
) | [private] |
Threaded function that saves the current selection to a new bag file :param export_bag: bagfile to write to, ''rosbag.bag'' :param topics: topics to write to the file, ''list(str)'' :param start_stamp: start of area to save, ''rospy.Time'' :param end_stamp: end of area to save, ''rospy.Time''
Definition at line 435 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._set_play_all | ( | self, | |
play_all | |||
) | [private] |
Definition at line 562 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._set_play_speed | ( | self, | |
play_speed | |||
) | [private] |
Definition at line 767 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline._step_playhead | ( | self | ) | [private] |
moves the playhead to the next position based on the desired position
Definition at line 581 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.add_bag | ( | self, | |
bag | |||
) |
creates an indexing thread for each new topic in the bag fixes the boarders and notifies the indexing thread to index the new items bags :param bag: ros bag file, ''rosbag.bag''
Definition at line 144 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.add_listener | ( | self, | |
topic, | |||
listener | |||
) |
Definition at line 734 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.add_view | ( | self, | |
topic, | |||
frame | |||
) |
Views / listeners.
Definition at line 728 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.copy_region_to_bag | ( | self, | |
filename | |||
) |
Definition at line 394 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.file_size | ( | self | ) |
Definition at line 178 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.get_context | ( | self | ) |
:returns: the ROS_GUI context, 'PluginContext'
Definition at line 112 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.get_datatype | ( | self, | |
topic | |||
) |
:return: datatype associated with a topic, ''str'' :raises: if there are multiple datatypes assigned to a single topic, ''Exception''
Definition at line 229 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.get_entries | ( | self, | |
topics, | |||
start_stamp, | |||
end_stamp | |||
) |
generator function for bag entries :param topics: list of topics to query, ''list(str)'' :param start_stamp: stamp to start at, ''rospy.Time'' :param end_stamp: stamp to end at, ''rospy,Time'' :returns: entries the bag file, ''msg''
Definition at line 244 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.get_entries_with_bags | ( | self, | |
topic, | |||
start_stamp, | |||
end_stamp | |||
) |
generator function for bag entries :param topics: list of topics to query, ''list(str)'' :param start_stamp: stamp to start at, ''rospy.Time'' :param end_stamp: stamp to end at, ''rospy,Time'' :returns: tuple of (bag, entry) for the entries in the bag file, ''(rosbag.bag, msg)''
Definition at line 270 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.get_entry | ( | self, | |
t, | |||
topic | |||
) |
Access a bag entry :param t: time, ''rospy.Time'' :param topic: the topic to be accessed, ''str'' :return: tuple of (bag, entry) corisponding to time t and topic, ''(rosbag.bag, msg)''
Definition at line 300 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.get_entry_after | ( | self, | |
t | |||
) |
Access a bag entry :param t: time, ''rospy.Time'' :return: tuple of (bag, entry) corisponding to time t, ''(rosbag.bag, msg)''
Definition at line 331 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.get_entry_before | ( | self, | |
t | |||
) |
Access a bag entry :param t: time, ''rospy.Time'' :return: tuple of (bag, entry) corresponding to time t, ''(rosbag.bag, msg)''
Definition at line 316 of file bag_timeline.py.
:return: time of the next message after the current playhead position,''rospy.Time''
Definition at line 346 of file bag_timeline.py.
:return: time of the next message before the current playhead position,''rospy.Time''
Definition at line 359 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.handle_close | ( | self | ) |
Cleans up the timeline, bag and any threads
Definition at line 118 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.has_listeners | ( | self, | |
topic | |||
) |
Definition at line 731 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.is_publishing | ( | self, | |
topic | |||
) |
Publishing.
Definition at line 520 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.navigate_end | ( | self | ) |
Definition at line 833 of file bag_timeline.py.
Definition at line 820 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.navigate_next | ( | self | ) |
Definition at line 805 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.navigate_play | ( | self | ) |
Definition at line 790 of file bag_timeline.py.
Definition at line 800 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.navigate_rewind | ( | self | ) |
Definition at line 810 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.navigate_start | ( | self | ) |
Definition at line 830 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.navigate_stop | ( | self | ) |
Definition at line 796 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.on_idle | ( | self | ) |
Playing.
Definition at line 578 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.on_mouse_down | ( | self, | |
event | |||
) |
Mouse events.
Definition at line 484 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.on_mouse_move | ( | self, | |
event | |||
) |
Definition at line 496 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.on_mouse_up | ( | self, | |
event | |||
) |
Definition at line 493 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.on_mousewheel | ( | self, | |
event | |||
) |
Definition at line 499 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.read_message | ( | self, | |
bag, | |||
position | |||
) |
Definition at line 479 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.record_bag | ( | self, | |
filename, | |||
all = True , |
|||
topics = [] , |
|||
regex = False , |
|||
limit = 0 |
|||
) |
Recording.
Definition at line 673 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.remove_listener | ( | self, | |
topic, | |||
listener | |||
) |
Definition at line 745 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.reset_zoom | ( | self | ) |
Definition at line 510 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.resume | ( | self | ) |
Definition at line 372 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.set_publishing_state | ( | self, | |
start_publishing | |||
) |
Definition at line 549 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.start_background_task | ( | self, | |
background_task | |||
) |
Copy messages to...
Verify that a background task is not currently running before starting a new one :param background_task: name of the background task, ''str''
Definition at line 378 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.start_publishing | ( | self, | |
topic | |||
) |
Definition at line 523 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.step_fixed | ( | self | ) |
Moves the playhead a fixed distance into the future based on the current play speed
Definition at line 596 of file bag_timeline.py.
Move the playhead to the next message
Definition at line 642 of file bag_timeline.py.
Definition at line 391 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.stop_publishing | ( | self, | |
topic | |||
) |
Definition at line 530 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.toggle_play | ( | self | ) |
Definition at line 784 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.toggle_play_all | ( | self | ) |
Definition at line 574 of file bag_timeline.py.
Definition at line 691 of file bag_timeline.py.
Definition at line 513 of file bag_timeline.py.
Definition at line 516 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.zoom_in | ( | self | ) |
Definition at line 504 of file bag_timeline.py.
def rqt_bag.bag_timeline.BagTimeline.zoom_out | ( | self | ) |
Definition at line 507 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
rqt_bag::bag_timeline.BagTimeline::_bags [private] |
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 404 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
tuple rqt_bag::bag_timeline.BagTimeline::selected_region_changed = Signal(rospy.Time, rospy.Time) [static] |
Definition at line 58 of file bag_timeline.py.
tuple rqt_bag::bag_timeline.BagTimeline::status_bar_changed_signal = Signal() [static] |
Definition at line 57 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
Definition at line 62 of file bag_timeline.py.
rqt_bag::bag_timeline.BagTimeline::play_all = property(_get_play_all, _set_play_all) [static] |
Definition at line 572 of file bag_timeline.py.
rqt_bag::bag_timeline.BagTimeline::play_speed = property(_get_play_speed, _set_play_speed) [static] |
Definition at line 782 of file bag_timeline.py.