(self, physics)
return obs
Returns an observation to the agent.
Returns an observation to the agent.
Returns an observation to the agent .
def get_observation(self, physics):
    """Returns an observation to the agent."""
    obs = _common_observations(physics)
    obs['ball_state'] = physics.ball_state()
    obs['target_position'] = physics.target_position()
    return obs
def get_observation ( self , physics ) : obs = _common_observations ( physics ) obs [ 'ball_state' ] = physics . ball_state ( ) obs [ 'target_position' ] = physics . target_position ( ) return obs