Risk assessment for crane operations in factory settings