def calculate_timeout(start_point, end_point, planner):
    """
    Calucaltes the time limit between start_point and end_point considering a fixed speed of 5 km/hr.
    
    Args:
        start_point: initial position
        end_point: target_position
        planner: to get the shortest part between start_point and end_point

    Returns:
        time limit considering a fixed speed of 5 km/hr
    """
    path_distance = planner.get_shortest_path_distance(
        [start_point.location.x, start_point.location.y, 0.22], [
            start_point.orientation.x, start_point.orientation.y, 0.22], [
            end_point.location.x, end_point.location.y, end_point.location.z], [
            end_point.orientation.x, end_point.orientation.y, end_point.orientation.z])

    return ((path_distance / 1000.0) / 5.0) * 3600.0 + 10.0