Skip to content

Angus/add profile fixes - #33

Merged
siliconlad merged 3 commits into
masterfrom
angus/add-profile-fixes
Jul 14, 2026
Merged

Angus/add profile fixes#33
siliconlad merged 3 commits into
masterfrom
angus/add-profile-fixes

Conversation

@siliconlad

Copy link
Copy Markdown
Collaborator

Same changes as #31 but to master

Tobias Friedrich and others added 3 commits July 14, 2026 15:31
rosbag2 on ROS 2 Iron+/Jazzy serializes offered_qos_profiles policies as
string names (e.g. 'keep_last', 'reliable', 'transient_local', 'automatic')
instead of the legacy integer values. The IntEnum-typed Qos fields rejected
those strings with a pydantic ValidationError, breaking `kappe convert` on
recordings from newer ROS distros.

Add a BeforeValidator that maps the string name onto the enum
(case-insensitive) while passing ints/enums through unchanged, so both the
new string form and the legacy integer form parse.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@siliconlad
siliconlad requested a review from Danahirmt July 14, 2026 13:40
@siliconlad
siliconlad merged commit 635f627 into master Jul 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants