def get_rgb_array_cpu(self):
        """
        Moving the texture to RAM and turn it into numpy array
        Returns:

        """
        origin_img = self.depth_tex
        img = np.frombuffer(origin_img.getRamImage().getData(), dtype=np.float32)
        img = img.reshape((origin_img.getYSize(), origin_img.getXSize(), -1))
        img = img[..., :self.num_channels]
        assert img.shape[-1] == 1
        img = img[::-1]
        return img

        Moving the texture to RAM and turn it into numpy array
        Returns:

        
metadrive/component/sensors/depth_camera.py