(self, action)
return self._modify_observation(original_observation), reward, done, _
Steps the wrapped environment.

    Args:
      action: Numpy array. The input action from an NN agent.

    Returns:
      The tuple containing the modified observation, the reward, the epsiode end
      indicator.

    Raises:
      ValueError if input action is None.
Steps the wrapped environment.
Steps the wrapped environment .
def step(self, action):
    """Steps the wrapped environment.

    Args:
      action: Numpy array. The input action from an NN agent.

    Returns:
      The tuple containing the modified observation, the reward, the epsiode end
      indicator.

    Raises:
      ValueError if input action is None.

    """

    if action is None:
      raise ValueError('Action cannot be None')

    new_action = self._trajectory_generator.get_action(
        self._gym_env.robot.GetTimeSinceReset(), action)

    original_observation, reward, done, _ = self._gym_env.step(new_action)

    return self._modify_observation(original_observation), reward, done, _
def step ( self , action ) : if action is None : raise ValueError ( 'Action cannot be None' ) new_action = self . _trajectory_generator . get_action ( self . _gym_env . robot . GetTimeSinceReset ( ) , action ) original_observation , reward , done , _ = self . _gym_env . step ( new_action ) return self . _modify_observation ( original_observation ) , reward , done , _