Skip to content

Commit e4e3b61

Browse files
refactor(updated-map-based-prediction): rework parameters (autowarefoundation#5656)
updated-schema-file Signed-off-by: santosh-interplai <santosh@interpl.ai>
1 parent 4016c05 commit e4e3b61

File tree

1 file changed

+169
-0
lines changed

1 file changed

+169
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Parameters for Map Based Prediction",
4+
"type": "object",
5+
"definitions": {
6+
"map_based_prediction": {
7+
"type": "object",
8+
"properties": {
9+
"enable_delay_compensation": {
10+
"type": "boolean",
11+
"default": true,
12+
"description": "flag to enable the time delay compensation for the position of the object"
13+
},
14+
"prediction_time_horizon": {
15+
"type": "number",
16+
"default": "10.0",
17+
"description": "predict time duration for predicted path"
18+
},
19+
"lateral_control_time_horizon": {
20+
"type": "number",
21+
"default": "5.0",
22+
"description": "time duration for predicted path will reach the reference path (mostly center of the lane)"
23+
},
24+
"prediction_sampling_delta_time": {
25+
"type": "number",
26+
"default": "0.5",
27+
"description": "sampling time for points in predicted path"
28+
},
29+
"min_velocity_for_map_based_prediction": {
30+
"type": "number",
31+
"default": 1.39,
32+
"description": "apply map-based prediction to the objects with higher velocity than this value"
33+
},
34+
"min_crosswalk_user_velocity": {
35+
"type": "number",
36+
"default": 1.39,
37+
"description": "minimum velocity use in path prediction for crosswalk users"
38+
},
39+
"max_crosswalk_user_delta_yaw_threshold_for_lanelet": {
40+
"type": "number",
41+
"default": 0.785,
42+
"description": "maximum yaw difference between crosswalk user and lanelet to use in path prediction for crosswalk users"
43+
},
44+
"dist_threshold_for_searching_lanelet": {
45+
"type": "number",
46+
"default": 3.0,
47+
"description": "The threshold of the angle used when searching for the lane to which the object belongs "
48+
},
49+
"delta_yaw_threshold_for_searching_lanelet": {
50+
"type": "number",
51+
"default": 0.785,
52+
"description": "The threshold of the distance used when searching for the lane to which the object belongs"
53+
},
54+
"sigma_lateral_offset": {
55+
"type": "number",
56+
"default": 0.5,
57+
"description": "Standard deviation for lateral position of objects "
58+
},
59+
"sigma_yaw_angle_deg": {
60+
"type": "number",
61+
"default": 5.0,
62+
"description": "Standard deviation yaw angle of objects "
63+
},
64+
"object_buffer_time_length": {
65+
"type": "number",
66+
"default": 2.0,
67+
"description": "Time span of object history to store the information"
68+
},
69+
"history_time_length": {
70+
"type": "number",
71+
"default": 1.0,
72+
"description": "Time span of object information used for prediction"
73+
},
74+
"prediction_time_horizon_rate_for_validate_shoulder_lane_length": {
75+
"type": "number",
76+
"default": 0.8,
77+
"description": "prediction path will disabled when the estimated path length exceeds lanelet length. This parameter control the estimated path length"
78+
},
79+
"lane_change_detection": {
80+
"type": "object",
81+
"properties": {
82+
"time_to_change_lane": {
83+
"type": "object",
84+
"properties": {
85+
"dist_threshold_for_lane_change_detection": {
86+
"type": "number",
87+
"default": 1.0
88+
},
89+
"time_threshold_for_lane_change_detection": {
90+
"type": "number",
91+
"default": 5.0
92+
},
93+
"cutoff_freq_of_velocity_for_lane_change_detection": {
94+
"type": "number",
95+
"default": 0.1
96+
}
97+
},
98+
"required": [
99+
"dist_threshold_for_lane_change_detection",
100+
"time_threshold_for_lane_change_detection",
101+
"cutoff_freq_of_velocity_for_lane_change_detection"
102+
]
103+
},
104+
"lat_diff_distance": {
105+
"type": "object",
106+
"properties": {
107+
"dist_ratio_threshold_to_left_bound": {
108+
"type": "number",
109+
"default": -0.5
110+
},
111+
"dist_ratio_threshold_to_right_bound": {
112+
"type": "number",
113+
"default": 0.5
114+
},
115+
"diff_dist_threshold_to_left_bound": {
116+
"type": "number",
117+
"default": 0.29
118+
},
119+
"diff_dist_threshold_to_right_bound": {
120+
"type": "number",
121+
"default": -0.29
122+
}
123+
},
124+
"required": [
125+
"dist_ratio_threshold_to_left_bound",
126+
"dist_ratio_threshold_to_right_bound",
127+
"diff_dist_threshold_to_left_bound",
128+
"diff_dist_threshold_to_right_bound"
129+
]
130+
}
131+
}
132+
},
133+
"reference_path_resolution": {
134+
"type": "number",
135+
"default": 0.5,
136+
"description": "Standard deviation for lateral position of objects "
137+
}
138+
},
139+
"required": [
140+
"enable_delay_compensation",
141+
"prediction_time_horizon",
142+
"lateral_control_time_horizon",
143+
"prediction_sampling_delta_time",
144+
"min_velocity_for_map_based_prediction",
145+
"min_crosswalk_user_velocity",
146+
"max_crosswalk_user_delta_yaw_threshold_for_lanelet",
147+
"dist_threshold_for_searching_lanelet",
148+
"delta_yaw_threshold_for_searching_lanelet",
149+
"sigma_lateral_offset",
150+
"sigma_yaw_angle_deg",
151+
"object_buffer_time_length",
152+
"history_time_length",
153+
"prediction_time_horizon_rate_for_validate_shoulder_lane_length"
154+
]
155+
}
156+
},
157+
"properties": {
158+
"/**": {
159+
"type": "object",
160+
"properties": {
161+
"ros__parameters": {
162+
"$ref": "#/definitions/map_based_prediction"
163+
}
164+
},
165+
"required": ["ros__parameters"]
166+
}
167+
},
168+
"required": ["/**"]
169+
}

0 commit comments

Comments
 (0)