From 86b463796d05887b3bd7dd83084eb42e60071c1f Mon Sep 17 00:00:00 2001 From: Tommy Persson <tommy.persson@liu.se> Date: Wed, 15 Mar 2017 11:13:09 +0100 Subject: [PATCH] Toward the new api --- CMakeLists.txt | 1 + srv/TSTExecutorGetConstraintsFromTni.srv | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 srv/TSTExecutorGetConstraintsFromTni.srv diff --git a/CMakeLists.txt b/CMakeLists.txt index 6032a3c..cbb09a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,7 @@ add_service_files( TSTExecutorExpand.srv TSTExecutorIsDelegationExpandable.srv TSTExecutorGetConstraints.srv + TSTExecutorGetConstraintsFromTni.srv TSTExecutorRequestPause.srv TSTPauseExecutor.srv TSTRegisterExecutingTree.srv diff --git a/srv/TSTExecutorGetConstraintsFromTni.srv b/srv/TSTExecutorGetConstraintsFromTni.srv new file mode 100644 index 0000000..ca09c46 --- /dev/null +++ b/srv/TSTExecutorGetConstraintsFromTni.srv @@ -0,0 +1,15 @@ +# +# Returns the constraints that are executor specific. +# +# An example is that for flyto what is returned is consraints on +# etime-stime which depends on the actual implementation of the +# flying and specified node parameters like flying speed. +# + +lrs_msgs_tst/TSTNodeInfo tni +--- +string[] variables +string[] constraints +bool success +int32 error +string reason -- GitLab