Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/r/l/rlpy-HEAD/rlpy/Domains/FiniteTrackCartPole.py   rlpy(Download)
        self.continuous_dims = [
            StateIndex.THETA,
            StateIndex.THETA_DOT,
            StateIndex.X,
            StateIndex.X_DOT]
        s[1] = s_aug[StateIndex.X_DOT]
        s[3] = pi - s_aug[StateIndex.THETA]
        s[2] = - s_aug[StateIndex.THETA_DOT]
        a = s_aug[4]
        ds = self._ode(
        ds_aug[StateIndex.X] = ds[0]
        ds_aug[StateIndex.X_DOT] = ds[1]
        ds_aug[StateIndex.THETA_DOT] = ds[2]
        ds_aug[StateIndex.THETA] = ds[3]
        return ds_aug

src/r/l/rlpy-HEAD/rlpy/Domains/InfiniteTrackCartPole.py   rlpy(Download)
        self.statespace_limits = np.array(
            [self.ANGLE_LIMITS, self.ANGULAR_RATE_LIMITS])
        self.continuous_dims = [StateIndex.THETA, StateIndex.THETA_DOT]
        self.DimNames = ['Theta', 'Thetadot']