From b346c48ed2913eddc4742752bf408deaf1c04710 Mon Sep 17 00:00:00 2001
From: Tommy Persson <tommy.persson@liu.se>
Date: Tue, 3 May 2022 13:35:34 +0200
Subject: [PATCH] Adding hidden params to search-area

---
 specs/search_area.json | 36 ++++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/specs/search_area.json b/specs/search_area.json
index 3130368..b86a4ca 100644
--- a/specs/search_area.json
+++ b/specs/search_area.json
@@ -1,10 +1,38 @@
 {
+    "type": "tst node",    
     "desc": "This node specifies a search of an area given by a list of geopoints. The area is 'closed' by assuming a segment between the last and first position in the list of geopoints. It is allowed to prepare for moving inside the node, for example doing take-off before flying.",
     "key": "search-area",
     "status": "released",
     "tags": [
         "vehicle"
     ],
+    "tst-params": [
+        {
+            "desc": "The sensor type to use. Possible values: camera, laser, ...",
+            "key": "sensor-type",
+            "type": "string"
+        },
+        {
+            "desc": "The coverage on the ground to the side (one sides length) in meter.",
+            "key": "coverage-side",
+            "type": "float64"
+        },
+        {
+            "desc": "The coverage on the ground forward (same coverage backward) in meter.",
+            "key": "coverage-forward",
+            "type": "float64"
+        },
+        {
+            "desc": "height above ground in meter.",
+            "key": "height",
+            "type": "float64"
+        },
+        {
+            "desc": "Commanded speed.",
+            "key": "commanded-speed",
+            "type": "float64"
+        }
+    ],
     "task-params": [
         {
             "desc": "The area to search.",
@@ -17,7 +45,7 @@
             "type": "string"
         },
         {
-            "desc": "The type of the search target. Possible values: human, boat, ship, car, ...",
+            "desc": "The type of the search target. Possible values: person, boat, ship, car, ...",
             "key": "target-type",
             "type": "string"
         },
@@ -31,5 +59,9 @@
             "key": "target-size",
             "type": "float64"
         }
-    ]
+        
+    ],
+    "node-type": "terminal",
+    "required-params-for-execution": [],
+    "node-resources": []
 }
-- 
GitLab