New Package: matlab_rosbag

| No Comments | No TrackBacks
From Ben Charrow on ROS Users

Hi all.

I wanted to announce the initial release of matlab_rosbag, a small library which lets you read bags in matlab.  This library is intended to replace the one-off python / C++ programs / shell scripts that you have to write anytime you want to analyze or play with data inside of matlab.   A few selling points:

* ROS doesn't need to be installed on a system to use the library, you just need to download a mex function and a matlab class file.

* The library wraps the C++ rosbag API and so it supports bag file format 1.2 and later, including things like reading compressed messages.

* Message instances are converted to matlab structs using the message definitions contained within the bag.

Currently, there are several things that matlab_rosbag doesn't do such as writing to a bag, filtering messages by connection id, and reading all metadata.  None of these would be particularly hard to add, I just haven't had the time yet.

You can get the source code and pre-compiled binary releases for OS X and Linux from github:


No TrackBacks

TrackBack URL:

Leave a comment

Find this blog and more at

Monthly Archives

About this Entry

This page contains a single entry by Tully Foote published on February 22, 2013 9:04 AM.

New Package: ccny_rgbd was the previous entry in this blog.

New Package: usb_cam on groovy is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.