Skip to content

Commit

Permalink
Add SetKeyword and SetRelationship services
Browse files Browse the repository at this point in the history
  • Loading branch information
corot committed Jun 4, 2014
1 parent 87b84dc commit f4f45d8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ add_service_files(
PubAnnotationsData.srv
LoadAnnotationsData.srv
SaveAnnotationsData.srv
SetKeyword.srv
SetRelationship.srv
)

generate_messages(DEPENDENCIES std_msgs uuid_msgs geometry_msgs)
Expand Down
11 changes: 11 additions & 0 deletions srv/SetKeyword.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Add/remove a specific keyword to the specified annotation
uint8 ADD = 1
uint8 DEL = 2

uuid_msgs/UniqueID id
string keyword
uint8 action
---
# What went wrong, if anything
bool result
string message
11 changes: 11 additions & 0 deletions srv/SetRelationship.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Add/remove a specific relationship to the specified annotation
uint8 ADD = 1
uint8 DEL = 2

uuid_msgs/UniqueID id
uuid_msgs/UniqueID relationship
uint8 action
---
# What went wrong, if anything
bool result
string message

0 comments on commit f4f45d8

Please sign in to comment.