dreamview_usage_table.md 9.5 KB
Newer Older
U
unacao 已提交
1 2
# Dreamview Usage Table

V
vlin17 已提交
3 4
Dreamview is a web application that 
1. visualizes the current output of relevant autonomous driving modules, e.g. planning trajectory, car localization, chassis status, etc. 
5
2. provides human-machine interface for users to view hardware status, turn on/off of modules, and start the autonomous driving car.
V
vlin17 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
3. provides debugging tools, such as PnC Monitor to efficiently track module issues.


## Layout and Features

The application layout divided into several regions: header, sidebar, main view, and tool view.

### Header
![](images/dreamview_usage_table/header.png) 

Depends on the mode chosen from the mode selector, the corresponding modules and commands, defined in [hmi.conf](https://github.com/ApolloAuto/apollo/blob/master/modules/dreamview/conf/hmi.conf), will be presented in the **Module Controller**, and **Quick Start**, respectively.

Note: navigation mode is for the purpose of low-cost feature introduced in apollo 2.5. Under this mode, Baidu (or Google) Map presents absolute position of the ego-vehicle, while main view has all objects and map elements presented in relative positions to the ego-vehicle. 

### Sidebar and Tool View
![](images/dreamview_usage_table/sidebar.png) 
22
Sidebar panel controls what is displayed in the tool view described below:
V
vlin17 已提交
23

24
#### Tasks
V
vlin17 已提交
25 26 27 28 29 30 31 32 33 34 35 36 37

![](images/dreamview_usage_table/tasks.png)

* Quick Start: commands supported from the selected mode. In general,

    **setup**: turns on all modules.

    **reset all**: turns off all modules.

    **start auto**: starts driving the vehicle autonomously.
* Others: switches and buttons for tools used frequently
* Module Delay: the time delay between two messages for each topic.
* Console: the monitor messages from the Apollo platform.
38
#### Module Controller
V
vlin17 已提交
39 40
![](images/dreamview_usage_table/module_controller.png) 
A panel to view the hardware status and turn on/off modules.
41
#### Layer Menu
V
vlin17 已提交
42 43 44

![](images/dreamview_usage_table/layer_menu.png) 
A  toggle menu for visual elements displays.
45
#### Route Editing
V
vlin17 已提交
46 47 48

![](images/dreamview_usage_table/route_editing.png)

49
#### Data Recorder
V
vlin17 已提交
50 51 52 53
![](images/dreamview_usage_table/data_recorder.png) 

A panel to report issues to drive event topic ("/apollo/drive_event") to rosbag. 

54
#### Default Routing
V
vlin17 已提交
55 56 57 58 59 60 61

![](images/dreamview_usage_table/default_routing.png) 

List of predefined routes or single points, known as point of interest (POI). 

If route editing is on, routing point(s) can be added visually on the map. 

62
If route editing is off, clicking a desired POI will send a routing request to the server. If the selected POI contains only a point, the start point of the routing request is the current position of the autonomous car; otherwise, the start position is the first point from the desired route.
V
vlin17 已提交
63 64 65 66 67 68 69 70 71 72 73


To edit POIs, see default_end_way_point.txt file under the directory of the map data. For example, if the map selected from the map selector is "Demo", then [default_end_way_point.txt](https://github.com/ApolloAuto/apollo/blob/master/modules/map/data/demo/default_end_way_point.txt) is located under modules/map/data/demo.

### Main view: 

![](images/dreamview_usage_table/mainview.png) 

Main view animated 3D computer graphics in a web browser. Elements in this view are listed in the table below:


U
unacao 已提交
74 75 76

| Visual Element                           | Depiction Explanation                    |
| ---------------------------------------- | ---------------------------------------- |
U
unacao 已提交
77 78 79 80 81
| ![](images/dreamview_usage_table/0clip_image002.png) | The autonomous car.                      |
| ![](images/dreamview_usage_table/0clip_image004.png) | <ul><li>The wheel steering percentage.</li> <li>The status of left/right turn signals.</li></ul> |
| ![](images/dreamview_usage_table/0clip_image003.png) | The traffic signal detected.             |
| ![](images/dreamview_usage_table/0clip_image005.png) | The driving mode (AUTO/DISENGAGED/MANUAL/etc.). |
| ![](images/dreamview_usage_table/0clip_image006.png) | <ul><li>The driving speed in km/h.</li> <li>The accelerator/brake percentage.</li></ul> |
V
vlin17 已提交
82 83 84 85 86 87 88 89 90
| ![](images/dreamview_usage_table/0clip_image026.png) | The  red thick line shows the routing suggestion. |
| ![](images/dreamview_usage_table/0clip_image038.png) | Nudge object decision -- the orange zone indicates the area to avoid. |
| ![](images/dreamview_usage_table/0clip_image062.png) | The  green thick curvy band indicates the planned trajectory. |

 
#### Obstacles

| Visual Element                           | Depiction Explanation                    |
| ---------------------------------------- | ---------------------------------------- |
U
unacao 已提交
91 92 93 94 95
| ![](images/dreamview_usage_table/0clip_image010.png) | Vehicle  obstacle.                       |
| ![](images/dreamview_usage_table/0clip_image012.png) | Pedestrian  obstacle.                    |
| ![](images/dreamview_usage_table/0clip_image014.png) | Bicycle  obstacle.                       |
| ![](images/dreamview_usage_table/0clip_image016.png) | Unknown  obstacle.                       |
| ![](images/dreamview_usage_table/0clip_image018.png) | The  velocity arrow shows the direction of the movement with the length  proportional to the magnitude. |
U
unacao 已提交
96
| ![](images/dreamview_usage_table/0clip_image020.png) | The  white arrow shows the directional heading of the obstacle. |
97
| ![](images/dreamview_usage_table/0clip_image022.png) | The  yellow text indicates: <ul><li>The tracking ID of the obstacle.</li><li>(distance from the ego-vehicle, speed)</li></ul>|
U
unacao 已提交
98
| ![](images/dreamview_usage_table/0clip_image024.png) | The  lines show the predicted movement of the obstacle with the same color as the  obstacle. |
V
vlin17 已提交
99 100 101 102

#### Planning Decision
##### Decision Fence

103
Decision fences reflect decisions made by planning module to ego-vehicle (main) and obstacles (objects). Each type of decision is presented in different color and icon as shown below:
V
vlin17 已提交
104 105 106

| Visual Element                           | Depiction Explanation                    |
| ---------------------------------------- | ---------------------------------------- |
U
unacao 已提交
107 108 109 110 111
| ![](images/dreamview_usage_table/0clip_image028.png) | **Stop** depicting the primary stopping reason. |
| ![](images/dreamview_usage_table/0clip_image030.png) | **Stop** depicting the object stopping reason. |
| ![2](images/dreamview_usage_table/0clip_image032.png) | **Follow** object.                       |
| ![](images/dreamview_usage_table/0clip_image034.png) | **Yield** object decision -- the dotted line connects with the respective object. |
| ![](images/dreamview_usage_table/0clip_image036.png) | **Overtake** object decision -- the dotted line connects with the respective  object. |
V
vlin17 已提交
112 113 114 115 116 117 118 119

Changing lane is a special decision that instead of having decision fence, a change lane icon shows on the autonomous car:

| Visual Element                           | Depiction Explanation                    |
| ---------------------------------------- | ---------------------------------------- |
| ![](images/dreamview_usage_table/change-lane-left.png) | change to **Left**  lane. |
| ![](images/dreamview_usage_table/change-lane-right.png) | change to **Right**  lane. |

120 121 122 123 124 125
When a yield decision is made based on the "Right of Way" laws at a stop-sign intersection, the obstacles to be yielded will have the yield icon on top:

| Visual Element                                       | Depiction Explanation          |
| ---------------------------------------------------- | ------------------------------ |
| ![](images/dreamview_usage_table/0clip_image037.png) | Obstacle to yield at stop sign |

V
vlin17 已提交
126 127 128 129 130 131
##### Stop reasons

When a STOP decision fence is shown, the reason to stop is displayed on the right side of the stop icon. Possible reasons and the corresponding icons are: 
 
| Visual Element                           | Depiction Explanation                    |
| ---------------------------------------- | ---------------------------------------- |
U
unacao 已提交
132 133 134 135 136 137 138 139 140 141 142
| ![](images/dreamview_usage_table/0clip_image040.png) | Stopping  reason: **Clear-zone in front.** |
| ![](images/dreamview_usage_table/0clip_image042.png) | Stopping  reason: **Crosswalk in front.** |
| ![](images/dreamview_usage_table/0clip_image044.png) | Stopping  reason: **Destination arrival.** |
| ![](images/dreamview_usage_table/0clip_image046.png) | Stopping  reason: **Emergency.**         |
| ![](images/dreamview_usage_table/0clip_image048.png) | Stopping  reason: **Auto mode is not ready.** |
| ![](images/dreamview_usage_table/0clip_image050.png) | Stopping  reason: **Obstacle is blocking the route.** |
| ![](images/dreamview_usage_table/0clip_image052.png) | Stopping  reason: **Pedestrian crossing in front.** |
| ![](images/dreamview_usage_table/0clip_image054.png) | Stopping  reason: **Traffic light is yellow/red.** |
| ![](images/dreamview_usage_table/0clip_image056.png) | Stopping  reason: **Vehicle in front.**  |
| ![](images/dreamview_usage_table/0clip_image058.png) | Stopping  reason: **Stop sign in front.** |
| ![](images/dreamview_usage_table/0clip_image060.png) | Stopping  reason: **Yield sign in front.** |
U
unacao 已提交
143

V
vlin17 已提交
144 145
#### Point of View
Main view that reflects the point of view chosen from **Layer Menu**:
U
unacao 已提交
146

V
vlin17 已提交
147 148 149 150 151 152
| Visual Element                           | Point of View                            |
| ---------------------------------------- | ---------------------------------------- |
| ![](images/dreamview_usage_table/default_view.png) | **Default**             |
| ![](images/dreamview_usage_table/near_view.png) | **Near**                |
| ![](images/dreamview_usage_table/overhead_view.png) | **Overhead**            |
| ![](images/dreamview_usage_table/map_view.png) | **Map** <ul><li> To zoom in/out: mouse scroll or pinch with two fingers. </li><li> To move around:right-click and drag or swipe with three fingers.</li></ul> |
U
unacao 已提交
153