Functions
rqt_bag.bag_helper Namespace Reference

Functions

def filesize_to_str (size)
 
def get_datatype (bag, topic)
 
def get_end_stamp (bag)
 
def get_start_stamp (bag)
 
def get_topics (bag)
 
def get_topics_by_datatype (bag)
 
def stamp_to_str (t)
 

Function Documentation

def rqt_bag.bag_helper.filesize_to_str (   size)

Definition at line 131 of file bag_helper.py.

def rqt_bag.bag_helper.get_datatype (   bag,
  topic 
)
Get the datatype of the given topic.

@param bag: bag file
@type  bag: rosbag.Bag
@return: message typename
@rtype:  str

Definition at line 116 of file bag_helper.py.

def rqt_bag.bag_helper.get_end_stamp (   bag)
Get the latest timestamp in the bag.

@param bag: bag file
@type  bag: rosbag.Bag
@return: latest timestamp
@rtype:  rospy.Time

Definition at line 83 of file bag_helper.py.

def rqt_bag.bag_helper.get_start_stamp (   bag)
Get the earliest timestamp in the bag.

@param bag: bag file
@type  bag: rosbag.Bag
@return: earliest timestamp
@rtype:  rospy.Time

Definition at line 67 of file bag_helper.py.

def rqt_bag.bag_helper.get_topics (   bag)
Get an alphabetical list of all the unique topics in the bag.

@return: sorted list of topics
@rtype:  list of str

Definition at line 57 of file bag_helper.py.

def rqt_bag.bag_helper.get_topics_by_datatype (   bag)
Get all the message types in the bag and their associated topics.

@param bag: bag file
@type  bag: rosbag.Bag
@return: mapping from message typename to list of topics
@rtype:  dict of str to list of str

Definition at line 100 of file bag_helper.py.

def rqt_bag.bag_helper.stamp_to_str (   t)
Convert a rospy.Time to a human-readable string.

@param t: time to convert
@type  t: rospy.Time

Definition at line 42 of file bag_helper.py.



rqt_bag
Author(s): Dirk Thomas , Aaron Blasdel , Austin Hendrix , Tim Field
autogenerated on Fri Feb 19 2021 03:14:14