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
011b8b15
Commit
011b8b15
authored
1 year ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
refactor: update information for hydrosurv and examples
parent
df7f866a
Pipeline
#132420
failed with stages
in 51 seconds
Changes
10
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1082 additions
and
917 deletions
+1082
-917
examples/autonomy_engine_adapter/mission_plan_HYDROSURV.json
examples/autonomy_engine_adapter/mission_plan_HYDROSURV.json
+2
-2
examples/autonomy_engine_adapter/planning_configuration.json
examples/autonomy_engine_adapter/planning_configuration.json
+2
-16
examples/gui_adapter/planning_configuration.json
examples/gui_adapter/planning_configuration.json
+2
-2
examples/hydrosurv_adapter/acknowledgement.json
examples/hydrosurv_adapter/acknowledgement.json
+2
-2
examples/hydrosurv_adapter/mission_plan.json
examples/hydrosurv_adapter/mission_plan.json
+2
-2
examples/hydrosurv_adapter/platform_status.json
examples/hydrosurv_adapter/platform_status.json
+2
-2
formats/planning_configuration.py
formats/planning_configuration.py
+1
-2
project/soar/swagger.json
project/soar/swagger.json
+2
-2
tests/fixtures/schemas.py
tests/fixtures/schemas.py
+1
-1
tests/fixtures/swagger.json
tests/fixtures/swagger.json
+1066
-886
No files found.
examples/autonomy_engine_adapter/mission_plan_HYDROSURV.json
View file @
011b8b15
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"version"
:
2
,
"source"
:
"autonomy_engine"
,
"source"
:
"autonomy_engine"
,
"destination"
:
"soar.hydrosurv.reav
-
60.
reav-60-1
.to_platform.mission_plan"
,
"destination"
:
"soar.hydrosurv.reav60.
usvdecibel
.to_platform.mission_plan"
,
"delivery_type"
:
"publish"
,
"delivery_type"
:
"publish"
,
"encoded"
:
false
"encoded"
:
false
},
},
"payload"
:{
"payload"
:{
"message_type"
:
"mission_plan"
,
"message_type"
:
"mission_plan"
,
"platform_ID"
:
"
reav-60-1
"
,
"platform_ID"
:
"
usvdecibel
"
,
"autonomy_engine_plan_ID"
:
1
,
"autonomy_engine_plan_ID"
:
1
,
"plan"
:
[
"plan"
:
[
{
{
...
...
This diff is collapsed.
Click to expand it.
examples/autonomy_engine_adapter/planning_configuration.json
View file @
011b8b15
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"version"
:
2
,
"version"
:
2
,
"source"
:
"gui"
,
"source"
:
"gui"
,
"destination"
:
"soar.all.all.all.from_platform.planning_configuration"
,
"destination"
:
"soar.all.all.all.from_platform.planning_configuration"
,
"delivery_type"
:
"
publish
"
,
"delivery_type"
:
"
broadcast
"
,
"encoded"
:
false
"encoded"
:
false
},
},
"payload"
:{
"payload"
:{
...
@@ -76,24 +76,10 @@
...
@@ -76,24 +76,10 @@
{
{
"operator"
:
"hydrosurv"
,
"operator"
:
"hydrosurv"
,
"model"
:
"reav"
,
"model"
:
"reav"
,
"platform_ID"
:
"
reav-60-1
"
,
"platform_ID"
:
"
usvdecibel
"
,
"active"
:
true
,
"active"
:
true
,
"emergency"
:
{
"target_waypoint_latitude"
:
50.33611100020795
,
"target_waypoint_longitude"
:
-4.189772466767039
,
"safe_command"
:
"go_home"
,
"target_depth"
:
10.0
},
"min_altitude"
:
0.0
,
"max_velocity"
:
0.9
,
"max_velocity"
:
0.9
,
"min_velocity"
:
0.1
,
"min_velocity"
:
0.1
,
"target_altitude"
:
0.0
,
"endurance_relative_to_water_speed"
:
{
"min_battery_rating"
:
2.25
,
"max_battery_rating"
:
1.23
,
"avg_battery_rating"
:
1.9
},
"additional_data"
:
{}
}
}
]
]
},
},
...
...
This diff is collapsed.
Click to expand it.
examples/gui_adapter/planning_configuration.json
View file @
011b8b15
...
@@ -75,8 +75,8 @@
...
@@ -75,8 +75,8 @@
"platforms"
:
[
"platforms"
:
[
{
{
"operator"
:
"hydrosurv"
,
"operator"
:
"hydrosurv"
,
"model"
:
"reav"
,
"model"
:
"reav
60
"
,
"platform_ID"
:
"
reav-60-1
"
,
"platform_ID"
:
"
usvdecibel
"
,
"active"
:
true
,
"active"
:
true
,
"emergency"
:
{
"emergency"
:
{
"target_waypoint_latitude"
:
50.33611100020795
,
"target_waypoint_latitude"
:
50.33611100020795
,
...
...
This diff is collapsed.
Click to expand it.
examples/hydrosurv_adapter/acknowledgement.json
View file @
011b8b15
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
1
,
"version"
:
1
,
"source"
:
"hydrosurv_adapter"
,
"source"
:
"hydrosurv_adapter"
,
"destination"
:
"soar.hydrosurv.reav
-
60.
reav-60-1
.from_platform.acknowledgement"
,
"destination"
:
"soar.hydrosurv.reav60.
usvdecibel
.from_platform.acknowledgement"
,
"delivery_type"
:
"publish"
,
"delivery_type"
:
"publish"
,
"encoded"
:
false
"encoded"
:
false
},
},
"payload"
:{
"payload"
:{
"message_type"
:
"acknowledgement"
,
"message_type"
:
"acknowledgement"
,
"autonomy_engine_plan_ID"
:
1
,
"autonomy_engine_plan_ID"
:
1
,
"platform_ID"
:
"
reav-60-1
"
,
"platform_ID"
:
"
usvdecibel
"
,
"approved"
:
false
"approved"
:
false
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
examples/hydrosurv_adapter/mission_plan.json
View file @
011b8b15
...
@@ -4,13 +4,13 @@
...
@@ -4,13 +4,13 @@
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"version"
:
2
,
"source"
:
"autonomy_engine"
,
"source"
:
"autonomy_engine"
,
"destination"
:
"soar.hydrosurv.reav
-
60.
reav-60-1
.to_platform.mission_plan"
,
"destination"
:
"soar.hydrosurv.reav60.
usvdecibel
.to_platform.mission_plan"
,
"delivery_type"
:
"publish"
,
"delivery_type"
:
"publish"
,
"encoded"
:
false
"encoded"
:
false
},
},
"payload"
:{
"payload"
:{
"message_type"
:
"mission_plan"
,
"message_type"
:
"mission_plan"
,
"platform_ID"
:
"
reav-60-1
"
,
"platform_ID"
:
"
usvdecibel
"
,
"autonomy_engine_plan_ID"
:
1
,
"autonomy_engine_plan_ID"
:
1
,
"plan"
:
[
"plan"
:
[
{
{
...
...
This diff is collapsed.
Click to expand it.
examples/hydrosurv_adapter/platform_status.json
View file @
011b8b15
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"timestamp"
:
"2022-11-16T00:00:00Z"
,
"version"
:
2
,
"version"
:
2
,
"source"
:
"hydrosurv_adapter"
,
"source"
:
"hydrosurv_adapter"
,
"destination"
:
"soar.hydrosurv.reav
-
60.
reav-60-1
.from_platform.platform_status"
,
"destination"
:
"soar.hydrosurv.reav60.
usvdecibel
.from_platform.platform_status"
,
"delivery_type"
:
"publish"
,
"delivery_type"
:
"publish"
,
"encoded"
:
false
"encoded"
:
false
},
},
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
"longitude"
:
-10.122
,
"longitude"
:
-10.122
,
"mission_plan_ID"
:
1
,
"mission_plan_ID"
:
1
,
"mission_track_ID"
:
4
,
"mission_track_ID"
:
4
,
"platform_ID"
:
"
reav-60-1
"
,
"platform_ID"
:
"
usvdecibel
"
,
"platform_state"
:
"ABORT"
,
"platform_state"
:
"ABORT"
,
"platform_timestamp"
:
"2022-12-21T00:00:00Z"
,
"platform_timestamp"
:
"2022-12-21T00:00:00Z"
,
"speed_over_ground"
:
4.5
,
"speed_over_ground"
:
4.5
,
...
...
This diff is collapsed.
Click to expand it.
formats/planning_configuration.py
View file @
011b8b15
...
@@ -8,7 +8,7 @@ emergency_schema = {
...
@@ -8,7 +8,7 @@ emergency_schema = {
"properties"
:
{
"properties"
:
{
"safe_command"
:
{
"safe_command"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"enum"
:
[
"go_home"
,
"abort_now"
,
"stop_
mission
"
],
"enum"
:
[
"go_home"
,
"abort_now"
,
"stop_
now"
,
"surface_now
"
],
"description"
:
"Command/Action that is native to respective"
"description"
:
"Command/Action that is native to respective"
+
" partner's platform/C2"
,
+
" partner's platform/C2"
,
"example"
:
"go_home"
,
"example"
:
"go_home"
,
...
@@ -178,7 +178,6 @@ platform_schema = {
...
@@ -178,7 +178,6 @@ platform_schema = {
"platform_ID"
,
"platform_ID"
,
"active"
,
"active"
,
"model"
,
"model"
,
"emergency"
,
"min_altitude"
,
"min_altitude"
,
"min_velocity"
,
"min_velocity"
,
"max_velocity"
,
"max_velocity"
,
...
...
This diff is collapsed.
Click to expand it.
project/soar/swagger.json
View file @
011b8b15
...
@@ -524,7 +524,8 @@
...
@@ -524,7 +524,8 @@
"enum"
:[
"enum"
:[
"go_home"
,
"go_home"
,
"abort_now"
,
"abort_now"
,
"stop_mission"
"stop_now"
,
"surface_now"
],
],
"example"
:
"go_home"
,
"example"
:
"go_home"
,
"type"
:
"string"
"type"
:
"string"
...
@@ -666,7 +667,6 @@
...
@@ -666,7 +667,6 @@
"platform_ID"
,
"platform_ID"
,
"active"
,
"active"
,
"model"
,
"model"
,
"emergency"
,
"min_altitude"
,
"min_altitude"
,
"min_velocity"
,
"min_velocity"
,
"max_velocity"
"max_velocity"
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/schemas.py
View file @
011b8b15
...
@@ -250,7 +250,7 @@ emergency_schema = {
...
@@ -250,7 +250,7 @@ emergency_schema = {
"properties"
:
{
"properties"
:
{
"safe_command"
:
{
"safe_command"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"enum"
:
[
"go_home"
,
"abort_now"
,
"stop_
mission
"
],
"enum"
:
[
"go_home"
,
"abort_now"
,
"stop_
now"
,
"surface_now
"
],
"description"
:
"Command/Action that is native to respective"
"description"
:
"Command/Action that is native to respective"
+
" partner's platform/C2"
,
+
" partner's platform/C2"
,
"example"
:
"go_home"
,
"example"
:
"go_home"
,
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/swagger.json
View file @
011b8b15
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