New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bagpy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bagpy

A python class to facilitate the reading of rosbag file based on semantic datatypes.

  • 0.5
  • PyPI
  • Socket score

Maintainers
1
Strym Logo

Build Status Maintenance made-with-python made-with-sphinx-doc PyPI version shields.io PyPI license Downloads

bagpy

A Python package to facilitate the reading of a rosbag file based on semantic datatypes.

bagpy provides a wrapper class bagreader written in python that provides an easy to use interface for reading bag files recorded by rosbag record command. This wrapper class uses ROS's python API rosbag internally to perform all operations. One of the interesting features about using bagreader is that a user doesn't need to supply rostopic name to extract relevant data. One can extract data based on the type of data the user is seeking.

Requirements

  • Ubuntu 18.04 or later
  • Python 3.6 or higher. Now, the preferred version is Python 3.9. With other versions, there are some dependency issues as how pip works has changed.
  • Python 2.x support not available. Python 3.x virtual environment is recommended for pip installation.
  • Works with Windows as well, how, I don't provide support for Windows. See my comment on an issue here: https://github.com/jmscslgroup/bagpy/issues/2#issuecomment-710095649
  • Note: it is not compatible with ROS 2.

Installation

pip install bagpy

Usage principle

The philosophy behind developing this project is to make everything as simple and less confusing as possible. As a result, there are not too many options or freedom of usage being provided by bagreader class. If you need a wide variety of options, users can directly use ROS's rosbag python package or Robotics System Toolbox APIs provided by MATLAB. However, if you are looking for simplicity, bagpy is an elegant choice.

Examples

See Notebooks and python scripts at https://github.com/jmscslgroup/bagpy/tree/master/notebook for examples.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc