MCPcopy Create free account
hub / github.com/Physical-Intelligence/openpi / get_observation

Method get_observation

examples/aloha_sim/env.py:34–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32
33 @override
34 def get_observation(self) -> dict:
35 if self._last_obs is None:
36 raise RuntimeError("Observation is not set. Call reset() first.")
37
38 return self._last_obs # type: ignore
39
40 @override
41 def apply_action(self, action: dict) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected