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?
↧