flowrs-engine/crates/flowrs-iface/fixtures/ros-lyrical/share/rosbag2_interfaces/srv/Resume.idl
flowRS fd958c0547 flowRS engine, cut from flowRS 3451b065
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 19:04:39 -05:00

52 lines
2 KiB
Text

// generated from rosidl_adapter/resource/srv.idl.em
// with input from rosbag2_interfaces/srv/Resume.srv
// generated code does not contain a copyright notice
#include "builtin_interfaces/msg/Time.idl"
module rosbag2_interfaces {
module srv {
module Resume_Request_Constants {
const int32 RESUME_MODE_NODE_TIME = 0;
const int32 RESUME_MODE_PUBLISH_TIME = 1;
const int32 RESUME_MODE_RECEIVE_TIME = 2;
};
@verbatim (language="comment", text=
"Resume mode to interpret resume_time:" "\n"
"0 = node_time, 1 = publish_time, 2 = receive_time.")
struct Resume_Request {
@verbatim (language="comment", text=
"Timestamp in the future when to resume recording/playback." "\n"
"If empty or time in the past, resumes recording/playback immediately." "\n"
"Note: The resume_time is not supported by player and shall be set to zero when using Resume with" "\n"
"player.")
builtin_interfaces::msg::Time resume_time;
@verbatim (language="comment", text=
"Resume mode to use for the resume_time request.")
int32 resume_mode;
@verbatim (language="comment", text=
"Topic name to use for timestamp-based resume evaluation." "\n"
"If empty, evaluate using messages from all topics.")
string tracking_topic_name;
};
module Resume_Response_Constants {
const int32 RETURN_CODE_SUCCESS = 0;
const int32 RETURN_CODE_INVALID_RESUME_MODE = 1;
const int32 RETURN_CODE_INVALID_TRACKING_TOPIC = 2;
const int32 RETURN_CODE_RESUME_FAILED = 3;
};
@verbatim (language="comment", text=
"Return codes for Resume response.")
struct Resume_Response {
@verbatim (language="comment", text=
"Return code. Use RETURN_CODE_SUCCESS on success; otherwise use one of the error codes.")
int32 return_code;
@verbatim (language="comment", text=
"Error string. Empty if no error occurred.")
string error_string;
};
};
};