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

Variables

string PKG = 'rxbag'

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 113 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 82 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 67 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 58 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 98 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 44 of file bag_helper.py.


Variable Documentation

string rxbag::bag_helper::PKG = 'rxbag'

Definition at line 37 of file bag_helper.py.

 All Classes Namespaces Files Functions Variables Properties


rxbag
Author(s): Tim Field
autogenerated on Fri Jan 11 09:58:55 2013