Skip to content

Commit 378e4ec

Browse files
committed
feat(out_of_lane): redesign to improve accuracy and performance (autowarefoundation#1117)
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
1 parent 554a2c1 commit 378e4ec

File tree

1 file changed

+10
-20
lines changed
  • autoware_launch/config/planning/scenario_planning/lane_driving/motion_planning/motion_velocity_planner

1 file changed

+10
-20
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,24 @@
11
/**:
22
ros__parameters:
33
out_of_lane: # module to stop or slowdown before overlapping another lane with other objects
4-
mode: ttc # mode used to consider a conflict with an object. "threshold", "intervals", or "ttc"
4+
mode: ttc # mode used to consider a conflict with an object. "threshold", or "ttc"
55
skip_if_already_overlapping: false # do not run this module when ego already overlaps another lane
66
ignore_overlaps_over_lane_changeable_lanelets: true # if true, overlaps on lane changeable lanelets are ignored
7+
max_arc_length: 100.0 # [m] maximum trajectory arc length that is checked for out_of_lane collisions
78

89
threshold:
910
time_threshold: 5.0 # [s] consider objects that will reach an overlap within this time
10-
intervals: # consider objects if their estimated time interval spent on the overlap intersect the estimated time interval of ego
11-
ego_time_buffer: 0.5 # [s] extend the ego time interval by this buffer
12-
objects_time_buffer: 0.5 # [s] extend the time intervals of objects by this buffer
1311
ttc:
14-
threshold: 3.0 # [s] consider objects with an estimated time to collision bellow this value while on the overlap
12+
threshold: 1.0 # [s] consider objects with an estimated time to collision bellow this value while on the overlap
1513

1614
objects:
1715
minimum_velocity: 0.5 # [m/s] objects lower than this velocity will be ignored
18-
use_predicted_paths: true # if true, use the predicted paths to estimate future positions.
19-
# if false, assume the object moves at constant velocity along *all* lanelets it currently is located in.
2016
predicted_path_min_confidence : 0.1 # when using predicted paths, ignore the ones whose confidence is lower than this value.
21-
distance_buffer: 1.0 # [m] distance buffer used to determine if a collision will occur in the other lane
2217
cut_predicted_paths_beyond_red_lights: true # if true, predicted paths are cut beyond the stop line of red traffic lights
2318
ignore_behind_ego: true # if true, objects behind the ego vehicle are ignored
2419

25-
overlap:
26-
minimum_distance: 0.0 # [m] minimum distance inside a lanelet for an overlap to be considered
27-
extra_length: 0.0 # [m] extra arc length to add to the front and back of an overlap (used to calculate enter/exit times)
28-
29-
action: # action to insert in the path if an object causes a conflict at an overlap
30-
skip_if_over_max_decel: true # if true, do not take an action that would cause more deceleration than the maximum allowed
31-
precision: 0.1 # [m] precision when inserting a stop pose in the path
20+
action: # action to insert in the trajectory if an object causes a conflict at an overlap
21+
precision: 0.1 # [m] precision when inserting a stop pose in the trajectory
3222
longitudinal_distance_buffer: 1.5 # [m] safety distance buffer to keep in front of the ego vehicle
3323
lateral_distance_buffer: 1.0 # [m] safety distance buffer to keep on the side of the ego vehicle
3424
min_duration: 1.0 # [s] minimum duration needed before a decision can be canceled
@@ -39,8 +29,8 @@
3929
distance_threshold: 15.0 # [m] insert a stop when closer than this distance from an overlap
4030

4131
ego:
42-
min_assumed_velocity: 2.0 # [m/s] minimum velocity used to calculate the enter and exit times of ego
43-
extra_front_offset: 0.0 # [m] extra front distance
44-
extra_rear_offset: 0.0 # [m] extra rear distance
45-
extra_right_offset: 0.0 # [m] extra right distance
46-
extra_left_offset: 0.0 # [m] extra left distance
32+
# extra footprint offsets to calculate out of lane collisions
33+
extra_front_offset: 0.0 # [m] extra footprint front distance
34+
extra_rear_offset: 0.0 # [m] extra footprint rear distance
35+
extra_right_offset: 0.0 # [m] extra footprint right distance
36+
extra_left_offset: 0.0 # [m] extra footprint left distance

0 commit comments

Comments
 (0)