GithubHelp home page GithubHelp logo

run-lin / bagpy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmscslgroup/bagpy

0.0 1.0 0.0 25.76 MB

Python package for reading, and extracting data from rosbag files and performing any analysis on it.

Home Page: https://jmscslgroup.github.io/bagpy/

License: Other

Shell 0.01% JavaScript 1.53% Python 1.66% CSS 3.01% Makefile 0.01% HTML 0.03% Jupyter Notebook 93.75%

bagpy's Introduction

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: jmscslgroup#2 (comment)
  • 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.