Functions
rxbag::bag_helper Namespace Reference

Functions

def get_datatype
def get_end_stamp
def get_start_stamp
def get_topics
def get_topics_by_datatype
def stamp_to_str

Function Documentation

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.

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.

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.

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.

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.

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.



rxbag
Author(s): Tim Field
autogenerated on Mon Oct 6 2014 07:26:07