[humble] Allow unknown types in bag rewrite (backport #1812) #1819
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will allow
ros2 bag convert
to process bag files with "unknown" message types.Unknown are the types which typesupport is not available during the bag conversion operation.
Also added proper handling for the
ament_index_cpp::PackageNotFoundError
exception throwing from theament_index_cpp::get_package_share_directory(package);
. It was causing abnormal converter or recorder termination if the package for message definition was not found in ament_index.ros2 bag convert
ignoring messages with unknown types #1811This is an automatic backport of pull request Allow unknown types in bag rewrite #1812 done by Mergify.