Skip to main content

Create a Python pandas data frame from a ros bag file

Project description

RosbagPandas provides a quick way to load rosbag files into a Pandas Dataframe object for data viewing and manipulation. Usage is similar to the following:

#!/usr/bin.env python import rosbag_pandas

dataframe = rosbag_pandas.bag_to_dataframe(‘file.bag’) #awesome data processing

In addition to parsing and taking in the whole bag the function can use the include and exclude parameters to limit the topics read into the dataframe.

Examples include using a regular expression to filter or add topics as well as filtering or adding from a list.

Also installs two scripts:

bag_graph.py which allows a user to produce a quick graph of data in a bag file.

bag2csv.py allows a user to quickly convert data in a rosbag into csv format.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rosbag_pandas-0.5.0.0.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file rosbag_pandas-0.5.0.0.tar.gz.

File metadata

File hashes

Hashes for rosbag_pandas-0.5.0.0.tar.gz
Algorithm Hash digest
SHA256 78f1fe53bcb896ba58100badc5758c286acadedfe68e1b885901352707db8238
MD5 240a9d33d024e248ad6e848d5c7443ff
BLAKE2b-256 b56318f25fabe5cb1110da2e2bb81936c269b8acf3ed423a70c670c9f37c4979

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page