Skip to content

fix rosbags dataloader to match the latest rosbags version on pypi#488

Merged
saurabh1002 merged 2 commits intomainfrom
fix_rosbags
Dec 3, 2025
Merged

fix rosbags dataloader to match the latest rosbags version on pypi#488
saurabh1002 merged 2 commits intomainfrom
fix_rosbags

Conversation

@saurabh1002
Copy link
Contributor

We had no restriction on rosbags version used within rosbag.py and point_cloud2.py files in our dataloader. The latest versions of rosbags (>0.10.7) break the existing API in point_cloud2.py.

This came up as an issue in KISS-SLAM by @omar-abdulaaty
A fix already existed, thanks to @mehermvr's RKO-LIO pipeline

This PR just applies that fix to relevant files in KISS-ICP. It has also been tested on several rosbag files, without any issues.

Also added rosbags as an optional dependency into the pyproject.toml enforcing the version in case someone uses the rosbag dataloader.

mehermvr
mehermvr previously approved these changes Dec 2, 2025
@mehermvr
Copy link
Member

mehermvr commented Dec 2, 2025

Lgtm

Not sure what the policy is with the version pinning on pyproject. But that also lgtm

Copy link
Member

@mehermvr mehermvr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually not lgtm. Minor concern

@saurabh1002 saurabh1002 merged commit a1d58c0 into main Dec 3, 2025
22 checks passed
@saurabh1002 saurabh1002 deleted the fix_rosbags branch December 3, 2025 11:40
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.

2 participants