def vision_aruco_detected_get_pose(detected_marker):
    """
    Get the pose of a previously detected ArUco marker. Use list operations
    to get specific entries, otherwise returns value of first entry.

    Parameters:

    detected_marker (List[DectedMarker] or DetectedMarker): The detected markers

    Return (Pose): The pose of the detected marker
    """

    if isinstance(detected_marker,list):
        detected_marker = detected_marker[0]
    return detected_marker.marker_pose.pose