Skip to content

Commit

Permalink
Docs: updated demo guide to download Apollo 3.5 demo record
Browse files Browse the repository at this point in the history
  • Loading branch information
jinghaomiao authored and natashadsouza committed May 15, 2019
1 parent b4c3140 commit 92e7d75
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
14 changes: 10 additions & 4 deletions docs/demo_guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,27 @@ Setup steps:
```
bash apollo.sh build_cpu
```

4. Bootstrap to start ros call and Monitor module and Dreamview
```
bash scripts/bootstrap.sh
```

5. Now you can play the record:
5. Download demo record:
```
cd docs/demo_guide/
python rosbag_helper.py demo_3.5.record
```

6. Now you can play the record:

```
cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop
```

The `--loop` option enables record to keep playing the bag in a loop
playback mode.
The `--loop` option enables record to keep playing the bag in a loop playback mode.

6. Open Chrome and go to **localhost:8888** to access Apollo Dreamview, which
7. Open Chrome and go to **localhost:8888** to access Apollo Dreamview, which
opens the screen below.
![](images/dv_trajectory.png)
The car in Dreamview is happy to move around!
Expand Down
25 changes: 23 additions & 2 deletions docs/demo_guide/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,36 @@ Apollo演示的安装步骤:
bash docker/scripts/dev_into.sh
```

3. 运行如下命令回放record:
3. 在Docker中编译Apollo:
```
bash apollo.sh build
```
`Note:` 如果没有GPU,请使用下面的命令

```
bash apollo.sh build_cpu
```

4. 启动DreamView
```
bash scripts/bootstrap.sh
```

5. 下载demo record:
```
cd docs/demo_guide/
python rosbag_helper.py demo_3.5.record
```

6. 运行如下命令回放record:

```
cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop
```

选项 `--loop` 用于设置循环回放模式.

4. 打开Chrome浏览器,在地址栏输入**localhost:8888**即可访问Apollo Dreamview,如下图所示:
7. 打开Chrome浏览器,在地址栏输入**localhost:8888**即可访问Apollo Dreamview,如下图所示:
![](images/dv_trajectory.png)
现在你能看到有一辆汽车在模拟器里移动!

Expand Down
Binary file removed docs/demo_guide/demo_3.5.record
Binary file not shown.
1 change: 1 addition & 0 deletions docs/demo_guide/rosbag_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"https://github.com/ApolloAuto/apollo/releases/download/v2.0.0/apollo_2.0_camera_sample.bag",
"https://github.com/ApolloAuto/apollo/releases/download/v2.5.0/demo_2.5.bag",
"https://github.com/ApolloAuto/apollo/releases/download/v1.0.0/demo_1.0.bag",
"https://github.com/ApolloAuto/apollo/releases/download/v3.5.0/demo_3.5.record",
]

URL_DICT = {}
Expand Down

0 comments on commit 92e7d75

Please sign in to comment.