ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You could save the data into a text file, and import this to excel ( or similar ).
file = open("yourfile.txt", "w+")
data_to_save = str(data.pose.x) + "\t" + str(data.pose.y) + "\n"
file.write(data_to_save)
With this code above you'll be able to create a multi-lines into your file. However, if you call the same program again the data will be overwritten.
If you need: https://www.guru99.com/reading-and-writing-files-in-python.html