Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
backbone-message-format backbone-message-format
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Communications Backbone System
  • backbone-message-formatbackbone-message-format
  • Merge requests
  • !54

Merged
Created 5 months ago by Trishna Saeharaseelan@trishnaOwner

Add new additional_data field (platform status)

  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 6

Closes #86 (closed)

  • Trishna Saeharaseelan @trishna changed milestone to %CB-2024W47 5 months ago

    changed milestone to %CB-2024W47

  • Trishna Saeharaseelan @trishna added Weight::1 label 5 months ago

    added Weight::1 label

  • Trishna Saeharaseelan @trishna assigned to @trishna 5 months ago

    assigned to @trishna

  • Trishna Saeharaseelan @trishna requested review from @danjon 5 months ago

    requested review from @danjon

  • Dan Jones @danjon approved this merge request 5 months ago

    approved this merge request

  • Trishna Saeharaseelan @trishna added 6 commits 5 months ago

    added 6 commits

    • 17510e21...c5a1ebd2 - 5 commits from branch 67-mas-dt
    • 5e533704 - fix: merge conflicts

    Compare with previous version

  • Trishna Saeharaseelan @trishna merged 5 months ago

    merged

  • Trishna Saeharaseelan @trishna mentioned in commit 55bba36b 5 months ago

    mentioned in commit 55bba36b

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • version 1
    17510e21
    5 months ago

  • 67-mas-dt (base)

and
  • latest version
    5e533704
    1 commit, 5 months ago

  • version 1
    17510e21
    1 commit, 5 months ago

6 files
+ 253
- 55
Show latest version
    File browser
    Compare changes
example‎s/mas-dt‎
mission_‎plan.json‎ +19 -1
planning_conf‎iguration.json‎ +5 -0
for‎mats‎
mission‎_plan.py‎ +23 -0
planning_con‎figuration.py‎ +56 -16
projec‎t/soar‎
swagge‎r.json‎ +141 -38
CHANGE‎LOG.md‎ +9 -0
examples/mas-dt/mission_plan.json
+ 19
- 1
  • View file @ 5e533704

  • Edit in single-file editor

  • Edit in Web IDE


Files with large changes are collapsed by default.

Show all unchanged lines Show 20 lines
"message_type": "mission_plan",
"platform_ID": "alr-52",
"autonomy_engine_plan_ID": "a427003c-0000-11aa-a1eb-b1cdf2342fcc",
"partial": false,
"plan": [
{
"action": "move",
Show 20 lines Show all unchanged lines Show 20 lines
]
}
}
]
],
"goal": {
"timestamp": "2024-11-21T00:00:00Z",
"feature": {
"type": "Feature",
"properties": {
"name": "MAS-DT west",
"type": "target primitive"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.0071,
50.3707
]
}
}
}
}
}
\ No newline at end of file
examples/mas-dt/planning_configuration.json
+ 5
- 0
  • View file @ 5e533704

  • Edit in single-file editor

  • Edit in Web IDE


Files with large changes are collapsed by default.

Show all unchanged lines Show 20 lines
50.335942
]
}
},
"options": {
"repeat": true,
"reverse": true,
"acceptance_radius_m": 3000
}
}
]
Show 20 lines Show all unchanged lines
formats/mission_plan.py
+ 23
- 0
  • View file @ 5e533704

  • Edit in single-file editor

  • Edit in Web IDE


Files with large changes are collapsed by default.

