Ama allocation manual automatic work between machine, manipulator and man