Skip to content

Commit

Permalink
feat(avoidance): make it selectable avoidance policy (autowarefoundat…
Browse files Browse the repository at this point in the history
…ion#505)

Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota authored and tkimura4 committed Aug 15, 2023
1 parent f72135d commit 691a9fe
Showing 1 changed file with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,23 @@
max_distance: 20.0 # [m]
stop_buffer: 1.0 # [m]

constraints:
# vehicle slows down under longitudinal constraints
use_constraints_for_decel: true # [-]
policy:
# policy for vehicle slow down behavior. select "best_effort" or "reliable".
# "best_effort": slow down deceleration & jerk are limited by constraints.
# but there is a possibility that the vehicle can't stop in front of the vehicle.
# "reliable": insert stop or slow down point with ignoring decel/jerk constraints.
# make it possible to increase chance to avoid but uncomfortable deceleration maybe happen.
deceleration: "best_effort" # [-]
# policy for avoidance lateral margin. select "best_effort" or "reliable".
# "best_effort": output avoidance path with shorten lateral margin when there is no enough longitudinal
# margin to avoid.
# "reliable": module output avoidance path with safe (rtc cooperate) state only when the vehicle can avoid
# with expected lateral margin.
lateral_margin: "best_effort" # [-]
# if true, module doesn't wait deceleration and outputs avoidance path by best effort margin.
use_shorten_margin_immediately: true # [-]

constraints:
# lateral constraints
lateral:
velocity: [2.78, 4.17, 11.1] # [m/s]
Expand Down

0 comments on commit 691a9fe

Please sign in to comment.