forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(behavior_path_planner): update pull_over module (#873)
* feat(behavior_path_planner): update pull_over module Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * use tf2_geometry_msgs/tf2_geometry_msgs.hpp for humble Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix werror of humble Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix test Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix goal change bug when starting drive Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
- Loading branch information
Showing
17 changed files
with
1,314 additions
and
426 deletions.
There are no files selected for viewing
61 changes: 45 additions & 16 deletions
61
...nning/lane_driving/behavior_planning/behavior_path_planner/pull_over/pull_over.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,25 +1,54 @@ | ||
/**: | ||
ros__parameters: | ||
pull_over: | ||
request_length: 100.0 | ||
th_arrived_distance_m: 1.0 | ||
th_stopped_velocity_mps: 0.01 | ||
th_stopped_time_sec: 2.0 # It must be greater than the state_machine's. | ||
pull_over_velocity: 2.0 | ||
pull_over_minimum_velocity: 0.3 | ||
margin_from_boundary: 0.5 | ||
decide_path_distance: 10.0 | ||
min_acc: -0.5 | ||
enable_shift_parking: true | ||
enable_arc_forward_parking: true | ||
enable_arc_backward_parking: false | ||
# goal research | ||
search_priority: "efficient_path" # "efficient_path" or "close_goal" | ||
enable_goal_research: true | ||
forward_goal_search_length: 20.0 | ||
backward_goal_search_length: 20.0 | ||
goal_search_interval: 1.0 | ||
goal_to_obj_margin: 2.0 | ||
# occupancy grid map | ||
collision_check_margin: 0.5 | ||
theta_size: 360 | ||
obstacle_threshold: 60 | ||
# shift path | ||
pull_over_sampling_num: 4 | ||
maximum_lateral_jerk: 2.0 | ||
minimum_lateral_jerk: 0.5 | ||
deceleration_interval: 15.0 | ||
maximum_deceleration: 1.0 | ||
after_pull_over_straight_distance: 5.0 | ||
before_pull_over_straight_distance: 5.0 | ||
# parallel parking path | ||
after_forward_parking_straight_distance: 2.0 | ||
after_backward_parking_straight_distance: 2.0 | ||
forward_parking_velocity: 0.3 | ||
backward_parking_velocity: -0.3 | ||
arc_path_interval: 1.0 | ||
# hazard_on when parked | ||
hazard_on_threshold_dis: 1.0 | ||
hazard_on_threshold_vel: 0.5 | ||
# check safety with dynamic objects. Not used now. | ||
pull_over_duration: 2.0 | ||
pull_over_prepare_duration: 4.0 | ||
min_stop_distance: 5.0 | ||
stop_time: 2.0 | ||
hysteresis_buffer_distance: 2.0 | ||
pull_over_prepare_duration: 4.0 | ||
pull_over_duration: 2.0 | ||
pull_over_finish_judge_buffer: 3.0 | ||
minimum_pull_over_velocity: 3.0 | ||
prediction_duration: 30.0 | ||
prediction_time_resolution: 0.5 | ||
static_obstacle_velocity_thresh: 1.5 | ||
maximum_deceleration: 1.0 | ||
enable_collision_check_at_prepare_phase: false | ||
use_predicted_path_outside_lanelet: false | ||
use_all_predicted_path: false | ||
enable_blocked_by_obstacle: false | ||
pull_over_search_distance: 30.0 | ||
after_pull_over_straight_distance: 5.0 | ||
before_pull_over_straight_distance: 5.0 | ||
margin_from_boundary: 0.5 | ||
maximum_lateral_jerk: 2.0 | ||
minimum_lateral_jerk: 0.5 | ||
deceleration_interval: 15.0 | ||
# debug | ||
print_debug_info: false |
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
62 changes: 45 additions & 17 deletions
62
planning/behavior_path_planner/config/pull_over/pull_over.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,26 +1,54 @@ | ||
/**: | ||
ros__parameters: | ||
pull_over: | ||
request_length: 100.0 | ||
th_arrived_distance_m: 1.0 | ||
th_stopped_velocity_mps: 0.01 | ||
th_stopped_time_sec: 2.0 # It must be greater than the state_machine's. | ||
pull_over_velocity: 2.0 | ||
pull_over_minimum_velocity: 0.3 | ||
margin_from_boundary: 0.5 | ||
decide_path_distance: 10.0 | ||
min_acc: -0.5 | ||
enable_shift_parking: true | ||
enable_arc_forward_parking: true | ||
enable_arc_backward_parking: false | ||
# goal research | ||
search_priority: "efficient_path" # "efficient_path" or "close_goal" | ||
enable_goal_research: true | ||
forward_goal_search_length: 20.0 | ||
backward_goal_search_length: 20.0 | ||
goal_search_interval: 1.0 | ||
goal_to_obj_margin: 2.0 | ||
# occupancy grid map | ||
collision_check_margin: 0.0 | ||
theta_size: 360 | ||
obstacle_threshold: 60 | ||
# shift path | ||
pull_over_sampling_num: 4 | ||
maximum_lateral_jerk: 2.0 | ||
minimum_lateral_jerk: 0.5 | ||
deceleration_interval: 15.0 | ||
maximum_deceleration: 1.0 | ||
after_pull_over_straight_distance: 5.0 | ||
before_pull_over_straight_distance: 5.0 | ||
# parallel parking path | ||
after_forward_parking_straight_distance: 2.0 | ||
after_backward_parking_straight_distance: 2.0 | ||
forward_parking_velocity: 0.3 | ||
backward_parking_velocity: -0.3 | ||
arc_path_interval: 1.0 | ||
# hazard. Not used now. | ||
hazard_on_threshold_dis: 1.0 | ||
hazard_on_threshold_vel: 0.5 | ||
# check safety with dynamic objects. Not used now. | ||
pull_over_duration: 2.0 | ||
pull_over_prepare_duration: 4.0 | ||
min_stop_distance: 5.0 | ||
stop_time: 2.0 | ||
hysteresis_buffer_distance: 2.0 | ||
pull_over_prepare_duration: 4.0 | ||
pull_over_duration: 2.0 | ||
pull_over_finish_judge_buffer: 3.0 | ||
minimum_pull_over_velocity: 3.0 | ||
prediction_duration: 30.0 | ||
prediction_time_resolution: 0.5 | ||
static_obstacle_velocity_thresh: 1.5 | ||
maximum_deceleration: 1.0 | ||
enable_abort_pull_over: false | ||
enable_collision_check_at_prepare_phase: false | ||
use_predicted_path_outside_lanelet: false | ||
use_all_predicted_path: false | ||
enable_blocked_by_obstacle: false | ||
pull_over_search_distance: 30.0 | ||
after_pull_over_straight_distance: 5.0 | ||
before_pull_over_straight_distance: 5.0 | ||
margin_from_boundary: 0.5 | ||
maximum_lateral_jerk: 2.0 | ||
minimum_lateral_jerk: 0.5 | ||
deceleration_interval: 15.0 | ||
# debug | ||
print_debug_info: false |
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
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
Oops, something went wrong.