Show all unchanged lines Show 20 lines
],
}
goal_schema = {
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp of last state change when autonomy model"
+ " sets this goal",
"example": "2024-11-21T00:00:00Z",
},
"feature": {
"$ref": "https://geojson.org/schema/Feature.json",
},
},
}
mission_plan_schema = {
"type": "object",
"properties": {
Show 20 lines Show all unchanged lines Show 20 lines
"default": False,
"example": False,
},
"partial": {
"type": "boolean",
"description": "To indicate if this mission plan represents a "
+ "partial (`true`) or the entire (`false`) mission plan. E.g."
+ "Partial would be `true` if a full mission plan is broken down into multiple plans.",
"example": False,
},
"plan": {
"type": "array",
"items": action_schema,
},
"goal": goal_schema,
},
"oneOf": [
{
Show 20 lines Show all unchanged lines
formats/planning_configuration.py
+ 56
- 16
  • View file @ 5e533704

  • Edit in single-file editor

  • Edit in Web IDE


Files with large changes are collapsed by default.

Show all unchanged lines Show 20 lines
],
}
primitive_schema = {
options_schema = {
"type": "object",
"properties": {
"instruction": {
"type": "string",
"enum": [
"stay_inside",
"stay_outside",
"navigate_to",
"follow",
"repeat",
"cover",
],
"description": "How the associated feature should be used",
},
"feature": {
"$ref": "https://geojson.org/schema/Feature.json",
"repeat": {
"type": "boolean",
"description": "Repeat these set of primitives in order (e.g. 1->2->3->1->2...)",
"example": True,
},
"reverse": {
"type": "boolean",
"description": "Loop backwards through the set of primitives (e.g 1->2->-3->2->1...)",
"example": True,
},
"acceptance_radius_m": {
"type": "number",
"format": "float",
"description": "Acceptance radius (if applicable) to points of geometry in metres",
"example": 10000,
},
},
"required": ["feature"],
}
primitive_schema = {
"oneOf": [
{
"properties": {
"instruction": {
"type": "string",
"enum": [
"navigate_to",
"follow",
],
"description": "How the associated feature should be used",
},
"options": options_schema,
"feature": {
"$ref": "https://geojson.org/schema/Feature.json",
},
},
"required": ["feature", "instruction"],
},
{
"properties": {
"instruction": {
"type": "string",
"enum": [
"stay_inside",
"stay_outside",
"cover",
"informational",
],
"description": "How the associated feature should be used",
},
"feature": {
"$ref": "https://geojson.org/schema/Feature.json",
},
},
"required": ["feature", "instruction"],
},
]
}
squad_metadata_schema = {
Show 20 lines Show all unchanged lines
project/soar/swagger.json
+ 141
- 38
  • View file @ 5e533704

  • Edit in single-file editor

  • Edit in Web IDE


Files with large changes are collapsed by default.

Show all unchanged lines Show 20 lines
"example": false,
"type": "boolean"
},
"goal": {
"properties": {
"feature": {
"$ref": "#/components/schemas/geojson.org.schema.Feature.json"
},
"timestamp": {
"description": "Timestamp of last state change when autonomy model sets this goal",
"example": "2024-11-21T00:00:00Z",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"message_type": {
"description": "Type of message",
"enum": [
Show 20 lines Show all unchanged lines Show 20 lines
"example": "mission_plan",
"type": "string"
},
"partial": {
"description": "To indicate if this mission plan represents a partial (`true`) or the entire (`false`) mission plan. E.g.Partial would be `true` if a full mission plan is broken down into multiple plans.",
"example": false,
"type": "boolean"
},
"plan": {
"items": {
"oneOf": [
Show 20 lines Show all unchanged lines Show 20 lines
"primitives": {
"description": "Specification primitives - campaign-wide such as operating area and obstacles",
"items": {
"properties": {
"feature": {
"$ref": "#/components/schemas/geojson.org.schema.Feature.json"
"oneOf": [
{
"properties": {
"feature": {
"$ref": "#/components/schemas/geojson.org.schema.Feature.json"
},
"instruction": {
"description": "How the associated feature should be used",
"enum": [
"navigate_to",
"follow"
],
"type": "string"
},
"options": {
"properties": {
"acceptance_radius_m": {
"description": "Acceptance radius (if applicable) to points of geometry in metres",
"example": 10000,
"format": "float",
"type": "number"
},
"repeat": {
"description": "Repeat these set of primitives in order (e.g. 1->2->3->1->2...)",
"example": true,
"type": "boolean"
},
"reverse": {
"description": "Loop backwards through the set of primitives (e.g 1->2->-3->2->1...)",
"example": true,
"type": "boolean"
}
},
"type": "object"
}
},
"required": [
"feature",
"instruction"
]
},
"instruction": {
"description": "How the associated feature should be used",
"enum": [
"stay_inside",
"stay_outside",
"navigate_to",
"follow",
"repeat",
"cover"
],
"type": "string"
{
"properties": {
"feature": {
"$ref": "#/components/schemas/geojson.org.schema.Feature.json"
},
"instruction": {
"description": "How the associated feature should be used",
"enum": [
"stay_inside",
"stay_outside",
"cover",
"informational"
],
"type": "string"
}
},
"required": [
"feature",
"instruction"
]
}
},
"required": [
"feature"
],
"type": "object"
]
},
"type": "array"
},
Show 20 lines Show all unchanged lines Show 20 lines
"primitives": {
"description": "Squad primitives - includes platform group navigation instructions",
"items": {
"properties": {
"feature": {
"$ref": "#/components/schemas/geojson.org.schema.Feature.json"
"oneOf": [
{
"properties": {
"feature": {
"$ref": "#/components/schemas/geojson.org.schema.Feature.json"
},
"instruction": {
"description": "How the associated feature should be used",
"enum": [
"navigate_to",
"follow"
],
"type": "string"
},
"options": {
"properties": {
"acceptance_radius_m": {
"description": "Acceptance radius (if applicable) to points of geometry in metres",
"example": 10000,
"format": "float",
"type": "number"
},
"repeat": {
"description": "Repeat these set of primitives in order (e.g. 1->2->3->1->2...)",
"example": true,
"type": "boolean"
},
"reverse": {
"description": "Loop backwards through the set of primitives (e.g 1->2->-3->2->1...)",
"example": true,
"type": "boolean"
}
},
"type": "object"
}
},
"required": [
"feature",
"instruction"
]
},
"instruction": {
"description": "How the associated feature should be used",
"enum": [
"stay_inside",
"stay_outside",
"navigate_to",
"follow",
"repeat",
"cover"
],
"type": "string"
{
"properties": {
"feature": {
"$ref": "#/components/schemas/geojson.org.schema.Feature.json"
},
"instruction": {
"description": "How the associated feature should be used",
"enum": [
"stay_inside",
"stay_outside",
"cover",
"informational"
],
"type": "string"
}
},
"required": [
"feature",
"instruction"
]
}
},
"required": [
"feature"
],
"type": "object"
]
},
"type": "array"
},
Show 20 lines Show all unchanged lines
CHANGELOG.md
+ 9
- 0
  • View file @ 5e533704

  • Edit in single-file editor

  • Edit in Web IDE


Files with large changes are collapsed by default.

Show all unchanged lines Show 20 lines
## [Unreleased]
### Removed
- Removed "repeat" primitive instruction's enum (planning config)
### Added
- Additional_data field to platform_status to input any other data from a platform to be published
- Goal object in mission_plan message that consists of a GeoJSON feature (representing the part of primitive that is currently the goal of the given mission plan).
- A `partial` flag that indicates if a mission plan is a partial plan or the entire mission plan
- Added "informational" to enum for primitive's instruction enum (planning configuration)
- Options to primitives (under planning_configuration message) which is only a property when a primitive has an instruction of "follow" or "navigate_to"
- Validate message_ID matches uuid format
- Add definition of instruction_set message
- Added optional primitives to squad schema
### Changed
- Added "instruction" as required under the primitive schema (planning configuration)
- Refactor instructeion_set into platform_instruction_set
- Refactor mission_plan schema autonomy_engine_plan_ID oneOf
- Update all example messages with valid UUIDs
Show 20 lines Show all unchanged lines
Assignee
Trishna Saeharaseelan's avatar
Trishna Saeharaseelan
@trishna
Assign to
Reviewer
Dan Jones's avatar
@danjon
Request review from
CB-2024W47
Milestone
CB-2024W47 (Past due)
Assign milestone
None
Time tracking
No estimate or time spent
1
Labels
Weight::1
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
2
2 participants
user avatar
user avatar
Reference: communications-backbone-system/backbone-message-format!54
Source branch: 86-add-new-additional-field-in-platform-status

    0 pending comments