Functions | |
def | get_datatype |
def | get_end_stamp |
def | get_start_stamp |
def | get_topics |
def | get_topics_by_datatype |
def | stamp_to_str |
def rxbag.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 110 of file bag_helper.py.
def rxbag.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 79 of file bag_helper.py.
def rxbag.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 64 of file bag_helper.py.
def rxbag.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 55 of file bag_helper.py.
def rxbag.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 95 of file bag_helper.py.
def rxbag.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 41 of file bag_helper.py.