A car manufacturing company is planning to build a suggestion software Cory for the drivers and is planning to implement it in their vehicles. The software uses voice control to direct drivers towards safe driving. Considering whether the speed is above the posted limit (available in it's database), whether the vehicle is closer than a safe distance from a vehicle in front of it, whether the vehicle is veering into the wrong lane or too close to the vehicles next to it, Cory would tell the drivers to accelerate, decelerate, move a bit right/left with in the line. If the weather is sever and visibility lower than a safe measure, Cory may advise the drivers to stop!
Define business rules for the system. Define states and transitions. Draw an FSM depicting states and state transitions.