Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(lane_change): rearrange params for object filtering #697

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,29 @@

# safety check
safety_check:
target_object:
car: true
truck: true
bus: true
trailer: true
unknown: true
bicycle: true
motorcycle: true
pedestrian: true

velocity_threshold_to_ignore: 1.0 # [m/s] # object with velocity under this threshold will be ignored
check_during_prepare_segment: false # perform collision check during lane change prepare segment
check_all_predicted_path: true
check_objects_on_current_lanes: true
check_objects_on_other_lanes: true

# lane expansion for object filtering
lane_expansion:
left_offset: 0.0 # [m]
right_offset: 0.0 # [m]

allow_loose_check_for_cancel: true

execution:
expected_front_deceleration: -1.0
expected_rear_deceleration: -1.0
Expand All @@ -38,6 +60,7 @@
lateral_distance_max_threshold: 2.0
longitudinal_distance_min_threshold: 3.0
longitudinal_velocity_delta_time: 0.8

cancel:
expected_front_deceleration: -1.0
expected_rear_deceleration: -2.0
Expand All @@ -46,6 +69,7 @@
lateral_distance_max_threshold: 1.0
longitudinal_distance_min_threshold: 2.5
longitudinal_velocity_delta_time: 0.6

stuck:
expected_front_deceleration: -1.0
expected_rear_deceleration: -1.0
Expand All @@ -55,34 +79,12 @@
longitudinal_distance_min_threshold: 3.0
longitudinal_velocity_delta_time: 0.8

# lane expansion for object filtering
lane_expansion:
left_offset: 0.0 # [m]
right_offset: 0.0 # [m]

# lateral acceleration map
lateral_acceleration:
velocity: [0.0, 4.0, 10.0]
min_values: [0.15, 0.15, 0.15]
max_values: [0.5, 0.5, 0.5]

# target object
target_object:
car: true
truck: true
bus: true
trailer: true
unknown: true
bicycle: true
motorcycle: true
pedestrian: true

# collision check
enable_prepare_segment_collision_check: false
prepare_segment_ignore_object_velocity_thresh: 0.1 # [m/s]
check_objects_on_current_lanes: true
check_objects_on_other_lanes: true
use_all_predicted_path: true

# lane change regulations
regulation:
Expand Down
Loading