-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(avodiance_by_lc): make it possible to configurate flexibly
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
- Loading branch information
1 parent
732bd5d
commit e3c1103
Showing
4 changed files
with
92 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 79 additions & 3 deletions
82
...riving/behavior_planning/behavior_path_planner/avoidance_by_lc/avoidance_by_lc.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,82 @@ | ||
/**: | ||
ros__parameters: | ||
avoidance_by_lane_change: | ||
execute_object_num: 1 | ||
execute_object_longitudinal_margin: 0.0 | ||
execute_only_when_lane_change_finish_before_object: true | ||
execute_object_longitudinal_margin: 80.0 | ||
execute_only_when_lane_change_finish_before_object: false | ||
|
||
# avoidance is performed for the object type with true | ||
target_object: | ||
car: | ||
is_target: true # [-] | ||
execute_num: 2 # [-] | ||
moving_speed_threshold: 1.0 # [m/s] | ||
moving_time_threshold: 1.0 # [s] | ||
max_expand_ratio: 0.0 # [-] | ||
envelope_buffer_margin: 0.3 # [m] | ||
avoid_margin_lateral: 0.0 # [m] | ||
safety_buffer_lateral: 0.0 # [m] | ||
truck: | ||
is_target: true | ||
execute_num: 2 | ||
moving_speed_threshold: 1.0 # 3.6km/h | ||
moving_time_threshold: 1.0 | ||
max_expand_ratio: 0.0 | ||
envelope_buffer_margin: 0.3 | ||
avoid_margin_lateral: 0.0 | ||
safety_buffer_lateral: 0.0 | ||
bus: | ||
is_target: true | ||
execute_num: 2 | ||
moving_speed_threshold: 1.0 # 3.6km/h | ||
moving_time_threshold: 1.0 | ||
max_expand_ratio: 0.0 | ||
envelope_buffer_margin: 0.3 | ||
avoid_margin_lateral: 0.0 | ||
safety_buffer_lateral: 0.0 | ||
trailer: | ||
is_target: true | ||
execute_num: 2 | ||
moving_speed_threshold: 1.0 # 3.6km/h | ||
moving_time_threshold: 1.0 | ||
max_expand_ratio: 0.0 | ||
envelope_buffer_margin: 0.3 | ||
avoid_margin_lateral: 0.0 | ||
safety_buffer_lateral: 0.0 | ||
unknown: | ||
is_target: true | ||
execute_num: 1 | ||
moving_speed_threshold: 0.28 # 1.0km/h | ||
moving_time_threshold: 1.0 | ||
max_expand_ratio: 0.0 | ||
envelope_buffer_margin: 0.3 | ||
avoid_margin_lateral: 0.0 | ||
safety_buffer_lateral: 0.0 | ||
bicycle: | ||
is_target: false | ||
execute_num: 2 | ||
moving_speed_threshold: 0.28 # 1.0km/h | ||
moving_time_threshold: 1.0 | ||
max_expand_ratio: 0.0 | ||
envelope_buffer_margin: 0.8 | ||
avoid_margin_lateral: 0.0 | ||
safety_buffer_lateral: 1.0 | ||
motorcycle: | ||
is_target: false | ||
execute_num: 2 | ||
moving_speed_threshold: 1.0 # 3.6km/h | ||
moving_time_threshold: 1.0 | ||
max_expand_ratio: 0.0 | ||
envelope_buffer_margin: 0.8 | ||
avoid_margin_lateral: 0.0 | ||
safety_buffer_lateral: 1.0 | ||
pedestrian: | ||
is_target: false | ||
execute_num: 2 | ||
moving_speed_threshold: 0.28 # 1.0km/h | ||
moving_time_threshold: 1.0 | ||
max_expand_ratio: 0.0 | ||
envelope_buffer_margin: 0.8 | ||
avoid_margin_lateral: 0.0 | ||
safety_buffer_lateral: 1.0 | ||
lower_distance_for_polygon_expansion: 0.0 # [m] | ||
upper_distance_for_polygon_expansion: 1.0 # [m] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters