Project and excercise work for TTK4145 Real-time Programming at NTNU Trondheim, spring semester 2014.