Hi,
Thank you for your help and time.
I appriciate your advice, but still I have a problem seeing the data.
I downloaded the .db3 bag, and imported it in SQLlite, but still, in the messages table I dont see the data… it can also be that the structure of the topic is not visible (like I can’t see for example vel.vel_x, vel.vel_y, etc…)
The hidden data shown as BLOB is what you see in the right side panel that says “Edit Database Cell”. The mode is selected by default, which in your case is Binary.
Since it is not possible to display that data blob in the table itself, SQLite Browser displays the contents in the right panel.
Hi Girish, thank you for the support again.
Is there a way I can see the BLOB hiden data? that actualy are the messages I published to diffrent topics… the data I really need.
Thank you
Kind regards
GO
Did you try exploring the options on the right panel in the “Edit Database Cell” section? I am assuming that you did not try doing that.
There are several modes that you can choose from: Text, RTL Text, Binary, Image, JSON, and XML.
The options are quite self-explanatory, so I am not going to explain what each option does.
As with the Binary mode, your can use the horizontal scroll bar to move to the right side of the Binary byte-data to see the text string.
The output from your image just makes it clear that the byte-data or the blob-data is encoded/encrypted and cannot be directly seen as text and needs to be decoded.
If you have the information of the encoding then you can decode it yourself!
The message is seemingly quite small at 24 bytes, so you should not have problems probing and decoding the data.
You can just run (or play) the ros2 bag in a loop and use a python program to read the speed values.
That will be the easiest way. You can also get the headers for each specific message.
I am afraid that there is no immediate shortcut to doing that.
You should have a working installation of a ROS2 Version [Foxy or Humble] on your computer.
Then you should install ROS2 Bag to run ros2 bag files.
Once you have ROS2 installed along with ROS2 Bag, you can start and run the bag file in a loop and use a simple python program to decode the messages.
On the other hand, if you have an un-encoded message and an encoded message, you can decode all other messages using the same decode logic. But I am assuming this will be a harder task for you since I understand that you have not previously worked with ROS2.