ListRosbags

This is a ROS service definition.

Source

# Copyright 2026 bburda
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ListRosbags.srv - Batch retrieve rosbag file information for an entity.
#
# Returns all rosbag files associated with faults from a given entity.
# This is more efficient than calling GetRosbag for each fault individually.

# Request fields

# Entity FQN (fully qualified name) to filter rosbags by.
# Matches against fault reporting_sources using prefix matching.
string entity_fqn
---
# Response fields

# True if the request was processed successfully.
bool success

# Fault codes for each rosbag (parallel array with other fields).
string[] fault_codes

# Paths to the rosbag files/directories.
string[] file_paths

# Storage formats: "sqlite3" or "mcap"
string[] formats

# Total duration of each recording in seconds.
float64[] durations_sec

# File sizes in bytes.
uint64[] sizes_bytes

# Error message if success is false.
string error_message