Repository navigation
Major changes to codebase structure:
- Migrated the rosbag parsing backend from
rosbagtorosbags, with a unified reader for ROS1 and ROS2 bags and no ROS installation required. - Pinned DearPyGui to
< 2and raised the Python requirement to>= 3.10(development uses Python 3.12). - Refactored the bag import workflow into a per-bag queue and introduced a dedicated topic selection module.
- Added guided handling for missing message definitions, including caching the initial topic selection so the import is retried without asking again.
- Replaced the full recursive message definition scan with a pruned and type-deduplicated scan, and improved progress reporting with clearer parser errors.
New features:
- Add ROS2 bag support: import rosbag2 directories (and
.db3files) alongside ROS1.bagfiles, via the newFiles -> Import ROS2 Bag Foldermenu item. Try DearBagPlayer with new demo ROS2 bag from Magic-wei/DearBagPlayerDemoData! - Add custom message definition import from
<package>/msg/*.msg; when a definition is missing, a popup offers to load the definitions folder and automatically retries the import. - Add a topic selection dialog before parsing, showing message count, estimated data size and entities per message for each topic; oversized topics are deselected by default with a warning to avoid slow imports and a polluted topic list. Fall back to the ROS2 Humble/Foxy/Galactic/Iron typestores for ROS2 bags without embedded message definitions.
- Add progress logs and a busy viewport title during scanning and parsing.
Fix issues:
- Fixed broken time axes when header stamps and bag timestamps use different clock domains (e.g. device uptime vs. Unix epoch); header stamps are now only used when they are synchronized with the bag time.
- Fixed
IndexErrorwhen pressing play after a failed import, caused bybag_files_nameandmsg_data_poolgetting out of sync. - Fixed a crash in
initTimeline()when importing with an empty data pool. - Fixed the error popup calling a non-existent method, and added guards for missing bag/topic data during plot updates.