Commit 65ff7639 authored by Trishna Saeharaseelan's avatar Trishna Saeharaseelan
Browse files

refactor(mission plan): add timeout per action

......@@ -21,7 +21,8 @@
"target_waypoint_latitude": -3.237143188645706,
"target_waypoint_longitude": 52.37072283932642,
"depth": 0.0,
"activate_payload": false
"activate_payload": false,
"timeout": 200
},
{
"action": "dive",
......@@ -31,7 +32,8 @@
"target_waypoint_latitude": -3.337143188645706,
"target_waypoint_longitude": 56.37072283932642,
"altitude": 10,
"activate_payload": false
"activate_payload": false,
"timeout": 200
},
{
"action": "scanline",
......@@ -41,7 +43,8 @@
"target_waypoint_latitude": -0.237143188645706,
"target_waypoint_longitude": 60.00000000000000,
"altitude": 10,
"activate_payload": true
"activate_payload": true,
"timeout": 200
},
{
"action": "climb",
......@@ -51,7 +54,8 @@
"target_waypoint_latitude": -0.237143188645706,
"target_waypoint_longitude": 52.37072283932642,
"depth": 0.0,
"activate_payload": false
"activate_payload": false,
"timeout": 200
}
]
}
......
......@@ -20,7 +20,8 @@
"target_waypoint_latitude": -3.237143188645706,
"target_waypoint_longitude": 52.37072283932642,
"depth": 0.0,
"activate_payload": false
"activate_payload": false,
"timeout": 300
},
{
"action": "dive",
......@@ -29,7 +30,8 @@
"target_waypoint_latitude": -3.337143188645706,
"target_waypoint_longitude": 56.37072283932642,
"altitude": 10,
"activate_payload": false
"activate_payload": false,
"timeout": 300
},
{
"action": "scanline",
......@@ -38,7 +40,8 @@
"target_waypoint_latitude": -0.237143188645706,
"target_waypoint_longitude": 60.00000000000000,
"altitude": 10,
"activate_payload": true
"activate_payload": true,
"timeout": 300
},
{
"action": "climb",
......@@ -47,7 +50,8 @@
"target_waypoint_latitude": -0.237143188645706,
"target_waypoint_longitude": 52.37072283932642,
"depth": 0.0,
"activate_payload": false
"activate_payload": false,
"timeout": 300
}
]
}
......
......@@ -20,7 +20,8 @@
"target_waypoint_latitude": -3.237143188645706,
"target_waypoint_longitude": 52.37072283932642,
"depth": 0.0,
"activate_payload": false
"activate_payload": false,
"timeout": 300
},
{
"action": "dive",
......@@ -29,7 +30,8 @@
"target_waypoint_latitude": -3.337143188645706,
"target_waypoint_longitude": 56.37072283932642,
"altitude": 10,
"activate_payload": false
"activate_payload": false,
"timeout": 300
},
{
"action": "scanline",
......@@ -38,7 +40,8 @@
"target_waypoint_latitude": -0.237143188645706,
"target_waypoint_longitude": 60.00000000000000,
"altitude": 10,
"activate_payload": true
"activate_payload": true,
"timeout": 300
},
{
"action": "climb",
......@@ -47,7 +50,8 @@
"target_waypoint_latitude": -0.237143188645706,
"target_waypoint_longitude": 52.37072283932642,
"depth": 0.0,
"activate_payload": false
"activate_payload": false,
"timeout": 300
}
]
}
......
......@@ -55,6 +55,12 @@ action_schema = {
+ "Hover-1 --> `MBES` sensor and for EcoSUB --> `Sidescan`",
"example": True,
},
"timeout": {
"type": "number",
"format": "float",
"description": "Timeout set to perform action",
"example": 1800.0,
},
},
"required": [
"target_waypoint_latitude",
......
......@@ -124,6 +124,12 @@
"example":true,
"type":"boolean"
},
"timeout": {
"description": "Timeout set to perform action",
"example": 1800.0,
"format": "float",
"type": "number"
},
"altitude":{
"description":"Altitude of next action",
"example":15.0,
......
......@@ -133,6 +133,12 @@ action_schema = {
+ "Hover-1 --> `MBES` sensor and for EcoSUB --> `Sidescan`",
"example": True,
},
"timeout": {
"type": "number",
"format": "float",
"description": "Timeout set to perform action",
"example": 1800.0,
},
},
"required": [
"target_waypoint_latitude",
......
......@@ -123,6 +123,12 @@
"example": true,
"type": "boolean"
},
"timeout": {
"description": "Timeout set to perform action",
"example": 1800.0,
"format": "float",
"type": "number"
},
"altitude": {
"description": "Altitude of next action",
"example": 15.0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment