-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design/Doc: sqlite directory storage format #547
Comments
The directory contains metadata.yaml and all of the sqlite databases (if splitting is enabled) - putting extra files into the directory should not cause any problems as rosbag2 is currently implemented. It certainly does make sense to store this extra information with the bag if it is related to the recording session. |
@emersonknapp Great, thank you for confirming that. Would it make sense to extend the design article to include a section about file system layout or is there some other place better suited? |
I have a hard time deciding on that - I feel like design/documentation should live here with the rosbag2 project, instead of in ros2/design, for better synchronization, including updating across releases without losing the context for any given release. @Karsten1987 do you have an opinion on that? |
Considering starting a readthedocs page for this - or a dedicated documentation page like nav2 |
@emersonknapp We're looking for a place to store low volume additional metadata for a recording, like description, operator, software version, ... for cases where this is not published and recorded on a topic. One option is to add an additional file as currently in the scope of this issue, another would be to use a top-level key in
|
^ That's a first thought. However, if we want to handle the case "DB3 self-contained" - it may make more sense to add a field Case "message definitions" - this is a separate concern and will need to be part of the |
@emersonknapp I updated the description above, please take a look.
|
No - the way the serialization works it that the
Yes, this will be safe to do. This key is not currently reserved by the BagMetadata schema, so we can reserve this key for user use from now on. |
@emersonknapp Thanks for the valuable comments. I happened to be assigned the similar task of adding custom metadata support. If it hasn't been implemented anywhere else, I'm happy to create a PR once it's done. |
We're looking into storing additional files alongside a rosbag2, e.g. pcaps, pdfs, ... and are thinking to place these into the rosbag2 directory. Given that metadata.yaml lists the files relevent for reading rosbag2 this should not pose a problem, correct?
The rosbag2 design article linked from README does not specify the file system layout. Is there a more recent version?
Conclusions from discussions:
custom
key; alternative name:userdata
rosbag2_bagfile_information
subkeycustom/userdata
-- this would enable theBagMetadata
class to pass this information to a single-file storage formatBagMetadata
version>4
, probablyTopicMetadata
see Store message definition in bag #782The text was updated successfully, but these errors were encountered: