Robot getLocation method