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

Method get_observation

dm_control/suite/quadruped.py:401–406  ·  view source on GitHub ↗

Returns an observation to the agent.

(self, physics)

Source from the content-addressed store, hash-verified

399 _find_non_contacting_height(physics, orientation)
400
401 def get_observation(self, physics):
402 """Returns an observation to the agent."""
403 obs = _common_observations(physics)
404 obs['origin'] = physics.origin()
405 obs['rangefinder'] = physics.rangefinder()
406 return obs
407
408 def get_reward(self, physics):
409 """Returns a reward to the agent."""

Callers

nothing calls this directly

Calls 3

_common_observationsFunction · 0.85
originMethod · 0.80
rangefinderMethod · 0.80

Tested by

no test coverage detected