Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

How to read Binary data from a bagfile ?

$
0
0
I have received a bag file which i need to analyze. I opened the file in `rqt_bag` and played a topic `/pnc/carstatus` which has the messages of type `string`. Now to read the messages, I used `rostopic echo /pnc/carstatus`. But this shows `data: !!Binary |` and some unreadable characters below it. Is there a way to read the contents of these bag files ? ps : I cannot covert the file to a `.csv` or a `.txt` format as it contains a topic of custom message type and it fives a `unicode` error. ps : I am not sure if i can attach an image or not but I guess looking at the image makes it a lot more clearer. Sorry if i am offending the rules.![image description](/upfiles/15235359584370357.png)

Viewing all articles
Browse latest Browse all 475

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>