Skip to content

feat: add find_bags() and select_bag() TUI#26

Merged
Kotakku merged 1 commit into
mainfrom
feat/find-bags-and-tui
Mar 26, 2026
Merged

feat: add find_bags() and select_bag() TUI#26
Kotakku merged 1 commit into
mainfrom
feat/find-bags-and-tui

Conversation

@Kotakku

@Kotakku Kotakku commented Mar 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add find_bags(pattern) to discover rosbag directories sorted by .db3/.mcap data-file mtime (not cache/directory timestamps)
  • Add select_bag(pattern) curses TUI for interactive rosbag selection with date display and keyboard navigation (↑↓/jk, Enter, q)
  • Add example select_and_plot.py and update examples to use import baglab as bl

Test plan

  • TestFindBags tests pass (4 tests: find, type check, mtime sort order, empty pattern)
  • Manual verification: python example/select_and_plot.py launches TUI and plots after selection

🤖 Generated with Claude Code

…ection

find_bags() discovers rosbag directories matching a glob pattern, sorted
by the mtime of actual .db3/.mcap data files (not cache or directory
timestamps). select_bag() provides a curses-based TUI for interactive
selection with date display and keyboard navigation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kotakku Kotakku force-pushed the feat/find-bags-and-tui branch from edd8bd7 to d7b98f4 Compare March 26, 2026 11:34
@Kotakku Kotakku merged commit 88389ab into main Mar 26, 2026
3 checks passed
@Kotakku Kotakku deleted the feat/find-bags-and-tui branch March 26, 2026 11:35
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.

1 participant