-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStateMachine.puml
43 lines (33 loc) · 1 KB
/
StateMachine.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@startuml DcsStateMachine
Title DroidControlShip ConvoyLeader State Machine
hide empty description
state StatelessSetup
state ErrorState
state StartupState
state IdleState
state DrivingState
[*] --> StatelessSetup: Power up
StatelessSetup -right-> StartupState : [Basic services initialized]
StatelessSetup --> ErrorState: [Basic services init failed]
StartupState --> IdleState : [Initial data loaded and exchanged]
StartupState --> ErrorState : [Error in initialization]
IdleState --> DrivingState : [Release command received]
IdleState --> ErrorState : [Lost connection to RU]
DrivingState --> IdleState : [Stop command received]
DrivingState --> ErrorState : [Error while driving]
note left of StatelessSetup
Initialization of:
- Logger
- HAL
- Network
- MQTT
- SMP
- Longitudinal Controller
end note
note right of StartupState
Establish connections:
- Network
- MQTT
- SMP
end note
@enduml