Formatting rosbag data exported to .csv [closed]

asked 2019-03-11 16:35:42 -0500

carlito898 gravatar image

I created a Rosbag of turtlesim data and would like to export the x and y coordinates only to a .csv file. Right now, however the formatting is as such:

x

y

x

y

x

y

using this command to export to a test .csv file: rostopic echo /turtle1/pose | sed -n '/x:/,/y:/p' > ~/Desktop/test.csv

I would like the formatting to be like this:

x y

x y

x y

Does anyone know how I would do this?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Wolf
close date 2019-03-12 16:40:51.082701

Comments

Wolf gravatar image Wolf  ( 2019-03-12 16:41:39 -0500 )edit