Cooperating Robots for Flexible Manufacturing