Skip to content

Commit 245d3b8

Browse files
karishma1911kk2491
andcommitted
refactor(control-lane-departure-checker): rework parameters (autowarefoundation#5789)
* control-lane-departure-checker Signed-off-by: karishma <karishma@interpl.ai> * control-lane-departure-checker Signed-off-by: karishma <karishma@interpl.ai> --------- Signed-off-by: karishma <karishma@interpl.ai> Co-authored-by: KK <kishorkumar2491@gmail.com>
1 parent b9c5e71 commit 245d3b8

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Parameters for lane_departure_checker",
4+
"type": "object",
5+
"definitions": {
6+
"lane_departure_checker": {
7+
"type": "object",
8+
"properties": {
9+
"footprint_margin_scale": {
10+
"type": "number",
11+
"default": 1.0,
12+
"description": "Coefficient for expanding footprint margin. Multiplied by 1 standard deviation."
13+
},
14+
"resample_interval": {
15+
"type": "number",
16+
"default": 0.3,
17+
"description": "Minimum Euclidean distance between points when resample trajectory.[m]."
18+
},
19+
"max_deceleration": {
20+
"type": "number",
21+
"default": 2.8,
22+
"description": "Maximum deceleration when calculating braking distance."
23+
},
24+
"delay_time": {
25+
"type": "number",
26+
"default": 1.3,
27+
"description": "Delay time which took to actuate brake when calculating braking distance. [second]."
28+
},
29+
"max_lateral_deviation": {
30+
"type": "number",
31+
"default": 2.0,
32+
"description": "Maximum lateral deviation in vehicle coordinate. [m]."
33+
},
34+
"max_longitudinal_deviation": {
35+
"type": "number",
36+
"default": 2.0,
37+
"description": "Maximum longitudinal deviation in vehicle coordinate. [m]."
38+
},
39+
"max_yaw_deviation_deg": {
40+
"type": "number",
41+
"default": 60.0,
42+
"description": "Maximum ego yaw deviation from trajectory. [deg]."
43+
},
44+
"ego_nearest_dist_threshold": {
45+
"type": "number"
46+
},
47+
"ego_nearest_yaw_threshold": {
48+
"type": "number"
49+
},
50+
"min_braking_distance": {
51+
"type": "number"
52+
}
53+
},
54+
"required": [
55+
"footprint_margin_scale",
56+
"resample_interval",
57+
"max_deceleration",
58+
"max_lateral_deviation",
59+
"max_longitudinal_deviation",
60+
"max_yaw_deviation_deg",
61+
"ego_nearest_dist_threshold",
62+
"ego_nearest_yaw_threshold",
63+
"min_braking_distance"
64+
]
65+
}
66+
},
67+
"properties": {
68+
"/**": {
69+
"type": "object",
70+
"properties": {
71+
"ros__parameters": {
72+
"$ref": "#/definitions/lane_departure_checker"
73+
}
74+
},
75+
"required": ["ros__parameters"]
76+
}
77+
},
78+
"required": ["/**"]
79+
}

0 commit comments

Comments
 (0)