Ask Your Question
0

How can I export several different rostopic messages to the same .txt file?

asked 2017-05-10 01:50:06 -0500

thanhvu94 gravatar image

I want to export several different rostopic messages (not the same type of message) to the same .txt file in MATRIX form in order to be imported easily into MATLAB for data treatment. What is a proper way to do it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-05-10 06:49:54 -0500

rbbg gravatar image

If you want to import data from ROS into MATLAB, you are probably best off recording Rosbag. Check out the tutorials to figure out how to use it. When you have recorded the bag file, it should not be a big problem to import in into MATLAB using the MATLAB rosbag. Here's some more documentation.

For some more info about importing bag files into matlab, look over here, there have been a number of questions on the topic.

Hope that helps.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-05-10 01:50:06 -0500

Seen: 59 times

Last updated: May 10 '17