From 29d385c97f382e1c8c0d97ea4484da52dc73a6d5 Mon Sep 17 00:00:00 2001 From: Sebastian Jahr Date: Thu, 11 Jan 2024 18:03:08 +0100 Subject: [PATCH 1/3] Add service --- CMakeLists.txt | 1 + srv/GetGroupUrdf.srv | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 srv/GetGroupUrdf.srv diff --git a/CMakeLists.txt b/CMakeLists.txt index ba824c4..cb91cbf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,7 @@ set(srv_files "srv/RenameRobotStateInWarehouse.srv" "srv/DeleteRobotStateFromWarehouse.srv" "srv/ServoCommandType.srv" + "srv/GetGroupUrdf.srv" ) set(action_files diff --git a/srv/GetGroupUrdf.srv b/srv/GetGroupUrdf.srv new file mode 100644 index 0000000..048180c --- /dev/null +++ b/srv/GetGroupUrdf.srv @@ -0,0 +1,4 @@ +string group_name # Name of the planning group for which an URDF is requested +--- +bool success # indicate successful run of the service +string urdf_string # URDF of the requested group. Empty if request was not successful e.g. because the group does not exist \ No newline at end of file From 2e5ecadea5b915a348d814531b515a5c5767b903 Mon Sep 17 00:00:00 2001 From: Sebastian Jahr Date: Fri, 12 Jan 2024 13:41:16 +0100 Subject: [PATCH 2/3] Format --- srv/GetGroupUrdf.srv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srv/GetGroupUrdf.srv b/srv/GetGroupUrdf.srv index 048180c..33304db 100644 --- a/srv/GetGroupUrdf.srv +++ b/srv/GetGroupUrdf.srv @@ -1,4 +1,4 @@ string group_name # Name of the planning group for which an URDF is requested --- bool success # indicate successful run of the service -string urdf_string # URDF of the requested group. Empty if request was not successful e.g. because the group does not exist \ No newline at end of file +string urdf_string # URDF of the requested group. Empty if request was not successful e.g. because the group does not exist From d2d9874eea820f2a707442df7fe70f2cf1f28707 Mon Sep 17 00:00:00 2001 From: Sebastian Jahr Date: Mon, 15 Jan 2024 14:28:21 +0100 Subject: [PATCH 3/3] Format and use MoveItErrorCode --- srv/GetGroupUrdf.srv | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srv/GetGroupUrdf.srv b/srv/GetGroupUrdf.srv index 33304db..09df1de 100644 --- a/srv/GetGroupUrdf.srv +++ b/srv/GetGroupUrdf.srv @@ -1,4 +1,7 @@ -string group_name # Name of the planning group for which an URDF is requested +# Name of the planning group for which an URDF is requested +string group_name --- -bool success # indicate successful run of the service -string urdf_string # URDF of the requested group. Empty if request was not successful e.g. because the group does not exist +# Whether an error occurred +MoveItErrorCodes error_code +# URDF of the requested group. Empty if request was not successful e.g. because the group does not exist +string urdf_string