MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / get_observation

Method get_observation

dm_control/suite/dog.py:310–315  ·  view source on GitHub ↗

Returns the observation, possibly adding reward factors.

(self, physics)

Source from the content-addressed store, hash-verified

308 return obs
309
310 def get_observation(self, physics):
311 """Returns the observation, possibly adding reward factors."""
312 obs = self.get_observation_components(physics)
313 if self._observe_reward_factors:
314 obs['reward_factors'] = self.get_reward_factors(physics)
315 return obs
316
317 def get_reward_factors(self, physics):
318 """Returns the factorized reward."""

Callers

nothing calls this directly

Calls 2

get_reward_factorsMethod · 0.95

Tested by

no test coverage detected