Skip to content

Commit 5c8d911

Browse files
search start pose
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
1 parent 8b27251 commit 5c8d911

5 files changed

+27
-121
lines changed

planning/behavior_path_start_planner_module/README.md

+26
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,32 @@ The approach to collision safety is divided into two main components: generating
138138

139139
- **Static obstacle clearance from the path**: This involves verifying that a sufficient margin around static obstacles is maintained. The process includes creating a vehicle-sized footprint from the current position to the pull-out endpoint, which can be adjusted via parameters. The distance to static obstacle polygons is then calculated. If this distance is below a specified threshold, the path is deemed unsafe. Threshold levels (e.g., [2.0, 1.0, 0.5, 0.1]) can be configured, and the system searches for paths that meet the highest possible threshold based on a set search priority explained in following section, ensuring the selection of the safe path based on the policy. If no path meets the minimum threshold, it's determined that no safe path is available.
140140

141+
```plantuml
142+
@startuml
143+
start
144+
:Generate start pose candidates;
145+
:Path generation\nbased on start pose and planner type;
146+
:Calculate distance to static obstacles;
147+
:Set threshold levels\n[2.0, 1.0, 0.5, 0.1 meters];
148+
repeat
149+
:Search for start pose\nmeeting current threshold;
150+
->[no] decrease Threshold;
151+
repeat while (Start pose found?) is (no)
152+
-> [yes] Proceed with path;
153+
if (Any Start Pose Meets Threshold?) then (yes)
154+
:Proceed with path;
155+
else (no)
156+
:Generate stop path;
157+
endif
158+
stop
159+
@enduml
160+
161+
```
162+
163+
<figure markdown>
164+
![start pose candidate](images/start_pose_candidate.drawio.svg){width=1100}
165+
</figure>
166+
141167
- **Clearance from stationary objects**: Maintaining an adequate distance from stationary objects positioned in front of and behind the vehicle is imperative for safety. Despite the path and stationary objects having a confirmed margin, the path is deemed unsafe if the distance from the shift start position to a front stationary object falls below `collision_check_margin_from_front_object` meters, or if the distance to a rear stationary object is shorter than `back_objects_collision_check_margin` meters.
142168

143169
- Why is a margin from the front object necessary?

planning/behavior_path_start_planner_module/images/collision_check_range.drawio.svg

-119
This file was deleted.

planning/behavior_path_start_planner_module/images/margin_from_front_object.drawio.svg

-1
This file was deleted.

planning/behavior_path_start_planner_module/images/margin_from_front_object_stuck.drawio.svg

-1
This file was deleted.

planning/behavior_path_start_planner_module/images/start_pose_candidate.drawio.svg

+1
Loading

0 commit comments

Comments
 (0)