docstr: Class that should return the directions to reach a certain goal
docstr_tok: ["Class","that","should","return","the","directions","to","reach","a","certain","goal"]
code: def _get_directions(self, current_point, end_point):
      """
      Class that should return the directions to reach a certain goal
      """
  
      directions = self.planner.get_next_command(
          (current_point.location.x, current_point.location.y, 0.22),
          (
              current_point.orientation.x,
              current_point.orientation.y,
              current_point.orientation.z,
          ),
          (end_point.location.x, end_point.location.y, 0.22),
          (
              end_point.orientation.x,
              end_point.orientation.y,
              end_point.orientation.z,
          ),
      )
      return directions
  
imports: import random
  import sys
  from os import path, environ
  from rl_coach.logger import screen
  from rl_coach.filters.action.partial_discrete_action_space_map import PartialDiscreteActionSpaceMap
  from rl_coach.filters.observation.observation_rgb_to_y_filter import ObservationRGBToYFilter
  from rl_coach.filters.observation.observation_to_uint8_filter import ObservationToUInt8Filter
  import os
  import signal
  import logging
  import subprocess
  import numpy
  from rl_coach.environments.environment import Environment, EnvironmentParameters, LevelSelection
  from rl_coach.spaces import BoxActionSpace, ImageObservationSpace, StateSpace, VectorObservationSpace
  from rl_coach.utils import get_open_port, force_list
  from enum import Enum
  from typing import List, Union
  from rl_coach.base_parameters import VisualizationParameters
  from rl_coach.filters.filter import InputFilter, NoOutputFilter
  from rl_coach.filters.observation.observation_rescale_to_size_filter import ObservationRescaleToSizeFilter
  from rl_coach.filters.observation.observation_stacking_filter import ObservationStackingFilter
label_desc: Use image node_id 3 for calling the CarlaEnvironment obj's underlying member method code with example usage: obj._get_directions(current_point, end_point) and returns: directions