|
2 | 2 | ros__parameters:
|
3 | 3 | ego_frame: base_link # reference frame of ego
|
4 | 4 |
|
5 |
| - selected_metrics: |
| 5 | + metrics_for_publish: |
6 | 6 | - curvature
|
7 | 7 | - point_interval
|
8 | 8 | - relative_angle
|
|
25 | 25 | - modified_goal_lateral_deviation
|
26 | 26 | - modified_goal_yaw_deviation
|
27 | 27 | - stop_decision
|
| 28 | + - abnormal_stop_decision |
| 29 | + - blinker_change_count |
| 30 | + - steer_change_count |
| 31 | + |
| 32 | + metrics_for_output: |
| 33 | + - curvature |
| 34 | + - point_interval |
| 35 | + - relative_angle |
| 36 | + - resampled_relative_angle |
| 37 | + - length |
| 38 | + - duration |
| 39 | + - velocity |
| 40 | + - acceleration |
| 41 | + - jerk |
| 42 | + - lateral_deviation |
| 43 | + - yaw_deviation |
| 44 | + - velocity_deviation |
| 45 | + - lateral_trajectory_displacement_local |
| 46 | + - lateral_trajectory_displacement_lookahead |
| 47 | + - stability |
| 48 | + - stability_frechet |
| 49 | + - obstacle_distance |
| 50 | + - obstacle_ttc |
| 51 | + - modified_goal_longitudinal_deviation |
| 52 | + - modified_goal_lateral_deviation |
| 53 | + - modified_goal_yaw_deviation |
| 54 | + - stop_decision |
| 55 | + - abnormal_stop_decision |
| 56 | + - blinker_change_count |
| 57 | + - steer_change_count |
28 | 58 |
|
29 | 59 | trajectory:
|
30 | 60 | min_point_dist_m: 0.1 # [m] minimum distance between two successive points to use for angle calculation
|
|
36 | 66 | obstacle:
|
37 | 67 | dist_thr_m: 1.0 # [m] distance between ego and the obstacle below which a collision is considered
|
38 | 68 |
|
39 |
| - planning_factor_counters: |
40 |
| - topic_prefix: /planning/planning_factors/ |
41 |
| - stop_decision: |
42 |
| - time_threshold_s: 5.0 # [s] time threshold for a stop to be considered as the new one |
43 |
| - dist_threshold_m: 5.0 # [m] distance threshold for a stop to be considered as the new one |
44 |
| - abnormal_deceleration_threshold: 2.0 # [m/s^2] deceleration threshold for a stop to be considered as abnormal |
45 |
| - module_list: # list of modules to be checked for stop deciation. |
46 |
| - - avoidance_by_lane_change |
47 |
| - - behavior_path_planner |
48 |
| - - blind_spot |
49 |
| - - crosswalk |
50 |
| - - detection_area |
51 |
| - - dynamic_obstacle_avoidance |
52 |
| - - dynamic_obstacle_stop |
53 |
| - - goal_planner |
54 |
| - - intersection |
55 |
| - - lane_change_left |
56 |
| - - lane_change_right |
57 |
| - - motion_velocity_planner |
58 |
| - - merge_from_private |
59 |
| - - no_drivable_lane |
60 |
| - - no_stopping_area |
61 |
| - - obstacle_cruise |
62 |
| - - obstacle_cruise_planner |
63 |
| - - obstacle_slow_down |
64 |
| - - obstacle_stop |
65 |
| - - obstacle_stop_planner |
66 |
| - - occlusion_spot |
67 |
| - - out_of_lane |
68 |
| - - run_out |
69 |
| - - side_shift |
70 |
| - - start_planner |
71 |
| - - static_obstacle_avoidance |
72 |
| - - stop_line |
73 |
| - - surround_obstacle_checker |
74 |
| - - traffic_light |
75 |
| - - virtual_traffic_light |
76 |
| - - walkway |
| 69 | + stop_decision: |
| 70 | + topic_prefix: /planning/planning_factors/ # topic prefix for planning factors |
| 71 | + time_count_threshold_s: 60.0 # [s] time threshold to count a stop as a new one |
| 72 | + dist_count_threshold_m: 5.0 # [m] distance threshold to count a stop as a new one |
| 73 | + abnormal_deceleration_threshold_mps2: 2.0 # [m/s^2] deceleration threshold for a stop to be considered as abnormal |
| 74 | + module_list: # list of modules to be checked for stop deciation. |
| 75 | + - avoidance_by_lane_change |
| 76 | + - behavior_path_planner |
| 77 | + - blind_spot |
| 78 | + - crosswalk |
| 79 | + - detection_area |
| 80 | + - dynamic_obstacle_avoidance |
| 81 | + - dynamic_obstacle_stop |
| 82 | + - goal_planner |
| 83 | + - intersection |
| 84 | + - lane_change_left |
| 85 | + - lane_change_right |
| 86 | + - motion_velocity_planner |
| 87 | + - merge_from_private |
| 88 | + - no_drivable_lane |
| 89 | + - no_stopping_area |
| 90 | + - obstacle_cruise |
| 91 | + - obstacle_cruise_planner |
| 92 | + - obstacle_slow_down |
| 93 | + - obstacle_stop |
| 94 | + - obstacle_stop_planner |
| 95 | + - occlusion_spot |
| 96 | + - out_of_lane |
| 97 | + - run_out |
| 98 | + - side_shift |
| 99 | + - start_planner |
| 100 | + - static_obstacle_avoidance |
| 101 | + - stop_line |
| 102 | + - surround_obstacle_checker |
| 103 | + - traffic_light |
| 104 | + - virtual_traffic_light |
| 105 | + - walkway |
| 106 | + |
| 107 | + blinker_change_count: |
| 108 | + window_duration_s: 5.0 # [s] window duration of counting blinker change for publishing |
| 109 | + |
| 110 | + steer_change_count: |
| 111 | + window_duration_s: 5.0 # [s] window duration of counting steer change for publishing |
| 112 | + steer_rate_margin_radps: 0.1 # [rad/s] margin of steer_rate around 0 to count as steer change |
77 | 113 |
|
78 | 114 | # TODO:
|
79 |
| -# 用一个metrics_counter.cpp/hpp,写一个大类,包含各种validate(或者自己counter,返回有效和无效即可)和所需参数。 |
80 |
| -# 在metrics_counter中为所有类以及两种stop,制造两个列表:一个列表:里面是structure保存上一个stop的时间地点和计数值。另一个列表是int,保存计数值。 |
| 115 | +# 写测试,做PR。 |
| 116 | +# 整理单元测试和schema。 |
| 117 | +# 整理READEME文档。 |
81 | 118 |
|
82 |
| -# 写一个onPlanningFactor的类,收集各factor并用metrics_counter验证记入成功或失败。 |
83 |
| -# ?是否需要publish当前的counter?或者publish counter成功/失败? |
|
0 commit comments