Skip to content

Commit

Permalink
Merge pull request #530 from schnuerle/ms-state-diagram
Browse files Browse the repository at this point in the history
New State Machine Diagram
  • Loading branch information
schnuerle authored Jun 26, 2020
2 parents d501f2a + 07bfc14 commit 8a9cedf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions MDS-state-machine-diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed agency/images/MDS_agency_event_state.png
Binary file not shown.
6 changes: 2 additions & 4 deletions general-information.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,9 @@ Note that to handle out-of-order events, the validity of the prior-state shall n
| `available`, `reserved`, `on_trip`, `non_operational`, `elsewhere` | `unknown` | `missing` | The vehicle is not at its last reported GPS location, or that location is wildly in error |
| `available`, `reserved`, `on_trip`, `non_operational`, `elsewhere` | `unknown` | `comms_lost` | The vehicle is unable to transmit its GPS location or other status information |

NOTES:
The *State Machine Diagram* shows how the `vehicle_state` and `event_type` relate to each other and how vehicles can transition between states. See [Google Slides](https://docs.google.com/presentation/d/1Ar2-ju8YlddSsTATvQw4YjsSa5108XtidtnJNk-UAfA/edit) for the source file.
![MDS State Machine Diagram](/MDS-state-machine-diagram.svg)

Should we try to handle "unlicensed movements"?

What's the best way to return from `unknown`?

[Top][toc]

Expand Down

0 comments on commit 8a9cedf

Please sign in to comment.