Robotics StackExchange | Archived questions

Problems extracting csv from rosbag

Hello, I am extracting the data of a rosbag to a csv file. The problem is that I do not want to mix strings with numbers so I first extract the numbers with 'rostopic echo -p --nostr -b bag.bag > bagnostr.csv' and then I extract the specific topic containg string doing 'rostopic echo -p -b bag.bag/string > bagstr.csv'. After that, if I compare the files, both have the same number of rows (aka messages) but the time stamped in each message is different from the one in the same row of the other csv!!! How can that happend? How can I solve it?

Thanks

Cheers!

Asked by apalomer on 2013-11-07 22:42:32 UTC

Comments

Answers