Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(operation_transition_manager): update readme #4888

Merged
merged 2 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion control/operation_mode_transition_manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,27 @@ There is also an `In Transition` state that occurs during each mode transitions.

## Design

<!-- ## Assumptions / Known limits -->
A rough design of the relationship between `operation_mode_transition_manager`` and the other nodes is shown below.

![transition_rough_structure](image/transition_rough_structure.drawio.svg)

A more detailed structure is below.

![transition_detailed_structure](image/transition_detailed_structure.drawio.svg)

Here we see that `operation_mode_transition_manager` has multiple state transitions as follows

- **AUTOWARE ENABLED <---> DISABLED**
- **ENABLED**: the vehicle is controlled by Autoware.
- **DISABLED**: the vehicle is out of Autoware control, expecting the e.g. manual driving.
- **AUTOWARE ENABLED <---> AUTO/LOCAL/REMOTE/NONE**
- **AUTO**: the vehicle is controlled by Autoware, with the autonomous control command calculated by the planning/control component.
- **LOCAL**: the vehicle is controlled by Autoware, with the locally connected operator, e.g. joystick controller.
- **REMOTE**: the vehicle is controlled by Autoware, with the remotely connected operator.
- **NONE**: the vehicle is not controlled by any operator.
- **IN TRANSITION <---> COMPLETED**
- **IN TRANSITION**: the mode listed above is in the transition process, expecting the former operator to have a responsibility to confirm the transition is completed.
- **COMPLETED**: the mode transition is completed.

## Inputs / Outputs / API

Expand Down
Loading