Skip to content

Commit c5cde40

Browse files
Ericpotatoxmfcx
authored andcommitted
docs(demos): add crosswalk passing guide in planning sim demo
Signed-off-by: Ericpotato <zhanhong.yan@tier4.jp>
1 parent 2025ab6 commit c5cde40

9 files changed

Lines changed: 43 additions & 0 deletions
786 KB
Loading
937 KB
Loading
929 KB
Loading
919 KB
Loading
435 KB
Loading
433 KB
Loading
433 KB
Loading
607 KB
Loading

docs/demos/planning-simulation.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,49 @@ To remove a traffic light from `TrafficLightPublishPanel`, click the `RESET` but
218218

219219
[Reference video tutorials](https://drive.google.com/file/d/1bs_dX1JJ76qHk-SGvS6YF9gmekkN8fz7/view?usp=sharing)
220220

221+
### Driving across a crosswalk
222+
223+
When driving across a crosswalk, ego vehicle will respond to objects on the crosswalk and the traffic light.
224+
You can check [crosswalk](https://autowarefoundation.github.io/autoware.universe/main/planning/behavior_velocity_crosswalk_module/) for more details
225+
226+
#### Non-signalized crosswalk
227+
228+
To pass through a non-signalized crosswalk, if the crosswalk is free of target objects, the ego vehicle will cross it without slowing down. However, if target objects are detected close to the planned path, the ego vehicle will slow down and stop for a yield decision. Once it's confirmed safe to proceed, the ego vehicle will start moving.
229+
230+
1. Set an initial pose and a goal pose for the ego vehicle driving across an non-signalized crosswalk. A path will be planned.
231+
232+
![unsignalized-placing-ego-vehicle](images/planning/passing-crosswalk/unsignalized-placing-ego-vehicle.png)
233+
234+
2. Place a dummy pedestrian on the crosswalk and set its pose as if it is crossing the street.
235+
236+
![unsignalized-crosswalk-start](images/planning/passing-crosswalk/unsignalized-crosswalk-start.png)
237+
238+
3. Engage the ego vehicle. The ego vehicle will decelerate and stop before the crosswalk. The marked **crosswalk** in the figure indicates that the stopping behavior is caused by the objects on the **crosswalk**.
239+
240+
![unsignalized-crosswalk-stop](images/planning/passing-crosswalk/unsignalized-crosswalk-stop.png)
241+
242+
4. Wait for about a few seconds. The ego vehicle will start moving again and cross the crosswalk.
243+
244+
![unsignalized-crosswalk-move-again](images/planning/passing-crosswalk/unsignalized-crosswalk-move-again.png)
245+
246+
#### Signalized crosswalk
247+
248+
1. Set the ego vehicle and a dummy pedestrian at an intersection, similar to the previous scenario. Given that the traffic light for vehicles is `GREEN` by default and the dummy pedestrian is close to the planned path, the ego vehicle behaves as it would at a non-signalized crosswalk, decelerating and stopping.
249+
250+
![signalized-placing-ego-vehicle](images/planning/passing-crosswalk/signalized-placing-ego-vehicle.png)
251+
252+
2. Delete the dummy pedestrian and set the traffic light to `RED`. The ego vehicle will decelerate and stop before the crosswalk. The marked **traffic_light** in the figure indicates that the stop is caused by the **traffic_light**. The ego vehicle will not move until the traffic light turns green.
253+
254+
![signalized-traffic-light-stop](images/planning/passing-crosswalk/signalized-traffic-light-stop.png)
255+
256+
3. Set a dummy pedestrian on the crosswalk again. It can be seen that both the **traffic_light** and **crosswalk** (the two markings may overlap) affect the stopping behavior.
257+
258+
![signalized-traffic-light-crosswalk-stop.png](images/planning/passing-crosswalk/signalized-traffic-light-crosswalk-stop.png)
259+
260+
4. Set the traffic light to `GREEN` and engage the vehicle, the ego vehicle will stop for a yield decision and then start moving.
261+
262+
![signalized-passing](images/planning/passing-crosswalk/signalized-passing.png)
263+
221264
## Using Autoware Launch GUI
222265

223266
This section provides a step-by-step guide on using the Autoware Launch GUI for planning simulations, offering an alternative to the command-line instructions provided in the Basic simulations section.

0 commit comments

Comments
 (0)