This is the repository for for the labexercise in TTK4145-Real-time Programming. The goal of the lab is go control n elevators at m floors, but default value is 3 elevators and 4 floors. Functionality for errorhandling is included, including loss of motorpower, computer-crash, network-loss and packet-loss.