Robot arm control using structured light by