(self)
Returns the init position of the robot.

    It can be either 1) origin (INIT_POSITION), 2) origin with a rack
    (INIT_RACK_POSITION), or 3) the previous position.
Returns the init position of the robot.
Returns the init position of the robot .
def _GetDefaultInitPosition(self):
    """Returns the init position of the robot.

    It can be either 1) origin (INIT_POSITION), 2) origin with a rack
    (INIT_RACK_POSITION), or 3) the previous position.
    """
    # If we want continuous resetting and is not the first episode.
    if self._reset_at_current_position and self._observation_history:
      x, y, _ = self.GetBasePosition()
      _, _, z = INIT_POSITION
      return [x, y, z]

    if self._on_rack:
      return INIT_RACK_POSITION
    else:
      return INIT_POSITION
def _GetDefaultInitPosition ( self ) : # If we want continuous resetting and is not the first episode. if self . _reset_at_current_position and self . _observation_history : x , y , _ = self . GetBasePosition ( ) _ , _ , z = INIT_POSITION return [ x , y , z ] if self . _on_rack : return INIT_RACK_POSITION else : return INIT_POSITION