(self, physics)
return obs
Returns the observation, possibly adding reward factors.
Returns the observation, possibly adding reward factors.
Returns the observation possibly adding reward factors .
def get_observation(self, physics):
    """Returns the observation, possibly adding reward factors."""
    obs = self.get_observation_components(physics)
    if self._observe_reward_factors:
      obs['reward_factors'] = self.get_reward_factors(physics)
    return obs
def get_observation ( self , physics ) : obs = self . get_observation_components ( physics ) if self . _observe_reward_factors : obs [ 'reward_factors' ] = self . get_reward_factors ( physics ) return obs