Industry is on the threshold of the fourth industrial revolution where smart factories area necessity to meet customer demands for increasing volumes of individualized products. Within the smart factory, cyber-physical production systems are becoming important to deal with changing production. Human-robot collaboration is an example of a cyber-physical system in which humans and robots share a workspace. By introducing robots and humans into the same working cell, the two can collaborate by allowing the robot to deal with heavy lifting, repetitive, and high accuracy tasks, while the human focuses on tasks that need intelligence, flexibility, and adaptability. There are few such collaborative applications in industry today. In the implementa...