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

Method _get_obs

mbd/envs/humanoidrun.py:43–44  ·  view source on GitHub ↗
(self, pipeline_state: base.State, action: jax.Array)

Source from the content-addressed store, hash-verified

41 return state.replace(pipeline_state=pipeline_state, obs=obs, reward=reward)
42
43 def _get_obs(self, pipeline_state: base.State, action: jax.Array) -> jax.Array:
44 return jnp.concatenate([pipeline_state.q, pipeline_state.qd], axis=-1)
45
46 def _get_reward(self, pipeline_state: base.State) -> jax.Array:
47 return (

Callers 2

resetMethod · 0.95
stepMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected