MCPcopy Create free account
hub / github.com/LeCAR-Lab/model-based-diffusion / _get_obs

Method _get_obs

mbd/envs/humanoidtrack.py:84–85  ·  view source on GitHub ↗
(self, pipeline_state: base.State)

Source from the content-addressed store, hash-verified

82 )
83
84 def _get_obs(self, pipeline_state: base.State) -> jax.Array:
85 return jnp.concatenate([pipeline_state.q, pipeline_state.qd], axis=-1)
86
87 def _get_reward(self, state) -> jax.Array:
88 # x_feet = state.pipeline_state.x.pos[self.track_body_idx[-2:], 0]

Callers 2

resetMethod · 0.95
stepMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected