def get_xy(pose):
    """
        Function that extracts (x,y) positions from
        a list of 6D poses.

        Parameters
        ----------
            pose : nd.array
                List of 6D poses.

        Returns
        -------
            x_pose : list
                List of x positions.
            y_pose : list
                List of y positions.
    """
    x_pose = [v for v in pose[:, 3]]
    y_pose = [v for v in pose[:, 5]]

    return x_pose, y_pose