Skip to content

Commit

Permalink
doc: add autonoma documentation to github page (#36)
Browse files Browse the repository at this point in the history
* doc: add autonoma documentation to github page

* doc: add doc status

* doc: add more explanation

* chore!: revert lfs

* doc: enable some part
  • Loading branch information
taikitanaka3 authored Nov 29, 2023
1 parent b7d5802 commit 2ef81b4
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 17 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.pcd filter=lfs diff=lfs merge=lfs -text
*.csv filter=lfs diff=lfs merge=lfs -text
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aichallenge2023-for-racing

[![.github/workflows/document.yml](https://github.com/AutomotiveAIChallenge/aichallenge2023-racing/actions/workflows/document.yml/badge.svg?branch=feature%2Fen)](https://github.com/AutomotiveAIChallenge/aichallenge2023-racing/actions/workflows/document.yml)
[![.github/workflows/document.yml](https://github.com/AutomotiveAIChallenge/aichallenge2023-racing/actions/workflows/document.yml/badge.svg?branch=main)](https://github.com/AutomotiveAIChallenge/aichallenge2023-racing/actions/workflows/document.yml)

  本リポジトリでは、2023年度の11月から1月にかけて実施される自動運転AIチャレンジRacing大会(仮称)でご利用いただくドキュメント・ファイルを提供しています。

Expand Down
60 changes: 58 additions & 2 deletions documentation/docfx_project/rule/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- コース境界から100秒以上離れた場合
- 走行完了は以下のゴール地点を超えた場合になります。
sampleは`docker/aichallenge/aichallenge_ws/src/aichallenge_submit/autoware_micro/goal_pose_setter/config/default_goal_pose.param.yaml`にあります。(※launch fileでのyaml fileの指定はされていません)
```
```yaml
goal.position.x: 21912.0
goal.position.y: 52267.5
```
Expand Down Expand Up @@ -67,4 +67,60 @@
### How to check results
 シミュレーションの内容と結果は、評価システムから出力されるjsonファイル及びシミュレーションの動画から確認可能とする予定です。追加のアナウンスをお待ちください。
  結果のスコアは`result.json`に送られます。
#### 結果のログ形式
  結果は`~/awsim-logs/result.json` に以下のフォーマットで出力されます。

```json
{
"rawLapTime": 72.77926,
"distanceScore": 457.0,
"lapTime": 302.779266,
"isLapCompleted": false,
"isTimeout": false,
"trackLimitsViolation": [
19, # out of track less than 2 sec
19, # out of track more than 2 sec
2, # out of track less than 5m
2, # out of track more than 5m
0 # not used
],
"collisionViolation": [
0, # collision less than 2 sec
0, # collision more than 2 sec
0, # not used
0 # not used
]
}
```

  また、その他のログとして`~/awsim-logs/verbose_result.json`も以下の形式で出力されます。

```json
{
"rawLapTime": 0.0,
"distanceScore": 0.0,
"lapTime": 0.0,
"isLapCompleted": false,
"isTimeout": false,
"boundsViolations": [
{
"distance": 0.3017645,
"distanceFromBound": 2.26600266,
"duration": 0.0160293132
},
{
"distance": 2.776487,
"distanceFromBound": 1.01412094,
"duration": 0.0801174641
},
{
"distance": 2.91162729,
"distanceFromBound": 1.1498549,
"duration": 0.08674298
},
....
]
"collisionViolations": []
}
```
13 changes: 13 additions & 0 deletions documentation/docfx_project/setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,16 @@ aichallenge2023-racing
rocker --device /dev/dri --x11 --user ... # CPU版
rocker --device /dev/dri --nvidia --x11 --user ... # GPU版
```
### 変更点の取り込み
#### dockerのupdate
```sh
docker pull ghcr.io/automotiveaichallenge/aichallenge2023-racing/autoware-universe-no-cuda
```

#### repositoryのupdate
```sh
cd aichallenge2023-racing # path to aichallenge2023-racing
git pull origin/main
```
30 changes: 23 additions & 7 deletions documentation/docfx_project/toc.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
- name: Top
href: index.html
- name: Introduction
href: intro/index.html
dropdown: true
items:
- name: introduction
href: intro/index.html
- name: Vehicle Gallery
href: https://autonomalabs.github.io/AWSIM/RacingSim/Gallery/vehicle/
- name: Vehicle Dynamics
href: https://autonomalabs.github.io/AWSIM/RacingSim/VehicleDynamics/
- name: Sensors Gallery
href: https://autonomalabs.github.io/AWSIM/RacingSim/Gallery/sensors/
- name: Racing Sensors
href: https://autonomalabs.github.io/AWSIM/RacingSim/Sensors/
- name: ROS2 Interface
href: https://autonomalabs.github.io/AWSIM/RacingSim/ROS2Interface/
- name: Setup
href: setup/index.html
- name: Rule
href: rule/index.html
- name: LocalEnvironment
href: local/index.html
- name: OnlineEnvironment
href: online/index.html
- name: Competition
dropdown: true
items:
- name: Rule
href: rule/index.html
- name: LocalEnvironment
href: local/index.html
- name: OnlineEnvironment
href: online/index.html
- name: Teams
href: teams/index.html
- name: Customizing Autoware
Expand Down
12 changes: 6 additions & 6 deletions documentation/docfx_project_en/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
# href: local/index.html
#- name: OnlineEnvironment
# href: online/index.html
#- name: Teams
# href: teams/index.html
- name: Teams
href: ../teams/index.html
#- name: Customizing Autoware
# href: customize/index.html
#- name: FAQ
# href: FAQ/index.html
#- name: Other
# href: other/index.html
- name: FAQ
href: ../FAQ/index.html
- name: Other
href: ../other/index.html
- name: To Japanese Page
href: ../index.html

0 comments on commit 2ef81b4

Please sign in to comment.