(self)
return INIT_ORIENTATION
Returns the init position of the robot.

    It can be either 1) INIT_ORIENTATION or 2) the previous rotation in yaw.
Returns the init position of the robot.
Returns the init position of the robot .
def _GetDefaultInitOrientation(self):
    """Returns the init position of the robot.

    It can be either 1) INIT_ORIENTATION or 2) the previous rotation in yaw.
    """
    # If we want continuous resetting and is not the first episode.
    if self._reset_at_current_position and self._observation_history:
      _, _, yaw = self.GetBaseRollPitchYaw()
      return self._pybullet_client.getQuaternionFromEuler([0.0, 0.0, yaw])
    return INIT_ORIENTATION
def _GetDefaultInitOrientation ( self ) : # If we want continuous resetting and is not the first episode. if self . _reset_at_current_position and self . _observation_history : _ , _ , yaw = self . GetBaseRollPitchYaw ( ) return self . _pybullet_client . getQuaternionFromEuler ( [ 0.0 , 0.0 , yaw ] ) return INIT_ORIENTATION