Observe cartpole body position and velocities.
(self, pipeline_state: base.State)
| 52 | return 1 |
| 53 | |
| 54 | def _get_obs(self, pipeline_state: base.State) -> jax.Array: |
| 55 | """Observe cartpole body position and velocities.""" |
| 56 | return jp.concatenate([pipeline_state.q, pipeline_state.qd]) |