bcharrow / matlab_rosbag

A small library for reading ROS bags in Matlab
BSD 3-Clause "New" or "Revised" License
102 stars 52 forks source link

Problem with std_msgs/Empty #10

Closed flaviofontana closed 10 years ago

flaviofontana commented 10 years ago

Hi there

I found a problem opening bags in Matlab which contain std_msgs/Empty I always get the Error

Unexpected Standard exception from MEX file. What() is:vector::_M_range_check ..

Error in ros.Bag (line 30) obj.handle = rosbag_wrapper(uint64(0), 'construct', 'ROSBagWrapper', obj.path);

Cheers, flavio

bcharrow commented 10 years ago

Thanks for the report, Flavio! I think I've fixed the issue. Can you please confirm the fix by downloading v0.4.1 from the release page and running it on the bag you were using? https://github.com/bcharrow/matlab_rosbag/releases/download/v0.4/matlab_rosbag-0.4.1-linux64.zip

cinatale commented 10 years ago

Could it be possible to have the compiled version for Linux32 also?

Thanks, C.

bcharrow commented 10 years ago

Unfortunately, I don't have easy access to a 32 bit machine. I haven't posted the 32 bit version you sent yet, because I haven't had a chance to verify it.