Skip to content

Commit

Permalink
feat(obstacle_cruise_planner): implement slow down planner (#288)
Browse files Browse the repository at this point in the history
* feat(obstacle_cruise_planner): add param for slow down

Signed-off-by: Takayuki Murooka <[email protected]>

* update

Signed-off-by: Takayuki Murooka <[email protected]>

---------

Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 authored Apr 14, 2023
1 parent 57e5eda commit fbf9607
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
enable_debug_info: false
enable_calculation_time_info: false

enable_slow_down_planning: false
enable_slow_down_planning: true

# longitudinal info
idling_time: 2.0 # idling time to detect front vehicle starting deceleration [s]
Expand Down Expand Up @@ -93,7 +93,7 @@
max_prediction_time_for_collision_check : 20.0 # prediction time to check collision between obstacle and ego

slow_down:
max_lat_margin: 10.0 # lateral margin between obstacle and trajectory band with ego's width
max_lat_margin: 1.0 # lateral margin between obstacle and trajectory band with ego's width

cruise:
pid_based_planner:
Expand Down Expand Up @@ -160,11 +160,11 @@
over_j_weight: 10000.0

slow_down:
# parameters to calculate slow down velocity
max_lateral_margin: 5.0
min_lateral_margin: 3.0
max_ego_velocity: 10.0
min_ego_velocity: 3.0

# parameter for where to insert slow down point
max_deceleration: -2.0
# parameters to calculate slow down velocity by linear interpolation
min_lat_margin: 0.2
max_lat_margin: 1.0
min_ego_velocity: 2.0
max_ego_velocity: 8.0

# max deceleration during slow down
max_deceleration: -1.0

0 comments on commit fbf9607

Please sign in to comment.