You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: evaluator/autoware_planning_evaluator/schema/autoware_planning_evaluator.schema.json
+153-8
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@
11
11
"type": "string",
12
12
"default": "base_link"
13
13
},
14
-
"selected_metrics": {
15
-
"description": "metrics to collect/record",
14
+
"metrics_for_publish": {
15
+
"description": "metrics to collect and publish",
16
16
"type": "array",
17
17
"items": {
18
18
"type": "string"
@@ -30,14 +30,53 @@
30
30
"lateral_deviation",
31
31
"yaw_deviation",
32
32
"velocity_deviation",
33
-
"lateral_trajectory_displacement",
33
+
"lateral_trajectory_displacement_local",
34
+
"lateral_trajectory_displacement_global",
34
35
"stability",
35
36
"stability_frechet",
36
37
"obstacle_distance",
37
38
"obstacle_ttc",
38
39
"modified_goal_longitudinal_deviation",
39
40
"modified_goal_lateral_deviation",
40
-
"modified_goal_yaw_deviation"
41
+
"modified_goal_yaw_deviation",
42
+
"stop_decision",
43
+
"abnormal_stop_decision",
44
+
"blinker_change_count",
45
+
"steer_change_count"
46
+
]
47
+
},
48
+
"metrics_for_output": {
49
+
"description": "metrics to output to json file when the node is terminated",
50
+
"type": "array",
51
+
"items": {
52
+
"type": "string"
53
+
},
54
+
"default": [
55
+
"curvature",
56
+
"point_interval",
57
+
"relative_angle",
58
+
"resampled_relative_angle",
59
+
"length",
60
+
"duration",
61
+
"velocity",
62
+
"acceleration",
63
+
"jerk",
64
+
"lateral_deviation",
65
+
"yaw_deviation",
66
+
"velocity_deviation",
67
+
"lateral_trajectory_displacement_local",
68
+
"lateral_trajectory_displacement_global",
69
+
"stability",
70
+
"stability_frechet",
71
+
"obstacle_distance",
72
+
"obstacle_ttc",
73
+
"modified_goal_longitudinal_deviation",
74
+
"modified_goal_lateral_deviation",
75
+
"modified_goal_yaw_deviation",
76
+
"stop_decision",
77
+
"abnormal_stop_decision",
78
+
"blinker_change_count",
79
+
"steer_change_count"
41
80
]
42
81
},
43
82
"trajectory": {
@@ -77,9 +116,111 @@
77
116
"default": 1.0
78
117
}
79
118
}
119
+
},
120
+
"stop_decision": {
121
+
"description": "stop decision object",
122
+
"type": "object",
123
+
"properties": {
124
+
"topic_prefix": {
125
+
"description": "prefix of the topic to subscribe to for planning factors",
126
+
"type": "string",
127
+
"default": "/planning/planning_factors/"
128
+
},
129
+
"time_count_threshold_s": {
130
+
"description": "time [s] threshold to count a stop as a new one",
131
+
"type": "number",
132
+
"default": 60.0
133
+
},
134
+
"dist_count_threshold_m": {
135
+
"description": "distance [m] threshold to count a stop as a new one",
136
+
"type": "number",
137
+
"default": 5.0
138
+
},
139
+
"abnormal_deceleration_threshold_mps2": {
140
+
"description": "abnormal deceleration threshold [m/s^2] to count a stop as abnormal",
141
+
"type": "number",
142
+
"default": 2.0
143
+
},
144
+
"module_list": {
145
+
"description": "list of modules to be checked for stop deciation, the `topic_prefix`/`module` topic should be available and publish the `autoware_internal_planning_msgs::PlanningFactorArray` message",
146
+
"type": "array",
147
+
"items": {
148
+
"type": "string"
149
+
},
150
+
"default": [
151
+
"avoidance_by_lane_change",
152
+
"behavior_path_planner",
153
+
"blind_spot",
154
+
"crosswalk",
155
+
"detection_area",
156
+
"dynamic_obstacle_avoidance",
157
+
"dynamic_obstacle_stop",
158
+
"goal_planner",
159
+
"intersection",
160
+
"lane_change_left",
161
+
"lane_change_right",
162
+
"motion_velocity_planner",
163
+
"merge_from_private",
164
+
"no_drivable_lane",
165
+
"no_stopping_area",
166
+
"obstacle_cruise",
167
+
"obstacle_cruise_planner",
168
+
"obstacle_slow_down",
169
+
"obstacle_stop",
170
+
"obstacle_stop_planner",
171
+
"occlusion_spot",
172
+
"out_of_lane",
173
+
"run_out",
174
+
"side_shift",
175
+
"start_planner",
176
+
"static_obstacle_avoidance",
177
+
"stop_line",
178
+
"surround_obstacle_checker",
179
+
"traffic_light",
180
+
"virtual_traffic_light",
181
+
"walkway"
182
+
]
183
+
}
184
+
}
185
+
},
186
+
"blinker_change_count": {
187
+
"description": "blinker change count object",
188
+
"type": "object",
189
+
"properties": {
190
+
"window_duration_s": {
191
+
"description": "window duration [s] to count blinker changes for publishing",
192
+
"type": "number",
193
+
"default": 5.0
194
+
}
195
+
}
196
+
},
197
+
"steer_change_count": {
198
+
"description": "steer change count object",
199
+
"type": "object",
200
+
"properties": {
201
+
"window_duration_s": {
202
+
"description": "window duration [s] to count steer changes for publishing",
203
+
"type": "number",
204
+
"default": 5.0
205
+
},
206
+
"steer_rate_margin_radps": {
207
+
"description": "margin of steer_rate [rad/s] around 0 to count as steer change",
0 commit comments