(self, condition)
Set the world to a given model, and run kinematics.
        Args:
            condition: Which condition to initialize.
Set the world to a given model, and run kinematics.
        Args:
            condition: Which condition to initialize.
Set the world to a given model and run kinematics . Args : condition : Which condition to initialize .
def _init(self, condition):
        """
        Set the world to a given model, and run kinematics.
        Args:
            condition: Which condition to initialize.
        """

        # Initialize world/run kinematics
        self._world[condition].set_model(self._model[condition])
        x0 = self._hyperparams['x0'][condition]
        idx = len(x0) // 2
        data = {'qpos': x0[:idx], 'qvel': x0[idx:]}
        self._world[condition].set_data(data)
        self._world[condition].kinematics()
def _init ( self , condition ) : # Initialize world/run kinematics self . _world [ condition ] . set_model ( self . _model [ condition ] ) x0 = self . _hyperparams [ 'x0' ] [ condition ] idx = len ( x0 ) // 2 data = { 'qpos' : x0 [ : idx ] , 'qvel' : x0 [ idx : ] } self . _world [ condition ] . set_data ( data ) self . _world [ condition ] . kinematics ( )