Domain randomization for transferring deep neural networks from simulation to the real world