docstr: An environment dependent function that sends an action to the simulator.
  
  :param action_idx: the action to perform on the environment
  :return: None
code: def _take_action(self, action_idx: ActionType) -> None:
      """
      An environment dependent function that sends an action to the simulator.
  
      :param action_idx: the action to perform on the environment
      :return: None
      """
      raise NotImplementedError("")
  
imports: import operator
  import time
  from collections import OrderedDict
  from typing import Union, List, Tuple, Dict
  import numpy
  from rl_coach import logger
  from rl_coach.base_parameters import Parameters
  from rl_coach.base_parameters import VisualizationParameters
  from rl_coach.core_types import GoalType, ActionType, EnvResponse, RunPhase
  from rl_coach.environments.environment_interface import EnvironmentInterface
  from rl_coach.logger import screen
  from rl_coach.renderer import Renderer
  from rl_coach.spaces import ActionSpace, ObservationSpace, DiscreteActionSpace, RewardSpace, StateSpace
  from rl_coach.utils import squeeze_list, force_list
label_desc: Use image node_id 22 for calling the Environment obj's underlying member method code with example usage: obj._take_action(action_idx) without return types