How to save the poses which on the global_path topic into a txt file?
hello everyone ,
I want to save the path from start pose to goal published by the global path planner like Dijkstar in the navfn package , so i am ready to write a node which subscribes that topic.In the callback , i want to save those poses into a txt file,which Matlab can read in , so i can plot them in the Matlab and also analyse the path length and the smoothness .
my question is simple :
in the callback ,how can i save that messages into a txt file or something else,sorry ,i don't know how to write the body of the callback.
Thank you in advance.
Asked by jxl on 2015-05-06 21:01:59 UTC
Answers
My final solution is :first save that global path topic into a txt file using command ,then make a C project to process that file to extract the useful information ,then plot that data on matlab.
Asked by jxl on 2015-08-24 10:15:14 UTC
Comments
Can't ROSMATLAB read bagfiles?
Asked by BennyRe on 2015-05-07 04:19:42 UTC
Unfortunately, just now, I knew matlab can actually support the ROS.,that's amazing!!But when I see the MathWorks site ,there are many things of ROSMATLAB i have to learn ,it will take a long time .so does you know how to do this job on the ROSUbuntu ??
Asked by jxl on 2015-05-07 08:45:29 UTC
Hi, I don't know the answer..
Asked by RB on 2015-05-07 11:13:16 UTC