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
b4cce42a
Commit
b4cce42a
authored
2 years ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
fix: lint
parent
63c68473
dev
18-update-full-message-header-to-metadata
21-fix-git-raw-swagger-url
26-add-battery-endurance-for-platform-schema-in-planning-configuration
41-add-optional-operating_area-as-a-wider-zone-outside-region_of_interest
42-add-event-details-and-status-to-acknowledgement-schema
66-tag-current-dev-as-version-1
76-should-depth-and-altitude-be-coordinates
80-add-informational-type-primitive
87-remove-comment-for-platform-status-state
87-remove-todo-comment-from-platform-state
action-refactor-test
ci-js-test
master
missionmonitor
v2.0.0
v2.0.0-beta.11
v2.0.0-beta.10
v2.0.0-beta.9
v2.0.0-beta.8
v2.0.0-beta.7
v2.0.0-beta.6
v2.0.0-beta.5
v2.0.0-beta.4
v2.0.0-beta.3
v2.0.0-beta.2
v2.0.0-beta.1
v1.0.0
v0.2.0
v0.1.0
2 merge requests
!16
Resolve "Release v0.1"
,
!5
Add start point in action schema for mission plan & update platform status fields
Pipeline
#107798
passed with stages
in 1 minute and 17 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
12 deletions
+26
-12
formats/planning_configuration.py
formats/planning_configuration.py
+5
-1
formats/platform_status.py
formats/platform_status.py
+7
-4
project/soar/swagger.json
project/soar/swagger.json
+1
-1
tests/fixtures/schemas.py
tests/fixtures/schemas.py
+12
-5
tests/fixtures/swagger.json
tests/fixtures/swagger.json
+1
-1
No files found.
formats/planning_configuration.py
View file @
b4cce42a
...
@@ -37,7 +37,11 @@ emergency_schema = {
...
@@ -37,7 +37,11 @@ emergency_schema = {
"example"
:
{},
"example"
:
{},
},
},
},
},
"required"
:
[
"target_waypoint_latitude"
,
"target_waypoint_longitude"
,
"target_depth"
],
"required"
:
[
"target_waypoint_latitude"
,
"target_waypoint_longitude"
,
"target_depth"
,
],
}
}
...
...
This diff is collapsed.
Click to expand it.
formats/platform_status.py
View file @
b4cce42a
...
@@ -103,7 +103,7 @@ platform_status_schema = {
...
@@ -103,7 +103,7 @@ platform_status_schema = {
},
},
"mission_plan_ID"
:
{
"mission_plan_ID"
:
{
"type"
:
"integer"
,
"type"
:
"integer"
,
"description"
:
"Mission plan ID according to
local
platform-C2 system"
,
"description"
:
"Mission plan ID according to platform-C2 system"
,
"example"
:
1
,
"example"
:
1
,
},
},
"range_to_go"
:
{
"range_to_go"
:
{
...
@@ -138,19 +138,22 @@ platform_status_schema = {
...
@@ -138,19 +138,22 @@ platform_status_schema = {
},
},
"health_status"
:
{
"health_status"
:
{
"type"
:
"boolean"
,
"type"
:
"boolean"
,
"description"
:
"Health status where 0 is OK, 1 is platform has an ERROR"
,
"description"
:
"Health status where 0 is OK, 1 is platform has"
+
" an ERROR"
,
"example"
:
False
,
"example"
:
False
,
},
},
"localisation_north_error"
:
{
"localisation_north_error"
:
{
"type"
:
"number"
,
"type"
:
"number"
,
"format"
:
"float"
,
"format"
:
"float"
,
"description"
:
"Difference in NORTH between deadreckoning and USBL update."
,
"description"
:
"Difference in NORTH between deadreckoning"
+
" and USBL update."
,
"example"
:
0.000129
,
"example"
:
0.000129
,
},
},
"localisation_east_error"
:
{
"localisation_east_error"
:
{
"type"
:
"number"
,
"type"
:
"number"
,
"format"
:
"float"
,
"format"
:
"float"
,
"description"
:
"Difference in EAST between deadreckoning and USBL update."
,
"description"
:
"Difference in EAST between deadreckoning"
+
"and USBL update."
,
"example"
:
0.000129
,
"example"
:
0.000129
,
},
},
"usbl_fix_seconds_ago"
:
{
"usbl_fix_seconds_ago"
:
{
...
...
This diff is collapsed.
Click to expand it.
project/soar/swagger.json
View file @
b4cce42a
...
@@ -570,7 +570,7 @@
...
@@ -570,7 +570,7 @@
"type"
:
"string"
"type"
:
"string"
},
},
"mission_plan_ID"
:
{
"mission_plan_ID"
:
{
"description"
:
"Mission plan ID according to
local
platform-C2 system"
,
"description"
:
"Mission plan ID according to platform-C2 system"
,
"example"
:
1
,
"example"
:
1
,
"type"
:
"integer"
"type"
:
"integer"
},
},
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/schemas.py
View file @
b4cce42a
...
@@ -272,7 +272,11 @@ emergency_schema = {
...
@@ -272,7 +272,11 @@ emergency_schema = {
"example"
:
{},
"example"
:
{},
},
},
},
},
"required"
:
[
"target_waypoint_latitude"
,
"target_waypoint_longitude"
,
"target_depth"
],
"required"
:
[
"target_waypoint_latitude"
,
"target_waypoint_longitude"
,
"target_depth"
,
],
}
}
...
@@ -521,7 +525,7 @@ platform_status_schema = {
...
@@ -521,7 +525,7 @@ platform_status_schema = {
},
},
"mission_plan_ID"
:
{
"mission_plan_ID"
:
{
"type"
:
"integer"
,
"type"
:
"integer"
,
"description"
:
"Mission plan ID according to
local
platform-C2 system"
,
"description"
:
"Mission plan ID according to platform-C2 system"
,
"example"
:
1
,
"example"
:
1
,
},
},
"range_to_go"
:
{
"range_to_go"
:
{
...
@@ -557,19 +561,22 @@ platform_status_schema = {
...
@@ -557,19 +561,22 @@ platform_status_schema = {
},
},
"health_status"
:
{
"health_status"
:
{
"type"
:
"boolean"
,
"type"
:
"boolean"
,
"description"
:
"Health status where 0 is OK, 1 is platform has an ERROR"
,
"description"
:
"Health status where 0 is OK, 1 is platform"
+
" has an ERROR"
,
"example"
:
False
,
"example"
:
False
,
},
},
"localisation_north_error"
:
{
"localisation_north_error"
:
{
"type"
:
"number"
,
"type"
:
"number"
,
"format"
:
"float"
,
"format"
:
"float"
,
"description"
:
"Difference in NORTH between deadreckoning and USBL update."
,
"description"
:
"Difference in NORTH between deadreckoning"
+
" and USBL update."
,
"example"
:
0.000129
,
"example"
:
0.000129
,
},
},
"localisation_east_error"
:
{
"localisation_east_error"
:
{
"type"
:
"number"
,
"type"
:
"number"
,
"format"
:
"float"
,
"format"
:
"float"
,
"description"
:
"Difference in EAST between deadreckoning and USBL update."
,
"description"
:
"Difference in EAST between deadreckoning"
+
" and USBL update."
,
"example"
:
0.000129
,
"example"
:
0.000129
,
},
},
"usbl_fix_seconds_ago"
:
{
"usbl_fix_seconds_ago"
:
{
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/swagger.json
View file @
b4cce42a
...
@@ -551,7 +551,7 @@
...
@@ -551,7 +551,7 @@
"type"
:
"string"
"type"
:
"string"
},
},
"mission_plan_ID"
:
{
"mission_plan_ID"
:
{
"description"
:
"Mission plan ID according to
local
platform-C2 system"
,
"description"
:
"Mission plan ID according to platform-C2 system"
,
"example"
:
1
,
"example"
:
1
,
"type"
:
"integer"
"type"
:
"integer"
},
},
...
...
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