Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
backbone-message-format
Commits
dc538669
Verified
Commit
dc538669
authored
6 months ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
refactor: revert change to emergency schema
parent
735243de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
4 deletions
+35
-4
formats/planning_configuration.py
formats/planning_configuration.py
+18
-2
project/soar/swagger.json
project/soar/swagger.json
+17
-2
No files found.
formats/planning_configuration.py
View file @
dc538669
...
...
@@ -13,8 +13,24 @@ emergency_schema = {
+
" partner's platform/C2"
,
"example"
:
"go_home"
,
},
"target_waypoint"
:
{
"$ref"
:
"https://geojson.org/schema/Point.json"
,
"target_waypoint_latitude"
:
{
"type"
:
"number"
,
"format"
:
"float"
,
"description"
:
"Y-coordinate safe place for respective platform"
,
"example"
:
50.365
,
},
"target_waypoint_longitude"
:
{
"type"
:
"number"
,
"format"
:
"float"
,
"description"
:
"X-coordinate safe place for respective platform"
,
"example"
:
-
7.432
,
},
"target_depth"
:
{
"type"
:
"number"
,
"format"
:
"float"
,
"description"
:
"Z-coordinate safe place for respective platform"
+
" . If platform to NOT stay at depth, key in `0.0`"
,
"example"
:
10.0
,
},
},
"required"
:
[
...
...
This diff is collapsed.
Click to expand it.
project/soar/swagger.json
View file @
dc538669
...
...
@@ -1794,8 +1794,23 @@
"example"
:
"go_home"
,
"type"
:
"string"
},
"target_waypoint"
:
{
"$ref"
:
"#/components/schemas/geojson.org.schema.Point.json"
"target_depth"
:
{
"description"
:
"Z-coordinate safe place for respective platform . If platform to NOT stay at depth, key in `0.0`"
,
"example"
:
10.0
,
"format"
:
"float"
,
"type"
:
"number"
},
"target_waypoint_latitude"
:
{
"description"
:
"Y-coordinate safe place for respective platform"
,
"example"
:
50.365
,
"format"
:
"float"
,
"type"
:
"number"
},
"target_waypoint_longitude"
:
{
"description"
:
"X-coordinate safe place for respective platform"
,
"example"
:
-7.432
,
"format"
:
"float"
,
"type"
:
"number"
}
},
"required"
:
[
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment