Skip to content

Commit

Permalink
Fix MD029 (#205)
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
kenji-miyake authored Aug 9, 2021
1 parent 9f8ecea commit dd584d5
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 37 deletions.
1 change: 0 additions & 1 deletion .markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ default: true
MD013: false
MD024:
siblings_only: true
MD029: false
MD033: false
MD041: false
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,33 @@ Currently the following traffic rules are considered in the reference implementa
Again, traffic rules might be different depending on country, and the requirement described here is for Japanese traffic rules.

1. **Crosswalk**

- Ego vehicle must stop if a pedestrian is within stop area shown in the image.
- Ego vehicle must stop if a pedestrian is expected to enter the stop area. (e.g. within 3 seconds)
- Ego vehicle must slow down (e.g. to 5km/h) when there is a pedestrian in the deceleration area shown in the image.
**rationale:** We don't want to make vehicle keep waiting for pedestrian to pass crosswalk completely. We want vehicle to start driving when pedestrian walks past the car.

![Crosswalk](image/Crosswalk.png)
![Crosswalk](image/Crosswalk.png)

2. **Intersection**

- Unless ego vehicle has right of way, Vehicle must stop before entering intersection whenever other vehicles are entering intersection.

![Intersection](image/Intersection.png)
![Intersection](image/Intersection.png)

3. **Stop Line (Stop Sign)**

- Vehicle must stop at stopline when it passes through the line.
- Stop line should be specified in the Semantic Map.

![Stopline](image/Stopline.png)
![Stopline](image/Stopline.png)

4. **Follow traffic light**

- Planning stack should refer to Perception output of the traffic light associated to driving lane.
- Speed profile of a trajectory at the associated stopline must be zero when relevant traffic light is red and it has enough distance to stop before the stopline with given deceleration configuration

![TrafficLight](image/TrafficLight.png)
![TrafficLight](image/TrafficLight.png)

## Design

Expand Down
54 changes: 27 additions & 27 deletions docs/developer_guide/knowhow/PortingToROS2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,43 @@ Do the following to setup and start ADE environment

1. Setup ade home

```sh
cd ~
mkdir ade-home
cd ade-home
touch .adehome
```
```sh
cd ~
mkdir ade-home
cd ade-home
touch .adehome
```

2. Setup AutowareArchitectureProposal

```sh
git clone https://github.com/tier4/AutowareArchitectureProposal
cd AutowareArchitectureProposal
git checkout ros2
```
```sh
git clone https://github.com/tier4/AutowareArchitectureProposal
cd AutowareArchitectureProposal
git checkout ros2
```

3. enter ADE

```sh
cd ~/ade-home/AutowareArchitectureProposal
ade start --update --enter
cd AutowareArchitectureProposal
```
```sh
cd ~/ade-home/AutowareArchitectureProposal
ade start --update --enter
cd AutowareArchitectureProposal
```

All commands that follow are to be entered in ADE. Next step is to fetch the sub-repos:
All commands that follow are to be entered in ADE. Next step is to fetch the sub-repos:

```sh
cd ~/AutowareArchitectureProposal
mkdir src
vcs import src < autoware.proj.repos
rosdep update
rosdep install -y --from-paths src --ignore-src --rosdistro foxy
colcon build --event-handlers console_cohesion+
```
```sh
cd ~/AutowareArchitectureProposal
mkdir src
vcs import src < autoware.proj.repos
rosdep update
rosdep install -y --from-paths src --ignore-src --rosdistro foxy
colcon build --event-handlers console_cohesion+
```

For instance, the `shift_decider` package is in the repository `github.com:tier4/pilot.auto.git`, which is now in the `autoware/pilot.auto` subdirectory.
For instance, the `shift_decider` package is in the repository `github.com:tier4/pilot.auto.git`, which is now in the `autoware/pilot.auto` subdirectory.

Now branch off `ros2` inside that subdirectory and delete the `COLCON_IGNORE` file in the package you want to port.
Now branch off `ros2` inside that subdirectory and delete the `COLCON_IGNORE` file in the package you want to port.

## Important changes

Expand Down
10 changes: 5 additions & 5 deletions docs/tutorial/QuickStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
1. [Download the sample pointcloud and vector maps](https://drive.google.com/open?id=197kgRfSomZzaSbRrjWTx614le2qN-oxx), unpack the zip archive and copy the two map files to the same folder.
2. Open a terminal and launch Autoware

```sh
cd ~/workspace/autoware.proj
source install/setup.bash
ros2 launch autoware_launch planning_simulator.launch.xml map_path:=/path/to/map_folder vehicle_model:=lexus sensor_model:=aip_xx1
```
```sh
cd ~/workspace/autoware.proj
source install/setup.bash
ros2 launch autoware_launch planning_simulator.launch.xml map_path:=/path/to/map_folder vehicle_model:=lexus sensor_model:=aip_xx1
```

3. Set an initial pose for the ego vehicle

Expand Down

0 comments on commit dd584d5

Please sign in to comment.