ravens/tasks/defs_bags.py
def _sample_bag_orientation(self):
        """Sample the bag (and let it drop) to get interesting starting states."""
        orn = [self._base_orn[0] + np.random.normal(loc=0.0, scale=self._scale),
               self._base_orn[1] + np.random.normal(loc=0.0, scale=self._scale),
               self._base_orn[2] + np.random.normal(loc=0.0, scale=self._scale),]
        return p.getQuaternionFromEuler(orn)
Sample the bag (and let it drop) to get interesting starting states.
Sample the bag (and let it drop) to get interesting starting states.
Sample the bag ( and let it drop ) to get interesting starting states .
def _sample_bag_orientation(self):
        orn = [self._base_orn[0] + np.random.normal(loc=0.0, scale=self._scale),
               self._base_orn[1] + np.random.normal(loc=0.0, scale=self._scale),
               self._base_orn[2] + np.random.normal(loc=0.0, scale=self._scale),]
        return p.getQuaternionFromEuler(orn)
def _sample_bag_orientation ( self ) : orn = [ self . _base_orn [ 0 ] + np . random . normal ( loc = 0.0 , scale = self . _scale ) , self . _base_orn [ 1 ] + np . random . normal ( loc = 0.0 , scale = self . _scale ) , self . _base_orn [ 2 ] + np . random . normal ( loc = 0.0 , scale = self . _scale ) , ] return p . getQuaternionFromEuler ( orn )
Sample the bag (and let it drop) to get interesting starting states.
Sample the bag ( and let it drop ) to get interesting starting states .
"""Sample the bag (and let it drop) to get interesting starting states."""
self