Giter Site home page Giter Site logo

rosbag_extract's Introduction

rosbag_extract

These are some scripts to extract data from rosbag conventiently. Any contribution is welcome.

Install

sudo apt install python3-rosbag 
sudo apt-get install ros-noetic-ros-numpy
pip3 install tqdm opencv-python argparse cv-bridge

Get_image

This script is used to extract image data from rosbag. It supports sensor_msgs/Image and sensor_msgs/CompressedImage. Please modify script file before run it. You should specify your bag file path, output directory, topic name ,sensor_msgs type,and whether save with timestamp.

./scripts/get_image.sh

Get_depth_image

This is used to extract depth image data.

Get_LiDAR

This is used to extract LiDAR data as .pcd files with pcl_ros.

Get_LiDAR_kitti

Extract LiDAR data and save in kitti format. (000000.bin). Tests on Ouster LiDAR.

Template

You can extract other kinds of data by editing Template.py

Old package

bag_preprocess.py is used to get photos and lidar data from rosbag

rosbag_extract's People

Contributors

liuxiao916 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.