Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"srv/ListBagRecordings.srv"
"srv/DeleteMap.srv"
"srv/ListMaps.srv"
"srv/StartBagRetention.srv"
"srv/StopBagRetention.srv"
"action/GenerateOfflineMap.action"
DEPENDENCIES ${dependencies}
)
Expand Down
13 changes: 13 additions & 0 deletions srv/StartBagRetention.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Request

# Session suffix (optional, recommended)
string session_suffix

---
## Response

# Indicate successful run of service
bool success

# Error messages
string error
9 changes: 9 additions & 0 deletions srv/StopBagRetention.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Request
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given how generic this .srv is, why not just make it something like BasicRequest.srv?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah we can make a basic trigger request, since even StopBagRecording.srv is the same

---
## Response

# Indicate successful run of service
bool success

# Error messages
string error