Life-Cycle in DriveOS#

VM Life Cycle#

When DriveOS boots, each of the VMs boot independently and has its own functional state (Init, DeInit Operational). LCM-Client running in a VM coordinates with applications running the VM and also with LCM-Server to perform the needed transition for a given VM. Below is representative state machine for a VM.

VM Life Cycle

System Life Cycle#

LCM-Server coordinates the system lifecycle. It interacts with MCU, gets various event information, and decides what the next step for the system needs to be. LCM-Server then broadcasts the event to transition to a particular mode to each of the VM and each of the VM performs the same as mentioned in the VM Life Cycle section. Below is a representative state machine for a System.

VM Life Cycle