A computationally efficient safety assessment for collaborative robotics applications