Read, Load and save all files from ROS ".msg" files to excel files by MATLAB
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello every one
I am really new for ROS code. I need help with ".msg" files. The idea is read, load and save those ".msg" files to excel files by MATLAB. (Please note the files I want load is msg files, not pkg files). I asked samiler question before, you can check it out here. It helped my with some msg files without comment words before code. (I mean comment words means those before the code start, and explain what those code does.) My gold is getting output as

This is an example of "AccelCmd.msg". As you can see, this one does not have any comment words for code. The output is what I want. First list the msg files name. Second and thired are elements that inside of msg files.
I have problem with msg files with comment words inside of code. If you take look at this. Inside of this code has few words, such as "################ 3D BB", "#Score as defined by the detection, Optional". If I use the same code as before, the output looks like

It is missing a lot items and it is not what I want it to be.
To make this clear, I want the final output looks like the first fig you see. It has to be layout as first list msg name, second and thried as elements from those code. If there are some comment words inside of msg files. I want MATLAB able to ignore those and get right output as I want. (If you can, please also tell me how can I setup the code to make sure all element in second list has right order as A to Z.)
Thank you so much for read this. And thank you for share your idea with me. Please help me, if you can.
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Specialized Messages dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!