Safran: a robot to optimize flows in the workshop