Skip to content

Commit bee8c48

Browse files
feat(obstacle_cruise_planner): yield function for ocp (#837)
* add params for yield Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com> * param name change Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp> * add params Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com> * refactoring Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp> * fix typo, tuning Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp> * update parameters Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp> * delete unused param Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp> * set cruise planner as default for testing Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com> * add param for stopped obj speed threshold Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com> * change back param Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com> * set default false Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com> --------- Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com> Signed-off-by: Daniel Sanchez <daniel.sanchez@tier4.jp>
1 parent 5d5b3a6 commit bee8c48

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

autoware_launch/config/planning/scenario_planning/lane_driving/motion_planning/obstacle_cruise_planner/obstacle_cruise_planner.param.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@
9595
obstacle_velocity_threshold : 3.5 # minimum velocity threshold of obstacles outside the trajectory to cruise or stop [m/s]
9696
ego_obstacle_overlap_time_threshold : 2.0 # time threshold to decide cut-in obstacle for cruise or stop [s]
9797
max_prediction_time_for_collision_check : 20.0 # prediction time to check collision between obstacle and ego
98-
98+
yield:
99+
enable_yield: false
100+
lat_distance_threshold: 5.0 # lateral margin between obstacle in neighbor lanes and trajectory band with ego's width for yielding
101+
max_lat_dist_between_obstacles: 2.5 # lateral margin between moving obstacle in neighbor lanes and stopped obstacle in front of it
102+
max_obstacles_collision_time: 10.0 # how far the blocking obstacle
103+
stopped_obstacle_velocity_threshold: 0.5
99104
slow_down:
100105
max_lat_margin: 1.1 # lateral margin between obstacle and trajectory band with ego's width
101106
lat_hysteresis_margin: 0.2

0 commit comments

Comments
 (0)