a robot in a 3d environment