-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change the adapi page structure (#406)
* move user stories Signed-off-by: Takagi, Isamu <[email protected]> * move features Signed-off-by: Takagi, Isamu <[email protected]> * add list page Signed-off-by: Takagi, Isamu <[email protected]> * update message Signed-off-by: Takagi, Isamu <[email protected]> * update menu Signed-off-by: Takagi, Isamu <[email protected]> --------- Signed-off-by: Takagi, Isamu <[email protected]>
- Loading branch information
1 parent
44a5a4c
commit 9d69aef
Showing
44 changed files
with
260 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
nav: | ||
- index.md | ||
- use-cases | ||
- features | ||
- list | ||
- types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 3 additions & 1 deletion
4
...rfaces/ad-api/list/api/interface/index.md → ...e-interfaces/ad-api/features/interface.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Interface API | ||
# Interface | ||
|
||
## Related API | ||
|
||
- {{ link_ad_api('/api/interface/version') }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
69 changes: 67 additions & 2 deletions
69
docs/design/autoware-interfaces/ad-api/features/planning-factors.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,70 @@ | ||
# Planning factors | ||
|
||
!!! warning | ||
## Related API | ||
|
||
Under Construction | ||
- {{ link_ad_api('/api/planning/velocity_factors') }} | ||
- {{ link_ad_api('/api/planning/steering_factors') }} | ||
|
||
## Description | ||
|
||
This API manages the planned behavior of the vehicle. | ||
Applications can notify the vehicle behavior to the people around and visualize it for operator and passengers. | ||
|
||
## Velocity factors | ||
|
||
The velocity factors is an array of information on the behavior that the vehicle stops (or slows down). | ||
Each factor has a type shown below, pose in the base link, distance, status, and detailed data depending on its type. | ||
As the vehicle approaches the stop position, this factor appears with a status of APPROACHING. | ||
And when the vehicle reaches that position and stops, the status will be STOPPED. | ||
The pose indicates the stop position or the base link if the stop position cannot be calculated. | ||
|
||
![velocity-factors](./planning-factors/velocity-factors.drawio.svg) | ||
|
||
| Factor Type | Description | | ||
| --------------------------- | ------------------------------------------------------------------------ | | ||
| SURROUNDING_OBSTACLE | There are obstacles immediately around the vehicle. | | ||
| ROUTE_OBSTACLE | There are obstacles along the route ahead. | | ||
| INTERSECTION | There are obstacles in other lanes in the path. | | ||
| CROSSWALK | There are obstacles on the crosswalk. | | ||
| REAR_CHECK | There are obstacles behind that would be in a human driver's blind spot. | | ||
| USER_DEFINED_DETECTION_AREA | There are obstacles in the predefined detection area. | | ||
| NO_STOPPING_AREA | There is not enough space beyond the no stopping area. | | ||
| STOP_SIGN | A stop by a stop sign. | | ||
| TRAFFIC_SIGNAL | A stop by a traffic signal. | | ||
| V2I_GATE_CONTROL_ENTER | A stop by a V2I gate entering. | | ||
| V2I_GATE_CONTROL_LEAVE | A stop by a V2I gate leaving. | | ||
| MERGE | A stop before merging lanes. | | ||
| SIDEWALK | A stop before crossing the sidewalk. | | ||
| LANE_CHANGE | A lane change. | | ||
| AVOIDANCE | A path change to avoid an obstacle in the current lane. | | ||
| EMERGENCY_OPERATION | A stop by emergency instruction from the operator. | | ||
|
||
## Steering factors | ||
|
||
The steering factors is an array of information on the maneuver that requires use of turn indicators, such as turning left or right. | ||
Each factor has a type shown below, pose in the base link, distance, status, and detailed data depending on its type. | ||
As the vehicle approaches the position to start steering, this factor appears with a status of APPROACHING. | ||
And when the vehicle reaches that position, the status will be TURNING. | ||
The pose indicates the start position when APPROACHING and the end position when TURNING. | ||
|
||
![steering-factors-1](./planning-factors/steering-factors-1.drawio.svg) | ||
|
||
In cases such as lane change and avoidance, the vehicle will start steering at any position in the range depending on the situation. | ||
As the vehicle approaches the start position of the range, this factor appears with a status of APPROACHING. | ||
And when the vehicle reaches that position, the status will be TRYING. | ||
Then, when it is possible, the vehicle will start steering and the status will be TURNING. | ||
The pose indicates the start of the range (A) when APPROACHING and the end of the range (B) when TRYING. | ||
The position to end steering (C to D) for TURNING depends on the position to start steering. | ||
|
||
![steering-factors-2](./planning-factors/steering-factors-2.drawio.svg) | ||
|
||
| Factor Type | Description | | ||
| --------------------- | ------------------------------------------------------------------------ | | ||
| INTERSECTION | A turning left or right at an intersection. | | ||
| LANE_CHANGE | A lane change. | | ||
| AVOIDANCE_PATH_CHANGE | A path change to avoid an obstacle in the current lane. | | ||
| AVOIDANCE_PATH_RETURN | A path change to return to the original lane after avoiding an obstacle. | | ||
| STATION | T.B.D. (bus stop) | | ||
| PULL_OUT | T.B.D. | | ||
| PULL_OVER | T.B.D. | | ||
| EMERGENCY_OPERATION | A path change by emergency instruction from the operator. | |
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,39 @@ | ||
# AD API | ||
# Autoware AD API | ||
|
||
!!! warning | ||
## Overview | ||
|
||
Under Construction | ||
Autoware AD API is the interface for operating the vehicle from outside the autonomous driving system. | ||
[See here for the overall interface design of Autoware.](../index.md) | ||
|
||
See [here](../index.md) for an overview. | ||
## User stories | ||
|
||
The user stories are service scenarios that AD API assumes. AD API is designed based on these scenarios. | ||
Each scenario is realized by a combination of use cases described later. | ||
If there are scenarios that cannot be covered, please discuss adding a user story. | ||
|
||
- [Bus service](./stories/bus-service.md) | ||
- [Taxi service](./stories/taxi-service.md) | ||
|
||
## Use cases | ||
|
||
Use cases are partial scenarios derived from the user story and generically designed. | ||
Service providers can combine these use cases to define user stories and check if AD API can be applied to their own scenarios. | ||
|
||
- [Launch and terminate](./use-cases/launch-terminate.md) | ||
- [Initialize the pose](./use-cases/initialize-pose.md) | ||
- [Change the operation mode](./use-cases/change-operation-mode.md) | ||
- [Drive to the designated position](./use-cases/drive-designated-position.md) | ||
- [Get on and get off](./use-cases/get-on-off.md) | ||
- [Vehicle monitoring](./use-cases/vehicle-monitoring.md) | ||
- [Request to cooperate](./use-cases/request-to-cooperate.md) | ||
|
||
## Features | ||
|
||
- [Interface](./features/interface.md) | ||
- [Operation Mode](./features/operation_mode.md) | ||
- [Routing](./features/routing.md) | ||
- [Localization](./features/localization.md) | ||
- [Motion](./features/motion.md) | ||
- [Planning](./features/planning-factors.md) | ||
- [Fail-safe](./features/fail-safe.md) | ||
- [Vehicle status](./features/vehicle-status.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.