Skip to content

Commit 43647db

Browse files
author
Ericpotato
committed
update tutorial scenario passing a crosswalk
Signed-off-by: Ericpotato <zhanhong.yan@tier4.jp>
1 parent cef822f commit 43647db

9 files changed

Lines changed: 32 additions & 2 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/tutorials/ad-hoc-simulation/planning-simulation.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,17 +218,47 @@ 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-
### Crosswalk stop simulation
221+
### Driving across a crosswalk
222222

223-
#### Update/Reset traffic light
223+
When driving across a crosswalk, ego vehicle will respond to objects on the crosswalk and the traffic light.
224+
225+
#### Unsignalized crosswalk
226+
227+
To pass through an unsignalized crosswalk, the ego vehicle will first slow down and stop for a safety check. Once safety is confirmed, the vehicle will proceed.
228+
229+
1. Set an initial pose and a goal pose of the ego vehicle driving across an unsignalized crosswalk. A path will be planned.
230+
231+
![unsignalized-placing-ego-vehicle](images/planning/passing-crosswalk/unsignalized-placing-ego-vehicle.png)
232+
233+
2. Place a dummy pedestrian on the crosswalk and set its pose as if it is crossing the street.
234+
235+
![unsignalized-crosswalk-start](images/planning/passing-crosswalk/unsignalized-crosswalk-start.png)
236+
237+
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 casued by the objects on the **crosswalk**.
238+
239+
![unsignalized-crosswalk-stop](images/planning/passing-crosswalk/unsignalized-crosswalk-stop.png)
240+
241+
4. Wait for about three seconds. The ego vehicle will start moving again and cross the crosswalk.
242+
243+
![unsignalized-crosswalk-move-again](images/planning/passing-crosswalk/unsignalized-crosswalk-move-again.png)
244+
245+
#### Signalized crosswalk
224246

247+
1. Set the ego vehicle and a dummy pedestrian at an intersection, similar to the previous scenario. Given that the traffic light is `GREEN` by default, the ego vehicle behaves as it does at an unsignalized crosswalk, decelerating and stopping.
225248

249+
![signalized-placing-ego-vehicle](images/planning/passing-crosswalk/signalized-placing-ego-vehicle.png)
226250

251+
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 casued by the **traffic_light**. The ego vehicle will not move until the traffic light turns green.
227252

253+
![signalized-traffic-light-stop](images/planning/passing-crosswalk/signalized-traffic-light-stop.png)
228254

255+
3. Set a dummy pedestrian on the crosswalk agian. It can be seen that both the **traffic_light** and **crosswalk** (the two markings may overlap) affact the stopping behavior.
229256

257+
![signalized-traffic-light-crosswalk-stop.png](images/planning/passing-crosswalk/signalized-traffic-light-crosswalk-stop.png)
230258

259+
4. Set the traffic light to `GREEN` and engage the vehicle, the ego vehicle will stop for safety check and start move again.
231260

261+
![signalized-passing](images/planning/passing-crosswalk/signalized-passing.png)
232262

233263
## Using Autoware Launch GUI
234264

0 commit comments

Comments
 (0)