From a44ef793b30c0831694ca788aaaa4e51d083de0e Mon Sep 17 00:00:00 2001 From: Tommy Persson <tommy.persson@liu.se> Date: Sat, 22 Jun 2019 18:42:49 +0200 Subject: [PATCH] Work on signals. --- CMakeLists.txt | 5 +---- srv/TSTAbortExecutor.srv | 10 ---------- srv/TSTContinueExecutor.srv | 10 ---------- srv/TSTEnoughExecutor.srv | 10 ---------- srv/TSTPauseExecutor.srv | 10 ---------- srv/TSTSignalExecutor.srv | 10 ++++++++++ 6 files changed, 11 insertions(+), 44 deletions(-) delete mode 100644 srv/TSTAbortExecutor.srv delete mode 100644 srv/TSTContinueExecutor.srv delete mode 100644 srv/TSTEnoughExecutor.srv delete mode 100644 srv/TSTPauseExecutor.srv create mode 100644 srv/TSTSignalExecutor.srv diff --git a/CMakeLists.txt b/CMakeLists.txt index d753b4c..707b670 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,11 +56,8 @@ add_service_files( SMVisPolygon.srv SMVisPattern.srv SMVisGeopoint.srv - TSTAbortExecutor.srv - TSTContinueExecutor.srv TSTCreateExecutor.srv TSTDestroyExecutor.srv - TSTEnoughExecutor.srv TSTExecutorCheck.srv TSTExecutorCheckFromTni.srv TSTExecutorContinue.srv @@ -69,10 +66,10 @@ add_service_files( TSTExecutorGetConstraints.srv TSTExecutorGetConstraintsFromTni.srv TSTExecutorRequestPause.srv - TSTPauseExecutor.srv TSTRegisterExecutingTree.srv TSTDeregisterExecutingTree.srv TSTStartExecutor.srv + TSTSignalExecutor.srv ) ## Generate actions in the 'action' folder diff --git a/srv/TSTAbortExecutor.srv b/srv/TSTAbortExecutor.srv deleted file mode 100644 index a21b5b0..0000000 --- a/srv/TSTAbortExecutor.srv +++ /dev/null @@ -1,10 +0,0 @@ -# -# Abort the executor -# - -string ns # Namespace for the tstfactory -int32 id # id for the TST node in the tstfactory ---- -bool success -int32 error -string reason diff --git a/srv/TSTContinueExecutor.srv b/srv/TSTContinueExecutor.srv deleted file mode 100644 index 8e6150f..0000000 --- a/srv/TSTContinueExecutor.srv +++ /dev/null @@ -1,10 +0,0 @@ -# -# Continue the executor -# - -string ns # Namespace for the tstfactory -int32 id # id for the TST node in the tstfactory ---- -bool success -int32 error -string reason diff --git a/srv/TSTEnoughExecutor.srv b/srv/TSTEnoughExecutor.srv deleted file mode 100644 index dcaf2ed..0000000 --- a/srv/TSTEnoughExecutor.srv +++ /dev/null @@ -1,10 +0,0 @@ -# -# Enough the executor -# - -string ns # Namespace for the tstfactory -int32 id # id for the TST node in the tstfactory ---- -bool success -int32 error -string reason diff --git a/srv/TSTPauseExecutor.srv b/srv/TSTPauseExecutor.srv deleted file mode 100644 index 2599d56..0000000 --- a/srv/TSTPauseExecutor.srv +++ /dev/null @@ -1,10 +0,0 @@ -# -# Pause the executor -# - -string ns # Namespace for the tstfactory -int32 id # id for the TST node in the tstfactory ---- -bool success -int32 error -string reason diff --git a/srv/TSTSignalExecutor.srv b/srv/TSTSignalExecutor.srv new file mode 100644 index 0000000..287aa35 --- /dev/null +++ b/srv/TSTSignalExecutor.srv @@ -0,0 +1,10 @@ +# +# Signal the executor +# + +int32 id # id for the TST node in the tstfactory and in the executor map in the nodelets. +string signal # signal to add to the executor +--- +bool success +int32 error +string reason -- GitLab