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
5ac359e6
Commit
5ac359e6
authored
2 months ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
refactor(autonomy): planning_config_ID to allow UUID or int
parent
d7535b2d
Pipeline
#261972
failed with stages
in 2 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
11 deletions
+21
-11
formats/autonomy.py
formats/autonomy.py
+21
-11
No files found.
formats/autonomy.py
View file @
5ac359e6
...
...
@@ -12,17 +12,27 @@ autonomy_schema = {
"example"
:
"autonomy"
,
"enum"
:
[
"autonomy"
],
},
"planning_config_ID"
:
{
"type"
:
"integer"
,
"description"
:
"Unique identifier of autonomy engine's planning config ID"
+
" configuration plan"
,
"example"
:
3
,
},
"version"
:
{
"type"
:
"string"
,
"description"
:
"Version of autonomy engine for given planning config ID"
,
"example"
:
"v1.0.0"
,
},
"oneOf"
:
[
{
"properties"
:
{
"planning_config_ID"
:
{
"type"
:
"string"
,
"format"
:
"uuid"
,
"pattern"
:
"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
,
"description"
:
"Unique identifier (uuid) for this specification version generated"
,
},
},
},
{
"properties"
:
{
"planning_config_ID"
:
{
"type"
:
"integer"
,
"description"
:
"Unique identifier (uuid) for this specification version generated"
,
"example"
:
2
,
},
},
},
],
"state"
:
{
"type"
:
"string"
,
"enum"
:
[
"start"
,
"stop"
],
...
...
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