forked from autowarefoundation/autoware_universe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmrm_handler.schema.json
83 lines (83 loc) · 2.68 KB
/
mrm_handler.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Parameters for mrm handler",
"type": "object",
"definitions": {
"mrm_handler": {
"type": "object",
"properties": {
"update_rate": {
"type": "integer",
"description": "Timer callback period.",
"default": 10
},
"timeout_operation_mode_availability": {
"type": "number",
"description": "If the input `operation_mode_availability` topic cannot be received for more than `timeout_operation_mode_availability`, vehicle will make an emergency stop.",
"default": 0.5
},
"use_emergency_holding": {
"type": "boolean",
"description": "If this parameter is true, the handler does not recover to the NORMAL state.",
"default": false
},
"timeout_emergency_recovery": {
"type": "number",
"description": "If the duration of the EMERGENCY state is longer than `timeout_emergency_recovery`, it does not recover to the NORMAL state.",
"default": 5.0
},
"use_parking_after_stopped": {
"type": "boolean",
"description": "If this parameter is true, it will publish PARKING shift command.",
"default": "false"
},
"use_pull_over": {
"type": "boolean",
"description": "If this parameter is true, operate pull over when latent faults occur.",
"default": "false"
},
"use_comfortable_stop": {
"type": "boolean",
"description": "If this parameter is true, operate comfortable stop when latent faults occur.",
"default": "false"
},
"turning_hazard_on": {
"type": "object",
"properties": {
"emergency": {
"type": "boolean",
"description": "If this parameter is true, hazard lamps will be turned on during emergency state.",
"default": "true"
}
},
"required": ["emergency"]
}
},
"required": [
"update_rate",
"timeout_operation_mode_availability",
"use_emergency_holding",
"timeout_emergency_recovery",
"use_parking_after_stopped",
"use_pull_over",
"use_comfortable_stop",
"turning_hazard_on"
],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/mrm_handler"
}
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}