forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(behavior_velocity): add run out module (autowarefoundation#339)
* feat(behavior_velocity): add parameter yaml for behavior_velocity_planner Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> * feat(behavior_velocity): add run out module Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> * ci(pre-commit): autofix Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
5adf891
commit d702502
Showing
10 changed files
with
274 additions
and
25 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
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
18 changes: 18 additions & 0 deletions
18
..._driving/behavior_planning/behavior_velocity_planner/behavior_velocity_planner.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/**: | ||
ros__parameters: | ||
launch_stop_line: true | ||
launch_crosswalk: true | ||
launch_traffic_light: true | ||
launch_intersection: true | ||
launch_blind_spot: true | ||
launch_detection_area: true | ||
launch_virtual_traffic_light: true | ||
launch_occlusion_spot: true | ||
launch_no_stopping_area: true | ||
launch_run_out: false | ||
forward_path_length: 1000.0 | ||
backward_path_length: 5.0 | ||
max_accel: -2.8 | ||
max_jerk: -5.0 | ||
system_delay: 0.5 | ||
delay_response_time: 1.3 |
45 changes: 45 additions & 0 deletions
45
...ario_planning/lane_driving/behavior_planning/behavior_velocity_planner/run_out.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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/**: | ||
ros__parameters: | ||
run_out: | ||
detection_method: "Object" # [-] candidate: Object, ObjectWithoutPath, Points | ||
use_partition_lanelet: true # [-] whether to use partition lanelet map data | ||
specify_decel_jerk: false # [-] whether to specify jerk when ego decelerates | ||
stop_margin: 2.5 # [m] the vehicle decelerates to be able to stop with this margin | ||
passing_margin: 1.1 # [m] the vehicle begins to accelerate if the vehicle's front in predicted position is ahead of the obstacle + this margin | ||
deceleration_jerk: -0.3 # [m/s^3] ego decelerates with this jerk when stopping for obstacles | ||
obstacle_velocity_kph: 5.0 # [km/h] assumption for obstacle velocity | ||
detection_distance: 45.0 # [m] ahead distance from ego to detect the obstacles | ||
detection_span: 1.0 # [m] calculate collision with this span to reduce calculation time | ||
min_vel_ego_kmph: 3.6 # [km/h] min velocity to calculate time to collision | ||
|
||
# rectangle detection area for Points method | ||
# this will be replaced with more appropriate detection area | ||
detection_area_size: | ||
dist_ahead: 50.0 # [m] ahead distance from ego position | ||
dist_behind: 5.0 # [m] behind distance from ego position | ||
dist_right: 7.0 # [m] right distance from ego position | ||
dist_left: 7.0 # [m] left distance from ego position | ||
|
||
# parameter to create abstracted dynamic obstacles | ||
dynamic_obstacle: | ||
min_vel_kmph: 0.0 # [km/h] minimum velocity for dynamic obstacles | ||
max_vel_kmph: 5.0 # [km/h] maximum velocity for dynamic obstacles | ||
diameter: 0.1 # [m] diameter of obstacles. used for creating dynamic obstacles from points | ||
height: 2.0 # [m] height of obstacles. used for creating dynamic obstacles from points | ||
max_prediction_time: 10.0 # [sec] create predicted path until this time | ||
time_step: 0.5 # [sec] time step for each path step. used for creating dynamic obstacles from points or objects without path | ||
|
||
# approach if ego has stopped in the front of the obstacle for a certain amount of time | ||
approaching: | ||
enable: false | ||
margin: 0.0 # [m] distance on how close ego approaches the obstacle | ||
limit_vel_kmph: 3.0 # [km/h] limit velocity for approaching after stopping | ||
stop_thresh: 0.01 # [m/s] threshold to decide if ego is stopping | ||
stop_time_thresh: 3.0 # [sec] threshold for stopping time to transit to approaching state | ||
dist_thresh: 0.5 # [m] end the approaching state if distance to the obstacle is longer than stop_margin + dist_thresh | ||
|
||
# parameter to avoid sudden stopping | ||
slow_down_limit: | ||
enable: true | ||
max_jerk: -0.7 # [m/s^3] minimum jerk deceleration for safe brake. | ||
max_acc : -2.0 # [m/s^2] minimum accel deceleration for safe brake. |
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.