IanTheEngineer / Penn-haptics-bolt

Penn Haptics team's repository for BOLT related work
9 stars 22 forks source link

Create HDF5 files for logs #2

Closed lorenzoriano closed 12 years ago

lorenzoriano commented 12 years ago

A simple and effective way I have used to log files from ROS is to initially write a bag file, then a simple python script can convert the data into a HDF5 file (or whatever other format).

Matlab has a very good support for HDF5 (it this the underlying format for the .mat files). Parsing and loading huge amount of data from a HDF5 is very fast.

I can write a node to convert a bag to a HDF5 file, then somebody will include it into Matlab.

vchu commented 12 years ago

If you'd like you can add support to the GUI for HDF5 files like I have done for both .txt and .json.

I don't plan on adding many more features or enhancements because the GUI is mostly just for visualizing what we have (JSON). If you feel that you must absolutely use HDF5, feel free to write it.

On Thu, Jun 14, 2012 at 7:32 PM, Lorenzo Riano < reply@reply.github.com

wrote:

A simple and effective way I have used to log files from ROS is to initially write a bag file, then a simple python script can convert the data into a HDF5 file (or whatever other format).

Matlab has a very good support for HDF5 (it this the underlying format for the .mat files). Parsing and loading huge amount of data from a HDF5 is very fast.

I can write a node to convert a bag to a HDF5 file, then somebody will include it into Matlab.


Reply to this email directly or view it on GitHub: https://github.com/imcmahon01/Penn-haptics-bolt/issues/2

vchu commented 12 years ago

Let's go with a bag file that converts into JSON for now.

If we have time we can later support HDF5