Robot arm control using structured light door