GetRosbag
This is a ROS service definition.
Source
# Copyright 2026 mfaferek93
#
# 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.
#
# GetRosbag.srv - Retrieve rosbag file information for a fault.
#
# Returns the path to the rosbag file that was recorded when a fault was confirmed.
# The rosbag contains time-window recording of configured topics before and after
# the fault confirmation event.
# Request fields
# The fault_code to get rosbag for.
string fault_code
---
# Response fields
# True if a rosbag file exists for this fault.
bool success
# Path to the rosbag file/directory.
# Empty if success is false.
string file_path
# Storage format: "sqlite3" or "mcap"
string format
# Total duration of recording in seconds.
float64 duration_sec
# File size in bytes.
uint64 size_bytes
# Error message if success is false.
string error_message