Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Store IDL definitions in MCAP #53

Merged
merged 5 commits into from
Sep 8, 2022
Merged

Conversation

james-rms
Copy link
Contributor

Adds logic to detect IDL-defined message types and store the IDL.

@james-rms james-rms force-pushed the jrms/store_idl_definitions branch 3 times, most recently from 1df1b93 to 762c1ad Compare September 5, 2022 23:03
@james-rms james-rms force-pushed the jrms/store_idl_definitions branch 2 times, most recently from b613788 to 25d31b9 Compare September 5, 2022 23:33
@emersonknapp
Copy link
Contributor

Can a .msg use an IDL-defined subtype? If so, does this handle that? I couldn't quite tell from the code

@james-rms
Copy link
Contributor Author

You're right, it can, and this code doesn't handle that (it'll fail with "file not found"). I can take a look at falling back to IDL if any dependency has no MSG definition.

@james-rms
Copy link
Contributor Author

@emersonknapp ok, handled and tested.

@james-rms james-rms force-pushed the jrms/store_idl_definitions branch 3 times, most recently from d2da862 to 193c41b Compare September 7, 2022 21:19
@james-rms james-rms force-pushed the jrms/store_idl_definitions branch 2 times, most recently from 0369c54 to 32caf1d Compare September 7, 2022 23:52
Signed-off-by: James Smith <james@foxglove.dev>
Signed-off-by: James Smith <james@foxglove.dev>
Signed-off-by: James Smith <james@foxglove.dev>
Signed-off-by: James Smith <james@foxglove.dev>
Signed-off-by: James Smith <james@foxglove.dev>
@james-rms james-rms merged commit a69ad3c into main Sep 8, 2022
@wep21 wep21 deleted the jrms/store_idl_definitions branch September 9, 2022 01:31
james-rms added a commit to james-rms/rosbag2 that referenced this pull request Nov 18, 2022
Adds logic to detect IDL-defined message types and store the IDL.

Signed-off-by: James Smith <james@foxglove.dev>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants