save vector<geometry_msgs::Point> to a file
Hi, I need to save vector of geometry_msgs::Point to a file because I need to reuse it in a future. I have already done some research (e.g. tried this http://stackoverflow.com/questions/24... ) but nothing worked...any ideas? Is that even possible?
Thanks in advance, JP
Do you need to write that from code? ROS tools like rosbag or rostopic echo enable you to dump messages to files easily. There is also the rosbag api.
If u want i can give u a cpp file that saves subsribed topic to CSV file