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

Method _get_obs

mbd/envs/pushT.py:48–49  ·  view source on GitHub ↗
(self, pipeline_state: pipeline.State)

Source from the content-addressed store, hash-verified

46 )
47
48 def _get_obs(self, pipeline_state: pipeline.State) -> jnp.ndarray:
49 return jnp.concat([pipeline_state.q, pipeline_state.qd], axis=-1)
50
51 def _get_reward(self, pipeline_state: pipeline.State) -> jnp.ndarray:
52 r_goal = pipeline_state.q[5:7]

Callers 2

resetMethod · 0.95
stepMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected