Writing a rosbag in MATLAB

asked 2016-06-22 16:32:13 -0500

kabla002 gravatar image

Hi Everyone,

I'm trying read a rosbag it into MATLAB, create a new topic based on the messages in the bag then write all of the messages out (including those from the old bag file) to a new bag file. I am able to accomplish reading of the bag file using the following MATLAB toolkit. But this toolkit does not appear to support writing rosbags.

My questions are as follows.

  1. Is anyone aware of a MATLAB tool that would allow me to write message to a rosbag in MATLAB?
  2. I'm considering trying to write my own robag writer in MATLAB is there any reason that this would be a bad idea?

My apologies for repeating this question but there weren't any answers with useful information.

Thanks,

~ John

edit retag flag offensive close merge delete