import math


def get_distance_node_pose(node, pose):
    """
    get_distance_node_pose

    Returns the straight line distance between a pose and a node.
    """
    return math.hypot(
        (pose[0] - node.pose.position.x),
        (pose[1] - node.pose.position.y))