Skip to content

0.3.1

Latest

Choose a tag to compare

@Magic-wei Magic-wei released this 20 Sep 10:25

Major changes to codebase structure:

  • Migrated the rosbag parsing backend from rosbag to rosbags, with a unified reader for ROS1 and ROS2 bags and no ROS installation required.
  • Pinned DearPyGui to < 2 and 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 .db3 files) alongside ROS1 .bag files, via the new Files -> Import ROS2 Bag Folder menu 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 IndexError when pressing play after a failed import, caused by bag_files_name and msg_data_pool getting 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.