query_bag_messages
Query ROS2 bag messages filtered by topic and time range, with optional limit and offset to control results.
Instructions
Query bag messages filtered by topic and time range.
Args: run_id: Bag directory name or path. topic: Filter by topic name (e.g., "/scan", "/cmd_vel"). time_start: Start time filter (epoch or relative "-30s"). time_end: End time filter (epoch or relative). limit: Maximum messages to return (default 50). offset: Number of messages to skip (default 0). log_dir: Optional path to log directory override.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| topic | No | ||
| time_start | No | ||
| time_end | No | ||
| limit | No | ||
| offset | No | ||
| log_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |