Skip to content

Commit 030ad68

Browse files
pre-commit-ci[bot]oguzkaganozt
authored andcommitted
style(pre-commit): autofix
1 parent 6123a00 commit 030ad68

File tree

2 files changed

+35
-39
lines changed

2 files changed

+35
-39
lines changed

control/autoware_external_cmd_selector/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ The current mode is set via service, `remote` is remotely operated, `local` is t
3535

3636
## Parameters
3737

38-
{{json_to_markdown("/control/autoware_external_cmd_selector/schema/external_cmd_selector.schema.json")}}
38+
{{json_to_markdown("/control/autoware_external_cmd_selector/schema/external_cmd_selector.schema.json")}}
Lines changed: 34 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,36 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"title": "Parameters for external_cmd_selector",
4-
"type": "object",
5-
"definitions": {
6-
"external_cmd_selector_node": {
7-
"type": "object",
8-
"properties": {
9-
"update_rate": {
10-
"type": "number",
11-
"default": 10.0,
12-
"description": "The rate in Hz at which the external command selector node updates."
13-
},
14-
"initial_selector_mode": {
15-
"type": "string",
16-
"enum": ["local", "remote"],
17-
"default": "local",
18-
"description": "The initial mode for command selection, either 'local' or 'remote'."
19-
}
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Parameters for external_cmd_selector",
4+
"type": "object",
5+
"definitions": {
6+
"external_cmd_selector_node": {
7+
"type": "object",
8+
"properties": {
9+
"update_rate": {
10+
"type": "number",
11+
"default": 10.0,
12+
"description": "The rate in Hz at which the external command selector node updates."
2013
},
21-
"required": [
22-
"update_rate",
23-
"initial_selector_mode"
24-
]
25-
}
26-
},
27-
"properties": {
28-
"/**": {
29-
"type": "object",
30-
"properties": {
31-
"ros__parameters": {
32-
"$ref": "#/definitions/external_cmd_selector_node"
33-
}
34-
},
35-
"required": ["ros__parameters"]
36-
}
37-
},
38-
"required": ["/**"]
39-
}
40-
14+
"initial_selector_mode": {
15+
"type": "string",
16+
"enum": ["local", "remote"],
17+
"default": "local",
18+
"description": "The initial mode for command selection, either 'local' or 'remote'."
19+
}
20+
},
21+
"required": ["update_rate", "initial_selector_mode"]
22+
}
23+
},
24+
"properties": {
25+
"/**": {
26+
"type": "object",
27+
"properties": {
28+
"ros__parameters": {
29+
"$ref": "#/definitions/external_cmd_selector_node"
30+
}
31+
},
32+
"required": ["ros__parameters"]
33+
}
34+
},
35+
"required": ["/**"]
36+
}

0 commit comments

Comments
 (0)