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.3.4.tar.gz (8.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: rosbag_pandas-0.3.4.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rosbag_pandas-0.3.4.tar.gz
Algorithm Hash digest
SHA256 ec6b709ee2022852ec0bc6562e685f7ee8597cb3d3e6936db66307d522f09d87
MD5 22482812b6cf0ca2ae8007cd861fe4a2
BLAKE2b-256 fbe96d64947e4d120d0d2c1ee37b2919bdf3a2bd776c3da54d4b674cc5c7bb7c

See more details on using hashes here.

Supported by

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