def METHOD_NAME(args=None):
    rclpy.init(args=args)
    end_to_end_planner_node = EndToEndPlannerNode()
    rclpy.spin(end_to_end_planner_node)
    end_to_end_planner_node.destroy_node()
    rclpy.shutdown()