提交 fa916f39 编写于 作者: V vlin17 提交者: Jiangtao Hu

Updating dreamview doc

上级 929af737
# Dreamview Usage Table
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.
2. provides human-machine interface for user to view hardware status, turn on/off of modules, and start the autonomous driving car.
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)
#### Setup Mode
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)
Sidebar panel controls what is displayed in the tool view.
### Tasks
![](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.
### Module Controller
![](images/dreamview_usage_table/module_controller.png)
A panel to view the hardware status and turn on/off modules.
### Layer Menu
![](images/dreamview_usage_table/layer_menu.png)
A toggle menu for visual elements displays.
### Route Editing
![](images/dreamview_usage_table/route_editing.png)
### Data Recorder
![](images/dreamview_usage_table/data_recorder.png)
A panel to report issues to drive event topic ("/apollo/drive_event") to rosbag.
### Default Routing
![](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.
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 current position of the autonomous car; otherwise, the start position is the first point from the desired route.
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:
| Visual Element | Depiction Explanation |
| ---------------------------------------- | ---------------------------------------- |
......@@ -9,9 +81,15 @@
| ![](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> |
| ![](images/dreamview_usage_table/0clip_image007.png) | The time delay between two messages for each topic. |
| ![](images/dreamview_usage_table/0clip_image009.png) | The monitor messages from the Apollo platform. |
| ![](images/dreamview_usage_table/0clip_image008.png) | A toggle menu for the types of visual elements displays. |
| ![](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 |
| ---------------------------------------- | ---------------------------------------- |
| ![](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. |
......@@ -20,13 +98,33 @@
| ![](images/dreamview_usage_table/0clip_image020.png) | The white arrow shows the directional heading of the obstacle. |
| ![](images/dreamview_usage_table/0clip_image022.png) | The yellow text indicates: <ul><li>The tracking ID of the obstacle.</li><li>The distance from the autonomous car.</li></ul> |
| ![](images/dreamview_usage_table/0clip_image024.png) | The lines show the predicted movement of the obstacle with the same color as the obstacle. |
| ![](images/dreamview_usage_table/0clip_image026.png) | The red thick line shows the routing suggestion. |
#### Planning Decision
##### Decision Fence
Decision fences reflect the decisions made by planing module to ego-vehicle (main) and obstacles (objects). Each type of decision are presented in different color and icon as shown below:
| Visual Element | Depiction Explanation |
| ---------------------------------------- | ---------------------------------------- |
| ![](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. |
| ![](images/dreamview_usage_table/0clip_image038.png) | Nudge object decision -- the orange zone indicates the area to avoid. |
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. |
##### 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 |
| ---------------------------------------- | ---------------------------------------- |
| ![](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.** |
......@@ -38,16 +136,14 @@
| ![](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.** |
| ![](images/dreamview_usage_table/0clip_image062.png) | The green thick curvy band indicates the planned trajectory. |
| ![](images/dreamview_usage_table/0clip_image064.png) | Point of view: **Default.** |
| ![](images/dreamview_usage_table/0clip_image066.png) | Point of view: **Near.** |
| ![](images/dreamview_usage_table/0clip_image068.png) | Point of view: **Overhead.** |
| ![](images/dreamview_usage_table/0clip_image070.png) | Point of view: Map. **Zoom in/out:** mouse scroll or pinch with two fingers. **Move around:** right-click and drag or swipe with three fingers. |
| ![](images/dreamview_usage_table/0clip_image072.png) | Send a routing request with a default route. |
| ![](images/dreamview_usage_table/0clip_image074.png) | Switch to a route-editing page where routing points can be added visually on the map. |
#### Point of View
Main view that reflects the point of view chosen from **Layer Menu**:
| 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> |
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册