Classes | Functions
rosbag_pandas.rosbag_pandas Namespace Reference

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)
 

Function Documentation

◆ _get_filtered_topics()

def rosbag_pandas.rosbag_pandas._get_filtered_topics (   topics,
  include,
  exclude 
)
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.

◆ _get_flattened_dictionary_from_ros_msg()

def rosbag_pandas.rosbag_pandas._get_flattened_dictionary_from_ros_msg (   msg)
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.

◆ bag_to_dataframe()

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.

◆ topics_from_keys()

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.



rosbag_pandas
Author(s): Adam Taylor
autogenerated on Mon Feb 28 2022 23:30:55