def local_pose_to_global_pose(pose1, pose2):
    """
    Applies the transform from pose1 to pose2
    :param pose1: instance of ``util.Pose``
    :param pose2: instance of ``util.Pose``
    """
    return pose1.transform().apply_to_pose(pose2)
