## Search found 2 matches

- Fri Jul 29, 2022 4:44 pm
- Forum: PyBullet Support and Feedback
- Topic: InvertedPendulumBulletEnv-v0 observation dimension meaning?
- Replies:
**1** - Views:
**134**

### Re: InvertedPendulumBulletEnv-v0 observation dimension meaning?

The answer is here: https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/gym/pybullet_envs/robot_pendula.py#L48. np.array([x, vx, np.cos(self.theta), np.sin(self.theta), theta_dot]) It's the same four-dimensional space, except that rather than cart position, cart velocity, pole ang...

- Fri Jul 29, 2022 1:54 am
- Forum: PyBullet Support and Feedback
- Topic: InvertedPendulumBulletEnv-v0 observation dimension meaning?
- Replies:
**1** - Views:
**134**

### InvertedPendulumBulletEnv-v0 observation dimension meaning?

I noticed that the inverted pendulum Gym environment (https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/gym/pybullet_envs/gym_pendulum_envs.py) is 5-dimensional, which is different from the usual 4-dimensional observation vector: [cart position, cart velocity, pendulum angle, pe...