Classes | |
| class | RosbagPandaException |
Functions | |
| def | _get_filtered_topics (topics, include, exclude) |
| def | _get_flattened_dictionary_from_ros_msg (msg) |
| def | bag_to_dataframe (bag_name, include=None, exclude=None) |
| def | topics_from_keys (keys) |
|
private |
Filter the topics. :param topics: Topics to filter :param include: Topics to include if != None :param exclude: Topics to exclude if != and include == None :return: filtered topics
Definition at line 94 of file rosbag_pandas.py.
|
private |
Return a flattened python dict from a ROS message :param msg: ROS msg instance :return: Flattened dict
Definition at line 85 of file rosbag_pandas.py.
| def rosbag_pandas.rosbag_pandas.bag_to_dataframe | ( | bag_name, | |
include = None, |
|||
exclude = None |
|||
| ) |
Read in a rosbag file and create a pandas data frame that is indexed by the time the message was recorded in the bag. :param bag_name: String name for the bag file :param include: None, or List of Topics to include in the dataframe :param exclude: None, or List of Topics to exclude in the dataframe (only applies if include is None) :return: a pandas dataframe object
Definition at line 32 of file rosbag_pandas.py.
| def rosbag_pandas.rosbag_pandas.topics_from_keys | ( | keys | ) |
Extracts the desired topics from specified keys :param Keys: List of desired keys :return: List of topics
Definition at line 16 of file rosbag_pandas.py.