Code Monkey home page Code Monkey logo

rgbd_export's Introduction

rosbag exporter for compressed images and joint states

Synchronised export of compressed colour (topic compressed) and depth (topic compressedDepth) images, and joint states.

rosrun rgbd_export rgbd_sync_export.py \
  ~/rosbags/experiment1.bag \
  ~/rgb_log_exp/exp1 \
  --topic_rgb /camera/rgb/image_rect_color/compressed \
  --topic_depth /camera/depth/image_rect_raw/compressedDepth \
  --topic_camera_info /camera/rgb/camera_info \
  --topic_joints /joint_states

rgbd_export's People

Contributors

christian-rauch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

manhha1402

rgbd_export's Issues

No messages received

Hi

Great work there! I'm trying to get it to work with a simple rosbag file I made, but I keep getting the error no message is received:

$ rosrun rgbd_export rgbd_sync_export.py   ~/test2.bag   ~/export   --topic_rgb /camera/rgb/image_raw   --topic_depth /camera/depth_registered/image_raw   --topic_camera_info /camera/rgb/camera_info


reading: /home/mwell/test2.bag
duration: 4.97503685951 s
exporting to: /home/mwell/Downloads/test_extract/export
Ignoring joint topic.
NO colour images. Check that topic '/camera/rgb/image_raw' is present in bag file!
NO depth images. Check that topic '/camera/depth_registered/image_raw' is present in bag file!
Found no messages on any of the given topics.
Valid topics are: ['camera/depth_registered/image_raw', 'tf_static']
Given topics are: ['/camera/rgb/image_raw', '/camera/depth_registered/image_raw', '/camera/rgb/camera_info', '/joint_states']
Traceback (most recent call last):
  File "/home/mwell/catkin_ws/src/rgbd_export/src/rgbd_sync_export.py", line 281, in <module>
    RGBDExporter().export()
  File "/home/mwell/catkin_ws/src/rgbd_export/src/rgbd_sync_export.py", line 143, in export
    raise Exception("No CameraInfo message received!")
Exception: No CameraInfo message received!

This bag publishes tf_static rather than tf though. Any idea why this is happening?

Thanks

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.