Difference between revisions of "VehicleState"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<graphviz> | <graphviz> | ||
digraph VehicleState { | digraph VehicleState { | ||
+ | rankdir=LR | ||
subgraph cluster_door { | subgraph cluster_door { | ||
label="Door"; | label="Door"; | ||
Line 18: | Line 19: | ||
DCConnected -> DCPower [dir="both"] | DCConnected -> DCPower [dir="both"] | ||
DCConnected -> DCDisconnected [dir="both"] | DCConnected -> DCDisconnected [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_OBC { | ||
+ | label="Incar Computer" | ||
+ | InCarOff -> InCarOn -> InCarSoftwareStarted [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_OBD { | ||
+ | label="OBD" | ||
+ | OBDOff -> OBDOn [dir="both"] | ||
+ | OBDOn -> OBDSleep [dir="both"] | ||
+ | OBDSleep -> OBDOff | ||
+ | } | ||
+ | subgraph cluster_Bluetooth { | ||
+ | label="Bluetooth" | ||
+ | BLDisconnected -> BLPaired -> BLConnected [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_Wifi { | ||
+ | label="Wifi" | ||
+ | WifiOutOfRange -> WifiInRange -> WifiConnected [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_USB { | ||
+ | label="USB" | ||
+ | UBSConnected -> USBDisconnected [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_CAN { | ||
+ | label="CAN" | ||
+ | NoData -> Data -> Monitoring [dir="both"] | ||
+ | } | ||
+ | subgraph cluster_car { | ||
+ | parking -> charging [dir="both"] | ||
+ | parking -> moving [dir="both"] | ||
+ | charging -> full | ||
+ | full -> parking [ label="immediate" ] | ||
} | } | ||
} | } | ||
</graphviz> | </graphviz> |